User Tools

Site Tools


groups

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
groups [2023/01/31 21:27] justingroups [2023/01/31 21:28] (current) justin
Line 25: Line 25:
 <WRAP group> <WRAP group>
 <WRAP column 45%> <WRAP column 45%>
-To use this feature, you would add any walkable tiles on the lower floor to a group (as an example, say "floor1"), and then add any tiles that are part of any upper floors to another group, using the special "-hide" suffix. Following our example, this upper floor group should be named "floor1-hide". Whenever the player character walks onto a tile in the "floor1" group, any tile (and any object or character on that tile) in the corresponding "floor1-hide" group will be automatically hidden. Refer to the "Default Example Game" project template for a hands-on example of this. To see how it's set up, check which groups each house tile is assigned to.+To use this feature, you would add any walkable tiles on the lower floor to a group (as an example, say "floor1"), and then add any tiles that are part of any upper floors to another group, using the special "-hide" suffix. Following our example, this upper floor group should be named "floor1-hide". Whenever the player character walks onto a tile in the "floor1" group, any tile (and any object or character on that tile) in the corresponding "floor1-hide" group will be automatically hidden. Refer to the "Default Example Game" project template for a hands-on example of this. To see how it's set up, check which groups each house tile is assigned to (including the stairs).
 </WRAP> </WRAP>
  
groups.txt · Last modified: 2023/01/31 21:28 by justin