Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
gdevelop5:tutorials:tank-shooter [2019/05/29 23:57]
4ian
gdevelop5:tutorials:tank-shooter [2020/01/20 00:38]
convictedweirdo [Adding explosions] grammar
Line 1: Line 1:
 # Tank shooter - Beginner tutorial # Tank shooter - Beginner tutorial
  
-This tutorial will help you to get familiar with the way that GDevelop works.+This tutorial will help you to get familiar with the way GDevelop works.
 You will create a very simple game. In this game, the enemies will move toward the player. The player will be able to shoot the enemies. The enemies will explode when they are hit with the player'​s bullets. You will create a very simple game. In this game, the enemies will move toward the player. The player will be able to shoot the enemies. The enemies will explode when they are hit with the player'​s bullets.
 {{ :​gdevelop5:​tutorials:​beginner-tutorial-screenshot.png?​nolink |}} {{ :​gdevelop5:​tutorials:​beginner-tutorial-screenshot.png?​nolink |}}
Line 46: Line 46:
 ==== Create the player turret ==== ==== Create the player turret ====
  
-The player will be controlling a turret to shoot  the enemies.+The player will be controlling a turret to shoot the enemies.
 In the Scene "​Objects"​ editor choose "Add a new object"​. ​ In the Scene "​Objects"​ editor choose "Add a new object"​. ​
 {{ :​gdevelop5:​tutorials:​add_new_object.png?​nolink |}} {{ :​gdevelop5:​tutorials:​add_new_object.png?​nolink |}}
Line 61: Line 61:
 {{ :​gdevelop5:​objects:​animation-properties.png?​nolink |}} {{ :​gdevelop5:​objects:​animation-properties.png?​nolink |}}
  
-You need to add the turret image as an animation. ​ Click the big plus symbol {{:​gdevelop5:​tutorials:​plusaddobject.png?​24|}}. Browse to the project folder. Find the image aaguntopdown.png.+You need to add the turret image as an animation. ​ Click the big plus symbol {{:​gdevelop5:​tutorials:​plusaddobject.png?​|}}. Browse to the project folder. Find the image aaguntopdown.png.
 The image will be displayed in the window. The image will be displayed in the window.
 {{ :​gdevelop5:​tutorials:​turret-animation-window.png?​nolink |}} {{ :​gdevelop5:​tutorials:​turret-animation-window.png?​nolink |}}
Line 266: Line 266:
 ==== Adding explosions ==== ==== Adding explosions ====
  
-It time to destroy the tanks! First, when a bullet collides with a tank, we need an explosion at the position of the tank. +It'​s ​time to destroy the tanks! First, when a bullet collides with a tank, we need an explosion at the position of the tank. 
 Add a new sprite object, name it "​explosion",​ and add all the images to the animation beginning with Explosion_ Add a new sprite object, name it "​explosion",​ and add all the images to the animation beginning with Explosion_
 {{ :​gdevelop5:​tutorials:​select-all-explosion-images.png?​nolink |}} {{ :​gdevelop5:​tutorials:​select-all-explosion-images.png?​nolink |}}