Memuat
Memuat
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Construct 3 Class Kiko's Adventure #7: Health, Falling into a Canyon, and Game Over”.
Other ways we can help with Construct.
Learn with a mentor
Scheduled Game Development courses with live guidance and a certificate.

Course/Training Construct 2 — Creating a Top-Down Shooter Game in HTML5
★ 5.0 (10)

Course/Training Thesis Mentoring Construct — Creating Games with Construct 2 & 3
★ 5.0 (7)

Course/Training Unreal Engine — Procedural Animation for Humans in Unreal Engine 5
★ 5.0 (60)
Have it built for you
No time to learn Construct? Our team can do the project for you.

Development Service: Construct — Construct 3 Game Development: Build 2D Games Without Coding
★ 5.0 (5)

Development Service: Unity — Building a Battle Royale RPG Game Using Unity and Blender Ultimate Class
★ 5.0 (26)

Unity Development Services — Become a Unity Game Developer Learning Paths
★ 5.0 (12)
Get notified about new Construct classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
In this episode, Kiko has three lives. Getting hurt or falling into the ravine reduces one life, and when the lives run out, the game over screen appears. Reaching the flag at the end of the level takes the player to the victory screen. Hello, welcome to episode 7. Our game can now be played, but it's not yet possible to win or lose. Let's add a health system, a dangerous cliff, finish flag, and two new layouts. Add a global variable called nyawa with an initial value of three.
Then double-click the set text action in the every tick event and change its expression So that the hood displays the score and health at the same time.
In the hurt event, add the subtract from action, health variable, value one.
Fall into the ravine event, system convert to values, Kiko's health is more than six hundred. His action reduces health by one, Then Kiko returns to the starting position, X96 and Y380.
Create two new layouts in the new project: game over and win. Place large text in each location, game over, and you win. For the first screen of each layout, set the background color to dark.
Return to the game layout. Insert the flag sprite from banner.png at the right end of the level. Event: Kiko collides with the flag. The 'go to layout' system action succeeded. Event, system converts variable health less than or equal to zero, its action goes to game over layout.
Save then preview. Falling into the ravine or touching honey reduces health. And after falling, Kiko appears again at the starting point. When health is depleted, the game switches to the game over layout. Total events now 12. Want to create your own game without coding?
Cerdas Inovasi Digital opens a course on game creation with Construct 3 and Unreal Engine.
Game education and promotional game development services for schools and businesses.
As well as selling this tutorial project file complete with assets. Want to master all of this series?
From a blank project to exporting the game to HTML5? All 10 episodes, complete with step-by-step PDF guides,
are available for premium tutorial subscribers. Subscribe starting at Rp69.000 per month, save 28% with the 12-month package,
or pay once Rp999.000 for lifetime access. Want just one class? Buy a single class with lifetime access. Subscribe now at the premium page cerdasinovasidigital.com
Contact us via WhatsApp, or visit cerdasinovasidigital.com
Thank you for watching, see you in the next episode. Thank you for watching, see you in the next episode. Thank you for watching, see you in the next episode.
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →