Skip to content
Download

1. Project and sprites

  1. In the hub, New project.

  2. Language: Lua or C++. Template: Empty. Name: Primeiro Jogo. Resolution: 320×180.

  3. Create. The editor opens with the room Main.

Select the sprites folder, in Resources, and drag nave.png, tiro.png and inimigo.png from the zip into the panel. The sprite name is the file name, without the extension.

Resources panel.

A double-click on a sprite opens the sprite editor.

Sprite Slice Origin Collision
nave 2 columns, 1 row Center Manual: only the body, without the flame
inimigo 2 columns, 1 row Center Auto
tiro 1 column, 1 row Center Auto
Sprite editor of the ship.

Leave fps empty: in this game the animation speed is set in code. Ctrl+S saves.

Next part: 2. The ship