You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a lamp system which supports the following flow:
define a light switch as a game object within tiled with a Lamp switch id
define lights and set the Lamp switch id on the lights
within Java, load all lamps and create a mapping from lamp switch to lamp (new Lamp class and LampSwitch class required)
The player should be able to toggle the light switch when close (within collision maybe?)
Additionally, the lights should have the following features:
on, off or broken
life (infinite, by default, can be configured within Tiled (configurable in seconds?). Once a lamp is on, the life depletes then it bursts and breaks. Switching the lamp off stops the depletion process until switched on again
The text was updated successfully, but these errors were encountered:
Create a lamp system which supports the following flow:
Additionally, the lights should have the following features:
The text was updated successfully, but these errors were encountered: