Hi, I've been developing a videogame over the last 13 months, (it's a seasonal project, not full time). And i'm having a hard time getting everything straight every time i retake it. I think my programming practices couldnt be called "great", because I even discovered functions that had no use, deprecated variables, and stuff like that. I think a good article or book could help me a lot on knowing a tip or two about the best practices for something as big as a videogame.
So, what do you recommend?
Comments
The beauty of Lua is that it can be used as plain as C or with object oriented as C# or Java. However there are advantages and disadvantages of both methods. Depending on the size and type of project, using a OOP paradigm would be helpful. To give an example, you can have a bullet class, this just creates a new bullet on screen and then moves it, the collision, etc is all set inside of this class which will then raise an event on collision.
Have a look for Atilims sample found only on the forums (not included with Gideros Studio) that is a sample of a shoot-em-up game, it is a very good example to dissect and have a look. It is well written and managed, but if you are a beginner you could face a few issues understanding the code.
Likes: Ozkar619
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
http://www.nightspade.com
http://www.giderosmobile.com/forum/discussion/2318
That was the type of game we played with Atilim like crazy in high school, I think this is why he coded this example
Likes: Ozkar619
Thanks @gorkem i'm gonna give it a look
Likes: Ozkar619
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive