Using the Image Manipulator for level loading
This example shows how you can use images and the Image Manipulator to load a level in an Arkanoid clone. The example covers the following:
- Using the Image Manipulator
- Private Variables
- Ball Behaviour
- 8 Directional Behaviour
- “For Each” Event
The example is suitable for beginners and more experienced users. It is also only half a game. There is no lives system, scoring system or a way to load a new level. For practice you can add all this to the game and feel free to send me the results. More information, screenshots and the download link can be found in the full post.
If you want to add your own levels simply create a 32×32 bitmap image in the Levels folder and name it “1”. When creating your level/image to make areas transparent use the colour 239,228,176 when this colour is present no block will be created by the game. And you’ll end up with like the screenshots below.