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
gdevelop5:tutorials:roadrider [2019/07/05 13:17]
piyushpalawat99 [Create a new scene]
gdevelop5:tutorials:roadrider [2021/11/22 23:06] (current)
Line 32: Line 32:
 ## Create a new object ## Create a new object
  
-Choose the **+** button beside ''Click to add a new object'' from the ''Objects'' panel on the right side.+Choose the ''Click to add an object'' option from the ''Objects'' panel on the right side.
  
 {{ :gdevelop5:tutorials:platform-game:screen_shot_2017-09-24_at_23.32.40.png?nolink |}} {{ :gdevelop5:tutorials:platform-game:screen_shot_2017-09-24_at_23.32.40.png?nolink |}}
Line 38: Line 38:
 Choose ''Sprite'' from the ''Add a new object'' pop-up. This will be followed by the appearance of a dialog box. Choose ''Sprite'' from the ''Add a new object'' pop-up. This will be followed by the appearance of a dialog box.
  
-{{ :gdevelop5:tutorials:object-types.png?nolink |}}+{{ :gdevelop5:tutorials:annotation_2019-07-05_171958.png?nolink |}}
  
 The object is called NewObject by default - you can see the name at the top of the dialog. It's a good idea to give a descriptive name to each object so that you can understand what they are when dealing with them in events. In our case, use the field to set the name to //Car//. The object is called NewObject by default - you can see the name at the top of the dialog. It's a good idea to give a descriptive name to each object so that you can understand what they are when dealing with them in events. In our case, use the field to set the name to //Car//.
Line 83: Line 83:
 To do this, you can either double-click on the //Car// object from the object side panel or click on the three-dot-menu beside the object and click on edit object. To do this, you can either double-click on the //Car// object from the object side panel or click on the three-dot-menu beside the object and click on edit object.
  
-{{ :gdevelop5:tutorials:screenshot_from_2019-05-20_14-26-26.png?nolink |}}+{{ :gdevelop5:tutorials:annotation_2019-07-06_124410.png?nolink |}}
  
 Click on the ''BEHAVIORS'' tab at the top of the panel and click on the **+** button beside ''Click to add a behavior to the object''. Click on the ''BEHAVIORS'' tab at the top of the panel and click on the **+** button beside ''Click to add a behavior to the object''.
Line 127: Line 127:
 You can choose the values of your choice but if you want results similar to that of the tutorial, you are expected to have the same values. You can choose the values of your choice but if you want results similar to that of the tutorial, you are expected to have the same values.
  
-Similarly, to create an instance of //Highway// you can drag and drop the object to the scene and alter its X and Y-coordinates.+Similarly, to create an instance of //Highway// you can drag and drop the object to the scene and set its X and Y-coordinates.
  
 {{ :gdevelop5:tutorials:screenshot_from_2019-05-22_01-55-46.png?nolink |}} {{ :gdevelop5:tutorials:screenshot_from_2019-05-22_01-55-46.png?nolink |}}