Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Player loses health on collision with enemy.
// On start of layout
System -> Set variable health to 100
// On player collision with enemy
Player.OnCollision(Enemy) -> {
Subtract 10 from health;
If health <= 0 -> System.RestartLayout();
TextHealth.SetText("Health: " + health);
}Construct is a powerful, no-code/low-code HTML5 game engine designed for 2D game development, allowing creators to build games visually without programming, with cross-platform export support for web, desktop, and mobile.
Origin & Creator
Construct was originally created by Scirra Ltd, led by Ashley Gullen and a small development team, focused on making game development accessible without coding.
Industrial Note
Construct is popular in educational contexts, casual 2D game development, game jams, rapid prototyping, and indie web/mobile game publishing.