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 revision Previous revision
create_example_game_tutorial [2017/10/24 09:10]
justin
create_example_game_tutorial [2017/10/24 10:59] (current)
justin
Line 5: Line 5:
  
 =====Setting Up the Game Project===== =====Setting Up the Game Project=====
-When RPG in a Box is first launched, the Game Manager dialog is displayed. The Game Manager allows you to either open an existing game project or create a new one. In this guide we are creating a new game project, so click on the Create a New Game button at the top.+When RPG in a Box is first launched, the [[Game Manager]] dialog is displayed. The [[Game Manager]] allows you to either open an existing game project or create a new one. In this guide we are creating a new game project, so click on the "Create a New Game" ​button at the top.
  
 {{:​wiki:​create_new_game.png?​nolink|}} {{:​wiki:​create_new_game.png?​nolink|}}
  
-Once you indicate that you want to create a new game, the Create a New Game dialog will display. This dialog is where you will specify some initial settings for your project. Click the Browse button and navigate to a location where you'd like to store your project'​s files. It is recommended to create a new folder for your project. Here you will also specify a name for your game and whether you want to import the example content. Ensure that the Import example content checkbox is checked since we want to use the example content for this project. Click OK to proceed once everything is set.+Once you indicate that you want to create a new game, the "Create a New Game" ​dialog will display. This dialog is where you will specify some initial settings for your project. Click the "Browse" ​button and navigate to a location where you'd like to store your project'​s files. It is recommended to create a new folder for your project. Here you will also specify a name for your game and whether you want to import the example content. Ensure that the "Import example content checkbox" ​is checked since we want to use the example content for this project. Click OK to proceed once everything is set.
  
 {{:​wiki:​create_new_game_settings.png?​nolink|}} {{:​wiki:​create_new_game_settings.png?​nolink|}}
  
-The application will then copy the example content into your project folder and the Game Explorer will refresh to show your game's resources. We will not be creating any new content in this guide, but to help you become familiar with some of the resources we'll view a few examples. Directly underneath your game's name in the Game Explorer, you should see an item named Game Configuration. This is where general settings for your game are stored. Double-click on this item to open the Game Configuration dialog and see some of the settings that can be modified.+The application will then copy the example content into your project folder and the [[Game Explorer]] will refresh to show your game's resources. We will not be creating any new content in this guide, but to help you become familiar with some of the resources we'll view a few examples. Directly underneath your game's name in the [[Game Explorer]], you should see an item named [[Game Configuration]]. This is where general settings for your game are stored. Double-click on this item to open the [[Game Configuration]] dialog and see some of the settings that can be modified.
  
 {{:​wiki:​game_config.png?​nolink|}} {{:​wiki:​game_config.png?​nolink|}}
  
 =====Browsing the Example Resources===== =====Browsing the Example Resources=====
-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_startup_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 [[map|maps]], but feel free to experiment with the example ​[[map]] by adding a few [[tile|tiles]] before proceeding to the next step.
  
 {{:​wiki:​example_map.png?​nolink|}} {{:​wiki:​example_map.png?​nolink|}}
  
 =====Exporting and Playing===== =====Exporting and Playing=====
-Now that we've viewed the game configuration,​ startup script, and example map, let's export the game to try it out. On the main toolbar at the top of the application,​ click on the Export Game button. Once the Export Game dialog opens, click the Browse button and create a new folder to use as the destination. Once the export destination path is set, select the appropriate target platform from the dropdown. In this case, you would want to select the platform you are currently running on. If you have previously exported your game to this location for same platform, you can check the Export data only checkbox to have the application only copy your resource package and skip the executable file. Once ready, click the OK button to proceed with the export.+Now that we've viewed the [[game configuration]][[startup script]], and example ​[[map]], let's export the game to try it out. On the main toolbar at the top of the application,​ click on the "Export Game" ​button. Once the "Export Game" ​dialog opens, click the "Browse" ​button and create a new folder to use as the destination. Once the export destination path is set, select the appropriate target platform from the dropdown. In this case, you would want to select the platform you are currently running on. If you have previously exported your game to this location for same platform, you can check the "Export data only" ​checkbox to have the application only copy your resource package and skip the executable file. Once ready, click the OK button to proceed with the export.
  
 {{:​wiki:​export_example_game.png?​nolink|}} {{:​wiki:​export_example_game.png?​nolink|}}
  
-Now that your game has been exported, use your system'​s file explorer to navigate to the destination folder that you selected in the Export Game dialog and double-click the "​game_launcher"​ executable file to launch the game.+Now that your game has been exported, use your system'​s file explorer to navigate to the destination folder that you selected in the "Export Game" ​dialog and double-click the "​game_launcher"​ executable file to launch the game.
  
 {{:​wiki:​play_example_game.png?​nolink|}} {{:​wiki:​play_example_game.png?​nolink|}}
create_example_game_tutorial.txt ยท Last modified: 2017/10/24 10:59 by justin