1. Scene->Insert Object,
After creating a new project which creates a new empty project, you will see the following template, shown below
Insert Soldier Player Object
Open the scene condition, right-click on -> window stage,
Dialog box will appear, then, select -> insert new object.
Click on -> Sprite -> insert object,
Open an object type window, Select -> Soldier Player. After Click Ok,
On the right-hand side, we can see the Object editor we want to select ->
add Soldier object in the object editor. You will see the layout dialog box
as below:
Now we can right-click on the wall object, you see the below wall object animation conditions.
Insert the Wall Object
Open scene condition, Right-click on -> window stage,
Dialog box will appear and then, select -> insert new object.
Click on -> Sprite -> insert object,
Open object type window, Select -> Wall Object. After Click -> Ok
Drag an image from the image bank to the area below to add it to the animation. Now we can right-click on the wall object, you see the below wall object animation
conditions.
Insert the Obstacle Object
Now again in the same layout sheet, we need to insert the Sprite object. Double click -> layout sheet and the Obstacles object dialog box will appear. Select the object.
List Of Object Editors
- Player Soldier
- Wall
- Obstacles
- Floor
Ok, done.
Adding all Objects
Here is how the object editor will look when this space marine object below is complete. Given the below preview, you will want some more objects, Now we can right-click on the object, which appears in the dialog box. You can change the object view,
Right Click on the Window Stage -> Insert new object -> Player Soldier,
Complete Scene Conditions
Now, we can see the Space Marine, all Objects, and the Scene Condition is Completed. Click on New Scene -> Events, and create one on the Event Sheet Conditions
Complete Event Sheets
This is how the event sheet will look after the event is complete.
Soldier Movement
- Rotate Soldier towards MouseX('',0)
- Rotate Soldier towards MouseY('',0.
Move to Event Conditions with cursor to get more editor options or to edit events, double click to edit an item.
The output can be displayed.
Finally, press F5 to run the layout and the Browser will display the following output:
Conclusion
I hope you understood
how to build a Space Marine Warrior game in GDevelop Software. We will see advanced GDevelop game development concepts in the upcoming articles.
Thanks for reading :)