Hello.
On a fundamentakl level, how is event processing generally implemented.
With this I mean, on a very basic level of course sprite goes to top, needs to stay there for 5 seconds, goes to right for 3 seconds, etc.
I have made a very fine system with counters. Which work ok.
If I think about it logically, I can use the system timer, or I can make counters.I am reluctant to use the system timer because I want to control and manipulate if necessary (what an ugly word arhgg).
Is there another way to make it efficient if i don't want to use a system timer (wich is a counter in itself, hehe).
I am now pondering making a main system timer in the game, and do it''relative' , i mean every time a sprite is created an interval is put on the heap and when the interval is gone the sprite needs to be gone. Simply put. This avoids having numerous counters.
regards.
Bookmarks