This tutorial begins with the creation of a new project in Glue. We’ll make a new DesktopGL project.
Creating a new project
First we’ll make a project in Glue.
- Select File -> New Project or click the New Project button in the Quick Actions tab if you do not have a project open already
- Enter the name RockBlaster (no spaces) as your project name
- Click Create Project!
Your project should now be open in Glue:
The play button in Glue will launch our (empty) game.
Run Glue Wizard
Next we’ll run the Glue Wizard which will jumpstart the development process by adding common Screens, Entities, and other files to our project.
To run the Glue Wizard, click the Run Glue Wizard button in the Quick Actions tab.
We will change a few of the default options. Follow along with these images and make your options match.
Our game will not use Tiled Map files. CloudCollision is only used for platformer games.
Our player will not use default control types like Top-down or Platformer. We will be implementing our own custom controls, so select the None (controls will be added later) option. Our player will rotate, so Circle collision is preferred to Rectangle collision. Also, our player is not a platformer character, so uncheck Add Player vs. cloud collision.
Change Number of levels to create to 1. Uncheck the other options since our game does not have any Tiled Map files.
Leave UI options unchanged. We will use Gum to display game HUD.
Uncheck all Camera options. Our game will not have a Camera which moves.
Click Done. Wait a moment and your project will be all set up.
If we run our game now we will see our player which is a white circle.
That was easy! You now have a project that we will use in the following tutorials.
Next we will set up the skeleton (the general structure) of our game.