Where to keep the logic code?

edited October 2013 in General discussions
I am not sure where shall i put the game logic code. as the demo show it seems the logic code such as change the anim direction can be place at the clock update. how about the run callback of the engine? What's the different? Which situation are this special for?

Comments

  • jimjim
    edited October 2013
    If you go Scroll way, you can write your logic code, inside Update, OnCollide and OnSeperate function.
Sign In or Register to comment.