Construct 2 is an HTML5-based 2D game editor, developed by Scirra Ltd. Now in this article, I will explain about how to create Ghost Shooter Rain Fall using the Construct 2 Platform. It is aimed primarily at non-programmers, allowing quick creation of games in a visual editor and a behavior-based logic system. It is designed especially for 2D game creators, specifically for 2D games.
Prerequisites
- 64 bit windows 7 or higher.
- 2GB RAM
- AMD graphics card with latest drivers
Multiplatform support
We can easily export it on Chrome Web Store, & Firefox Marketplace or use our Scirra Arcade to share your creations.
You will need,
- PC (or) a laptop with the ability to work on Constructor 2
- Constructor 2 game engine
- HTML 5 compatible Browser
Step 1
Click the File->New->New empty project.
Step 2
After creating a new project, which creates a new empty project, you will see that following template, shown below
Step 3
An empty layout will be displayed and now we need to change the size of the layout in layout properties and the layout size must be (1000,600 ) and a new event sheet must be added and named as, game event.
Insert Sprite object
For adding the sprite object, double click->in layout sheet and insert a new object in dialog box, now we can select the sprite object named as bullet. In the in the left hand side properties window, we need to change the following conditions' Values,
Again double click->in layout sheet and insert a new object in dialog box, now we can select the Gun Object,
Insert Ghost Enemy Object
For adding the Multiplayer object, double click->in layout sheet and a new object dialog box will appear so that we can select the Multiplayer object and we can name it as Ghost Player.
Now sholud be adding the Ghost enemy,
Now we are able to see the Gamepad object and then the Ghost player object diagram given in the event sheet,
Insert LaserGlow object
Double click -> layout sheet and a dialog box will appear, now we need to add LaserGlow and Mouse_Image object to the Game event , so that it will lead to the creation of that object in an empty event sheet.
Step 5
Now again double click->event sheet and a window box will appear and select Key object, after inserting on Key object and click->next.
- General Control
- Start of layout and every tick updates,
- Player Gun, Mouse
- and then, Done.
Step 6
Now we are in event sheet ,click->add action and add action dialog box will appear and select ->player (object).
- Player Control
- Shooting the Player Laser
- Use WASD as Alternate Controls in Addition to arrow Key,
Layer-1
- Keyboard
- Mouse
- player (shooting)
- After, Done.
Step 7
event sheet:->Add event->Mouse Control,
- Monster
- If a monster leaves the layout, it points them roughtly in the direction of the object,
- Keep the monster Opacity updated based on its health,
- Hurt monstor while they are being shot.
- If a monster is killed , destroy it and create 2 more monsters off-screen to replace it.
- Done.
Add action->Raindrops->Done.
This is how the event sheet will look, after the event is complete.
Output
After, press F5 to run layout and Browser will display the following output.
Conclusion
Finally, we created a Ghost Shooter Game Build in Rain Fall Using Construct 2. We will see how to make new 3D Games in the Gdevelop Engine and advanced game development concepts in upcoming articles. I hope this article will be useful. Thank you.