Hey all,
I understand the basics of how to use the sync command, and how to enable it,l but it isn't always intuitive. I had thought that all I would need to do is place the sync command (preferably at the end of the my main loop, and only once) that all would be good. Though this has not been the case for my programs and even the tuturials that come with DBPRO. I wind up through trial and error with sync commands throughout my program. Sometimes double stacked eg.. in adition to the sync in the main loop.
[some code, blah blah ...}
sync
sync
[more code..]
Is there actually logic to properly place the sync command? Shouldn't be only one call to sync at the end of the game loop? Why do I sometimes need to make two consecutive calls (one right after the first) to sync for things to work right? I hope someone can clear up my confusion. I hate just throwing random calls to sync without much logic to it.
Thanks