User Tools

Site Tools


create_example_game_tutorial

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
create_example_game_tutorial [2017/10/24 08:53] justincreate_example_game_tutorial [2017/10/24 08:54] justin
Line 20: Line 20:
 When your game first starts, it executes the startup script that is specified in the game's configuration. In this case, that is a script aptly named "startup". Close the Game Configuration dialog then expand the Scripts folder in the Game Explorer and double-click on the script named "startup". This will open the script in the Script Editor. As you can see, the example startup script loads the map named "example", gives the player a skeleton key, and displays a welcome message. When your game first starts, it executes the startup script that is specified in the game's configuration. In this case, that is a script aptly named "startup". Close the Game Configuration dialog then expand the Scripts folder in the Game Explorer and double-click on the script named "startup". This will open the script in the Script Editor. As you can see, the example startup script loads the map named "example", gives the player a skeleton key, and displays a welcome message.
  
-{{:wiki:example_script.png?nolink|}}+{{:wiki:example_startup_script.png?nolink|}}
  
 Next, expand the Maps folder in the Game Explorer (if it's not already) and double-click on the map named "example". As you saw in the startup script, this is the map that will be loaded when the game starts. In this guide I won't be discussing how to edit maps, but feel free to experiment with the example map by adding a few tiles before proceeding to the next step. Next, expand the Maps folder in the Game Explorer (if it's not already) and double-click on the map named "example". As you saw in the startup script, this is the map that will be loaded when the game starts. In this guide I won't be discussing how to edit maps, but feel free to experiment with the example map by adding a few tiles before proceeding to the next step.
create_example_game_tutorial.txt · Last modified: 2017/10/24 10:59 by justin