Baloon Blast: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
   a font sprite representing our score and lives.
   a font sprite representing our score and lives.


Our balloon sprite when loaded should have the following setup as shown in the graphic. Likewise for our font sprite
[[File:Sprite_balloon.png|150px|thumb|left|Balloon Sprite animation]]
[[File:Sprite_balloon.png|200px|thumb|left|Balloon Sprite animation]]
[[File:Sprite_numbers.png|150px|thumb|right|Sprite representing our font]]
[[File:Sprite_numbers.png|200px|thumb|left|Sprite representing our font]]
Our balloon sprite when loaded should have the following setup as shown in the graphic. Likewise for our font sprite. Theses assets can be found [https://www.4shared.com/s/ftLG_F42qda here]. To begin using the archive, you need to extract them somewhere on your computer. Most preferably the desktop. In the archive you will find a folder containing the two sprites. Included also is the source code, an executable file and a small video of the game playing.
If you  want, you can open the source code in Enigma to follow along as the tutorial is outlined.

Revision as of 13:47, 10 July 2019

Game screen

This is a variation to the article on creating your very first game using Enigma. In this version, you must stop the balloons going upwards offscreen. Popping them with your mouse increases your score by ten 10 points. You lose a life for each balloon that flies past you offscreen.

To create this game, you will need some balloon sprites, a sprite to display the numbers 0 to 9, some objects and a room. Such resources can be created in a graphic editing program of your own choice, or downloaded from the Internet. A great place to get free assets is from Kenny website.

The graphic to the left shows the final result of the game. The amount of time to complete this game shouldn't take no longer than an hour. Please note that some knowledge in using Enigma's interface is essential as I will be using various terms throughout. Knowledge in GML is also required. There will be no Drag and Drop actions used, except the 'Create code' in the Control tab.

Gathering our Sprites

There are 2 types of sprites used.

 a balloon animation sprite
 a font sprite representing our score and lives.
Balloon Sprite animation
Sprite representing our font

Our balloon sprite when loaded should have the following setup as shown in the graphic. Likewise for our font sprite. Theses assets can be found here. To begin using the archive, you need to extract them somewhere on your computer. Most preferably the desktop. In the archive you will find a folder containing the two sprites. Included also is the source code, an executable file and a small video of the game playing. If you want, you can open the source code in Enigma to follow along as the tutorial is outlined.