Sprite-based click detection.

This commit is contained in:
Pieter-Jan Briers
2020-06-16 16:00:19 +02:00
parent 310e765502
commit 4136388028
9 changed files with 456 additions and 15 deletions

View File

@@ -3,6 +3,11 @@
name: "unpowered light"
components:
- type: Clickable
bounds:
south: 0.25,-0.5,0.75,0.5
north: -0.25,-0.5,0.25,0.5
east: -0.5,-0.5,0.5,0
west: -0.5,0,0.5,0.5
- type: InteractionOutline
- type: Collidable
- type: LoopingSound

View File

@@ -69,6 +69,9 @@
- type: Icon
texture: Objects/Tools/cable_coil.png
- type: WirePlacer
- type: Clickable
bounds:
all: -0.15,-0.15,0.15,0.15
- type: entity
id: CableStack1