Designing the game
The editor is divided into two desktops, one for creating scenes, and one for creating the logic. The first time you log in, the editor will take you to the scene desktop. You should see something very similar to the following screen:
Over the scene desktop, you’ll see the Learn window, with a series of links to other tutorials. For the time being, close that window by clicking on the X in the upper right corner (you can always access this content from the Tutorials section of the website or directly from the editor’s Help menu). After closing this help window, you’ll see the scene desktop. A desktop is a set of configurable panels that offer certain features. As you can see in the following image, the scene desktop is initially made up of the panels for Asset Manager, Scene View, Images, Sprites, Properties, and Labels.
Next, we’re going to design the game’s scenery. The first thing you’re going to do is upload the images we’re going to use to your repository. To do this, click on the button in the bottom right corner of the Resource Manager panel. You’ll see a new window pop up from which you can manage your graphics and sound resources. All these resources belong to the user and are available for all your projects.
There are several ways of uploading images. To keep everything organized, we’re going to create a new folder by clicking on the new folder button . This will create a new folder with the default name NewFolder1. To rename the folder, double click on its name and type in the new name you’d like to give it; in our case, we’ll choose My first game.
Now we’re going to upload our images to the folder we just created by clicking on the button. This will open a new operating system window for us to choose the images. Depending on the operating system, browser, and language, there may be slight differences. However, the process is the same. You’ll have to go to the folder where you saved the images and select all of them. Remember that to select several images, you can click on the first, and the SHIFT + click on the last. Or you can individually choose them by using CTRL + click (or CMD + click on OSX). When you have selected all of them, click on the OK (or similar) button. You should see something like the following image:
This means that you have all your resources in your user profile available to be used in all your projects, but not yet in the game we’re creating. To import them to the project, you have to select all of them. Again, click on the first one, and then SHIFT + click on the last one.
And now click on the button to include them in the project. Depending on your connection speed, you’ll see as the images start appearing in the Images panel, although it’s most likely this will be instantaneous.
Now we have everything we need to start designing our scenery.29/02/2016 / No Comments
My first game
- My first game with WiMI5
- Signing up
- Before getting started
- Designing the game
- The background
- The ship
- The asteroids
- Collisions between shots and asteroids
- Collisions between the asteroids and the ship
- Collisions between the ship and the edge of the scene
- Game over
- And now what?