Hey!
I have been writing a tutorial series on making a small Arkanoid-type game using LÖVE framework. I think, it has reached a point where I can announce it to a wider audience.
The LÖVE framework uses Lua language and it is geared towards 2d games. It is cross-platform, running on major desktop and mobile operating systems, and on the web (with the help of external tools, e.g. mari0, Mr. Rescue ). Last, but not least, it is free and open-source. LÖVE is simple and intuitive; glancing over this short article is enough to understand it's basic principles of operation.
The tutorial is intended for people, who have basic programming experience, but have trouble structuring their code for projects bigger than "Hello World". An Arkanoid, while simple, contains many elements found in more elaborate games. My aim is to introduce a typical code structure, and to provide a starting point for further modifications.
Here is a couple of screenshots:
Chapter 1 describes how to build a prototype for an Arkanoid-type game in the most straightforward way, without relying too much on any external libraries or advanced language features.
(follow the links for the screenshots).
Chapter 2 expands the prototype, introducing gamestates, basic graphics and sound. At the end of this chapter, the general frame of the game is complete. What is left is to fill it with the details.
- Splitting Code into Several Files
- Loading Levels from Files
- Straightforward Gamestates
- Advanced Gamestates
- Basic Tiles
- Different Brick Types
- Basic Sound
- Game Over
Chapter 3 proceeds to add functionality to achieve a full-featured game. While the code for this chapter works and available in the repository, some minor corrections are required. Overall, the chapter currently in a draft stage.
- Better Ball Rebounds
- Ball Launch From Platform (Two Objects Moving Together)
- Mouse Controls
- Spawning Bonuses (draft)
- Bonus Effects (draft)
- Glue Bonus (draft)
- Add New Ball Bonus (draft)
- Life and Next Level Bonuses (draft)
- Random Bonuses (draft)
- Menu Buttons (draft)
- Wall Tiles (draft)
- Side Panel (draft)
- Score (draft)
- Fonts (draft)
- More Sounds (draft)
- Final Screen (draft)
- Packaging and Distribution (draft)
My current plans are to finish the third chapter and then to update the graphics and the sound.
Apart from the announcement, I'm also interested in critique: what is not clear, what can be done better, any mistakes (I'm sure, there are a lot of them), etc. Any feedback is appreciated.