PIE-NU / Expedition-2018

Our game developed as part of the 2018 Expedition!
0 stars 0 forks source link

Feature switching equipment #20

Closed Grygoree closed 6 years ago

Grygoree commented 6 years ago

Made some changes to the light test scene so that player animation and current active light switch depend on whether the player pressed the flashlight or lantern key.

Also the lights run out after 5 seconds as part of the test.

Test this branch by going to the LightingTest scene and pressing Enter to toggle/switch to the lantern, and Period to toggle/switch to the flashlight.

Also did some refactoring on LightController.