29 Dec 2017

Getting into making games.

Making mini or basic games isn't that hard and yet it is, it's really hard to explain it. Learning coding as in commands isn't that hard, besides you can always use some game making tools with graphic interfaces, but learning how code logic works, it's another thing.

Let's take for example sample arkanoid game.



It's so easy, the balls just keep bouncing of bricks and destroys them. Simple? Right? No...



Are the bricks randomly placed or on fixed positions. Do you have any lives? How many? Can you gain more? How? Points? Bricks destroyed? Code it so the event of gaining life can happen only once and don't make an infinite loop. Is there a number of maximum lives? Yes? What happen if player gains a life when it's already on max? What happens if all the bricks are destroyed? What if player lose all lives? How does ball move? Same speed? Accelerating? Decelerating? Does it start moving in one direction? How does it react with bricks? Bounce of them? What angle? Destroys them? Remove bricks "lives"? Play sounds? How does it reacts with walls? With player pallet? How does player move? Keyboard? Mouse? Will the game work on mobile phones? Tablets? Does the game have any bonus dropping from the sky? What they can do? Make player bigger/smaller? Add balls? Add lives? When, where and how do they spawn? Etc. etc. etc. and that's just single level.


<3 4 gamedev

Simple, right? Well, yes and no. :)



Not sure why I wrote it here, but there it goes. Also, for everyone interested in making games, start with something simple, like example of arkanoid above and try to finish it at all cost, it will help you understanding what it takes to make a game, how long does it take, music, sound, graphics, code, difficulties in making each part. And get ready for critique and possibility of starting everting over and over and over again. GLHF


PS. You can check my game here:
 

Space Sokoban