code for studying purposes?

Monkey Forums/Monkey Beginners/code for studying purposes?

dubbsta(Posted 2016) [#1]
would anyone like to share some game code for studying purposes
big or small?


therevills(Posted 2016) [#2]
Have you checked the examples folder (called bananas)? There's quite a few in there.


Soap(Posted 2016) [#3]
+1 to the bananas folder.

Retype all of the source. Change things and experiment as you go. It will help you learn. Start with \bananas\mak\bouncyaliens and go from there. Once you've retyped a bunch of examples, attempt to make a simple game from scratch such as a pong like. Create a thread when you start, ask any questions you have as you go in that thread, and document your learning. Doing this will help you a great deal.

Also read the docs. More than once. Read every page of the docs. Make it a ritual that you do every day because if you are aware of what tools are available you will be able to solve the problems you encounter more easily. Code every day even if you only retype code - the important part is that you keep it in your head. Don't go a day without practicing and your skill building will be much faster.

For complete games, look up some of the monkey game jams of the past. Many devs here and published the source to their projects.

Also study general game engine theory. Look at tutorials of making games in other languages. Pretty much all of them can be adapted to monkey once you have learned mojo well, and you can pick up some useful concepts from the vast universe of gamedev content on the net.


dubbsta(Posted 2016) [#4]
thanks guys will check it out. very helpful info soap. not sure where to look for game jams,
are they in this site or google it? i will try google


Qube(Posted 2016) [#5]
There is also this excellent tutorial series - http://www.monkey-x.com/Community/posts.php?topic=9290&page=1