User Tools

Site Tools


item_container_tutorial

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
item_container_tutorial [2017/12/06 11:50] justinitem_container_tutorial [2017/12/06 13:51] (current) justin
Line 22: Line 22:
 {{:wiki:item_container_popup_menu.png?nolink|}} {{:wiki:item_container_popup_menu.png?nolink|}}
  
-In the Properties dialog, check the [[Item Container]] checkbox to indicate that you want to allow this [[object]] to contain [[item|items]]. Double-click any [[item|items]] that you wish to initially be included in the [[item container]] - this will add them to the box on the right labelled "Items in Container". Click the OK button once you are finished. It is not required to add any [[item|items]] initially, as you may just want the [[object]] to act as an [[item container]] but initially be empty at the start of the game.+In the Properties dialog, check the [[Item Container]] checkbox to indicate that you want this [[object]] to behave as a container. Double-click any [[item|items]] that you wish to initially be included in the [[item container]] - this will add them to the box on the right labelled "Items in Container". Click the OK button once you are finished. It is not required to add any [[item|items]] initially, as you may just want the [[object]] to act as an [[item container]] but initially be empty at the start of the game.
  
 {{:wiki:item_container_properties.png?nolink|}} {{:wiki:item_container_properties.png?nolink|}}
Line 39: Line 39:
 {{:wiki:item_container_markers.png?nolink|}} {{:wiki:item_container_markers.png?nolink|}}
  
-There is one more step to ensure that the player can interact with the item container. When I placed the treasure chest, the Map Editor removed any navigation/interaction paths to the tile that the chest sits on because the object is not designated as "walkable". First, decide which adjacent tiles the player should be able to interact with the item container from. In this case, there are two adjacent tiles from which the player should be able to access the chest. For each oneselect the tile that the item container is on and the adjacent tile, then right-click to bring up the context menu. Go to the Navigation/Interaction sub-menu and select Interact Only. This will allow the player to open the item container from the adjacent tile.+There is one more step to ensure that the [[player_character|player]] can interact with the [[item container]]. When I placed the treasure chest, the [[Map Editor]] removed any [[navigation_and_interaction|navigation paths]] to the [[tile]] that the chest is located on because the [[object]] is configured as being not passable. First, decide which adjacent [[tile|tiles]] the [[player_character|player]] should be able to interact with the [[item container]] from. In this case, there are two adjacent [[tile|tiles]] from which the [[player_character|player]] should be able to access the chest. 
 + 
 +To do soswitch the [[Map Editor]] into "Connect" mode.
  
 {{:wiki:connect_mode_button.png?nolink|}} {{:wiki:connect_mode_button.png?nolink|}}
  
-s shown below, I have set the tile in front of the chest and to the left of the chest as Interact Only (displayed as orange lines by default). +Select "Interact Only(colored orange by default) from the Navigation Palette in the top left corner, then click and drag from each adjacent [[tile]] to either the treasure chest or the [[tile]] it's located onThis will allow the [[player_character|player]] to open the [[item container]] from these [[tile|tiles]] 
 + 
 {{:wiki:item_container_connect_nav.gif?nolink|}} {{:wiki:item_container_connect_nav.gif?nolink|}}
  
-Save the map and then try out the item container in your exported game!+Save the [[map]], [[exporting_your_game|export the game]], then try out the [[item container]] you've created! 
 + 
 +{{:wiki:item_container_in_game.gif?nolink|}}
item_container_tutorial.1512589846.txt.gz · Last modified: 2017/12/06 11:50 by justin