Understanding Hardon Collider
Posted: Tue Dec 04, 2012 3:55 am
So I have a game that is stable, but I'm still trying to work out how to use Hardon Collider. I am aware that the player jumps at the beginning when you first move it, but after that initial glitch the x movement works fine.
What I am trying to work out is how to use the callbacks. How do I set them (and what should I change) and what other callbacks should I be aware of? I'm a little unsure of the syntax I'm supposed to be using with the library.
By the way, to enable gravity just go into the main.lua and uncomment the player.gravity lines. I know I should be commenting a bit more and turning some things into functions to make it easier to read, but hey, nobodies perfect.
Any other suggestions would also be appreciated.
What I am trying to work out is how to use the callbacks. How do I set them (and what should I change) and what other callbacks should I be aware of? I'm a little unsure of the syntax I'm supposed to be using with the library.
By the way, to enable gravity just go into the main.lua and uncomment the player.gravity lines. I know I should be commenting a bit more and turning some things into functions to make it easier to read, but hey, nobodies perfect.
Any other suggestions would also be appreciated.