Commit d6b94d0d authored by Julia Santos's avatar Julia Santos

Edited room guide

parent 2331ef22
......@@ -12,7 +12,7 @@ Use other rooms as reference if you're confused!
ADDING ITEMS TO THE ROOM:
1) Make the ff. nodes per item, follow this hierarchy:
> StaticBody2D (named after the item)
> CollisionShape2D (with square shape)
> CollisionShape2D (with square shape, set the square to the same shape as the sprite)
> Sprite (make a placeholder)
2) Attach the "Item" script to the StatidBody2D node
3) On the StaticBody2D node, toggle the "Make sure the object's children are not selectable" thing, it's next to the lock symbol in the toolbar
......@@ -21,6 +21,7 @@ ADDING ITEMS TO THE ROOM:
- retrievable = will be picked up when clicked on
- interactable = can't be picked up, but will produce flavor text when clicked on
- paste the flavor text under the "Flavor text" variable, as in the default flavor text when the object is either picked up or clicked on for the first time
5) Check the property "Pickable" which should be under Collision2DObject in the Inspector sidebar
INTEGRATING IT INTO THE MAIN SCENE:
(Not sure if you'll do this but jic)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment