19 Commits

Author SHA1 Message Date
9d82dbe521 Tweaks for pill-based visuals and collision 2019-11-21 12:45:44 +01:00
92c8e66e63 Collision also changes depending on pill status
Corresponds to visibility
2019-11-21 12:36:41 +01:00
09e0f32503 Add shader which mixes true and masked view
Player now has 2 cameras (one true, one masked), each with a viewport,
which the shader alternates between based on the Pill factor.
2019-11-21 12:19:03 +01:00
41e2d5b096 moved "taking pill" to own script 2019-11-21 11:25:59 +01:00
bd3118c7b3 Merge branch 'master' of https://gitlab.hexaquo.at/mga/retrace 2019-11-21 10:33:45 +01:00
d32c0f485b Fix mouse look movement
Weird things happened
2019-11-21 10:33:26 +01:00
0c3d96030b - ternary (conditional) operator in godot ! :D 2019-11-21 08:31:40 +01:00
8b83d6e7a3 Tweak player movement speed variables 2019-11-20 23:52:48 +01:00
1cf65caed8 Add footstep sound effect and animation
Sound is linked to Animation so it always plays when the camera nods
down
2019-11-20 23:52:11 +01:00
8403eb4716 - able to use a leading underscore to define function arguments as unused 2019-11-19 16:41:32 +01:00
785254f98a - added basic inventory and items (ugly but working!)
- TODO: move inventory handling to global
2019-11-19 13:46:44 +01:00
9599d80b62 - preparations for HUD 2019-11-19 12:08:11 +01:00
SlightlyObscure
1024e9bc69 added outline for interactions and key prompt 2019-11-18 20:00:45 +01:00
SlightlyObscure
6a0e9f791b key functionality + doors 2019-11-18 18:16:46 +01:00
SlightlyObscure
09ae350b9e mmmhhh fixes 2019-11-18 16:39:26 +01:00
SlightlyObscure
892f85e8ad doors exist and can be opened 2019-11-18 16:15:20 +01:00
ff1d85a325 Add Pill singleton with basic behavior
A pill can be taken (key 'E', currently in Player.gd for testing) to
increase the level up to the max level (currently 6).

The drugged level gradually decreases down to the min level
(currently 0).
2019-11-11 21:54:17 +01:00
d7e76cff6f - removed unused function param 2019-11-02 20:09:58 +01:00
341c8ba2f2 - some improvements, beautify code *_* 2019-11-02 19:53:07 +01:00