113 reputation
5
bio website sydneygrowers.com
location Australia
age 94
visits member for 2 years, 1 month
seen May 19 at 0:32

I have just kicked off a new gardening blog at http://www.sydneygrowers.com please check it out.


Dec
6
awarded  Popular Question
Nov
23
asked Multiple objects listening for the same key press
Nov
21
comment How to slow down a sprite that updates every frame?
Great, I've got this to work. One thing to note, (forgive the poor terminology), the only delta I can work on is using events.timer.count which uses ticks. This means that the delta between each ALLEGRO_EVENT_TIMER event is usually 1. Because in the example above you had 1.0f / animationSpeed this threw me. I am now just using a single variable animationSpeed set at 5 (for now) which triggers the step every 5 ticks. I assume this is right now. Cheers!
Nov
21
awarded  Scholar
Nov
21
accepted How to slow down a sprite that updates every frame?
Nov
21
comment How to slow down a sprite that updates every frame?
Thanks for taking the time to show the slow'n'right method. I've had a good look and think I understand. Does that mean when active is false I should set the timeSinceLastFrameSwap back to zero. Or is this not necessary?
Nov
21
awarded  Student
Nov
21
awarded  Supporter
Nov
21
comment How to slow down a sprite that updates every frame?
Thanks, I just tried this and it works well. Thanks!
Nov
21
asked How to slow down a sprite that updates every frame?
Nov
21
awarded  Autobiographer