I’ve been browsing these forums since I bought Codea a few month ago. Since I did not really had knowledge in programming before, these forums and many of the examples presented here helped me a lot.
One of the projects I really like to get finished is COWBOY VS ZOMBIES! (working title). But see for yourself:
http://youtu.be/rC7TAY0y_Zo
So, if anyone is interested in how I did one or another thing in there, let me know and I’ll try to explain or post some code, maybe as a standalone function to be efficient.
Because i really want to keep it neat and tidy I try to keep some simple guidelines on which some of the more experienced coders could give me advice:
-
make (nearly) all graphics meshes. Sheets for animations and if an object has several “states” (like the barricades). This one pretty much works.
-
organization in classes and tabs. Not sure how far one should go dividing stuff in classes or just make one class and apply certain properties ( example: with different kinds of zombies, make each kind a class or just one Zombie class with properties depending on what kind of zombie it is?)
Is it possible to have several classes defined in one tab? Then I would make a base class for zombies and put all the zombie-type classes in one tab. Just dont want to get flooded with tabs in codea…
Any suggestions for the game itself are also very welcome!