Page 2 of 2
Re: Advice for game-making
Posted: Thu Apr 09, 2015 2:23 pm
by Bindie
Awesome. Developers diary, why not.
Re: Advice for game-making
Posted: Sun Apr 19, 2015 12:40 pm
by Bindie
Hey! What's the most optimum way of drawing characters?
Say I have this:
Code: Select all
npc = {alert = false, img = {still, attack}}
As fast as the npc turns alert (within some random vector distance) he changes appearance.
This question of course just applies to unanimates till images but, in the love.draw function, should there just be a current_image_state that is drawn and then I program what that image should be in the love.update function? Basically, this is my question.