Sword sprites were used for the flippers, a random X shaped laser sprite was used for the rotating obstacle, apples for scoring objects, etc. I’ve simply found random game sprites that can work in a pinball context. You don’t have to use the same objects I have used. The GDevelop asset store contains a bunch of objects and sprites you can use in your project for free. We’ll be adding 9 objects:Īll of these objects were added from the asset store (mostly because I cannot draw). Now we need to add the game objects to the scene. Create a global variable called ‘Score’ which will be used to keep track of the game score. Click on the (…) menu next to ‘New scene’ and view the scene properties, and set them appropriately for our Pinball game. Set a game and package name in the game properties. Click on the menu icon in the top left of the screen to view game and scene options. The following screenshots will show and explain how to set up the single scene used to create the pinball game. You’ll be presented with a project with an empty scene called ‘New scene’ (simple a blank, black screen). Setting the Scene This is the final goal – a pinball game set up in GDevelop.Ĭreate a new GDevelop Project and call it Pinball. Your game is split into scenes (each one a separate visible play area) and you can drag and drop objects (game elements like players, enemies, and obsticles) onto the scene to place them.Įach object place has a set of properties which can be edited, and game logic can be added as events which respond to button presses or object collisions, or other conditions you may set. Following the instructions on the GDevelop download page to launch the game in Linux. Let’s get started by downloading GDevelop from:ĭownload GDevelop for your Operating system – in our case, Linux. The game can be played in any web browser, so you can follow along even if you aren’t going to deploy it to a Raspberry Pi or build the arcade ‘machine’ itself.Īs I mentioned, there is very little coding required to use GDevelop to make a game, so most of this article will be screenshot-orientated to show you how things are set up. Raspberry Pi Pinball: Building the Game in GDevelopįirst I’ll show you how I put the game together in GDevelop. As you can see in the above video, we are building a pinball game with a moving ball, moving flippers, and some on-screen elements that cause the displayed score to increase.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |