A common problem in construct 2 is that you want your HUD (head up display) or UI (user interface) or simply some text to stay on the screen when you move your player in the level. This tutorial shows you how. (You may also think of this making an object scroll with the player)
Finishing off the game, I’ve added sounds to accompany bullet shooting as well as explosions.
In this tutorial we covered: – Setting up scores: Displaying the score, changing score when bullet collides with enemy – Make the game more difficult as the score increases – Keep track of a single high score.
In this tutorial we covered: – Stop the enemy from killing the player as soon as it’s created (in case it gets created on top of the player) – Stop the enemy from generating outside the layout – If the enemy goes outside the layout, destroy it. Play the game live at http://magicmonktutorials.com/space Download source …
In this tutorial we covered: – Stop automatic enemy regeneration when player is dead. – Show restart message and press a key to restart the game.
In this tutorial we covered: – Making new enemies every few seconds – Making each enemy run in different directions – Making player die when enemy touches player
In this tutorial we covered: Making an enemy destroy when the bullet collides with the enemy Limiting the number of bullets on the screen (in effect make the time between each shot longer)
In this tutorial we covered: Making a textbox disappear after an amount of time Instance variables; Making an object move around with bullet behaviour; Making an object move in a random direction; Making an object bounce off another object; Destroy an object on collision with another object.
In this tutorial we covered: Inserting new layers; Inserting a background; Changing layer names; Locking layers; Referring to layer names in event sheet; Inserting a textbox.
In this tutorial we covered: Resizing layout Resizing window Shooting bullets