@ techdojo mentioned component game design in this thread
http://www.giderosmobile.com/forum/discussion/comment/3846#Comment_3846And it has pretty well sucked me in and I've eventually landed on LauGravity.
http://www.lua.inf.puc-rio.br/~francisco/luagravity/Has anyone used it?
Comments
Anyway, I liked some of the ideas and they can sort of be implemented with coroutines anyway, so I rewrote the HelloBall example using coroutines. It's about 5 lines shorter and much more interesting to read in my opinion. The if's are gone and replaced with whiles. I could have left in the local x and y variables but decided it was safer to do it this way (if there were other ways of setting the ball position).
The original HelloBall is here:
http://www.giderosmobile.com/documentation/getting_started.html
Likes: ndoss
My apps: http://www.yummyyellow.com
This example helps greatly! Thanks!
My apps: http://www.yummyyellow.com