I have been reading several tutorials lately that focus on animation of meta sprites.
While I have learned a great deal, I haven't yet found any information on timing and delays.
Having a strong background in C, I am confident with my abilities to discern memory efficient
coding. The hard part for me is understanding the platform specifics.
I would love some examples or recommendations on what you use for timers.
Say I wanted an object to go left for 2 seconds, halt, and then return to it's original location and start over.
I know how to change animation frames based on the speed of the moving object.
I know how to change the meta-sprite's horizontal coordinates to match evenly.
But what I can't understand is how to delay the speed.
Most of my experience is MUD programming (text based chat games)
In the MUDs I worked on, there was a "click" mechanism. An object could have a timer based on how
many clicks elapsed before performing a task or disposing itself or whatever you wanted.
Is there some PPU register that you load a timer into?
Thanks
While I have learned a great deal, I haven't yet found any information on timing and delays.
Having a strong background in C, I am confident with my abilities to discern memory efficient
coding. The hard part for me is understanding the platform specifics.
I would love some examples or recommendations on what you use for timers.
Say I wanted an object to go left for 2 seconds, halt, and then return to it's original location and start over.
I know how to change animation frames based on the speed of the moving object.
I know how to change the meta-sprite's horizontal coordinates to match evenly.
But what I can't understand is how to delay the speed.
Most of my experience is MUD programming (text based chat games)
In the MUDs I worked on, there was a "click" mechanism. An object could have a timer based on how
many clicks elapsed before performing a task or disposing itself or whatever you wanted.
Is there some PPU register that you load a timer into?
Thanks