User Tools

Site Tools


create_custom_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_custom_game_tutorial [2017/10/26 12:18] justincreate_custom_game_tutorial [2017/10/26 12:20] justin
Line 80: Line 80:
 {{:wiki:cactus_not_passable.png?nolink|}} {{:wiki:cactus_not_passable.png?nolink|}}
  
-Add a bunch of cactuses and a few rocks around the sandy parts of the [[map]], then use the "Save" button ({{:wiki:disk.png?nolink|}}) on the [[Map Editor]] toolbar to save the [[map]]. To achieve the appearance of the desert below, I also went into the [[Map Properties]] panel and made a few [[lighting]] adjustments. I chose a dark grey for the [[ambient light]] color and a bright yellow for the [[directional light]] color. Shadows were also enabled under the [[directional light]] section. Don't be afraid to experiment! The lighting can make a lot of difference in the visual style of your [[map]].+Add a bunch of cactuses and a few rocks around the sandy parts of the [[map]], then use the "Save" button ({{:wiki:disk.png?nolink|}}) on the [[Map Editor]] toolbar to save the [[map]]. To achieve the appearance of the desert below, I also went into the [[Map Properties]] panel and made a few lighting adjustments. I chose a dark grey for the [[ambient light]] color and a bright yellow for the [[directional light]] color. Shadows were also enabled under the [[directional light]] section. Don't be afraid to experiment! The lighting can make a lot of difference in the visual style of your [[map]].
  
 {{:wiki:desert_map.png?nolink|}} {{:wiki:desert_map.png?nolink|}}
Line 122: Line 122:
 {{:wiki:new_script.png?nolink|}} {{:wiki:new_script.png?nolink|}}
  
-The [[Script Editor]] will open your new [[script]], which initially will only contain a "Start" node. In this guide, we will simply add a [[Load Map]] node to the [[script]]. This function will, as its name implies, load a [[map]]. This is all we will need to get the game started. To do this, double-click on [[Load Map]] in the list to add a node for that function into your [[script]]. It will then appear in the visual script graph. Ensure that the "desert" [[map]] is selected in the "Map Name" dropdown. With this function, you can also specify the starting [[tile coordinate]] that the player will start on as well as the direction the player will be initially facing. You can leave these values as is (unless you happened to have placed a cactus on [[coordinate]] (0,0,0), in which case you'll want to specify a different [[tile]] [[coordinate]]).+The [[Script Editor]] will open your new [[script]], which initially will only contain a "Start" node. In this guide, we will simply add a [[Load Map]] node to the [[script]]. This function will, as its name implies, load a [[map]]. This is all we will need to get the game started. To do this, double-click on [[Load Map]] in the list to add a node for that function into your [[script]]. It will then appear in the visual script graph. Ensure that the "desert" [[map]] is selected in the "Map Name" dropdown. With this function, you can also specify the starting [[tile]] [[coordinate]] that the player will start on as well as the direction the player will be initially facing. You can leave these values as is (unless you happened to have placed a cactus on [[coordinate]] (0,0,0), in which case you'll want to specify a different [[tile]] [[coordinate]]).
  
 {{:wiki:startup_script_load_map_01.png?nolink|}} {{:wiki:startup_script_load_map_01.png?nolink|}}
create_custom_game_tutorial.txt · Last modified: 2017/10/26 14:14 by justin