8 Commits

Author SHA1 Message Date
VladimirPirozhenko
f2797a5355 Updated input system, added touch inputs
Now InputTranslator has its own interface to provide polymorphism in GameSession class
Touch input read only if target platform is android
2022-08-16 04:01:08 +03:00
VladimirPirozhenko
e1c8070226 Fixed bugs with input if a player is unplayable and pause is set
Input translator upgraded
2022-08-15 20:57:11 +03:00
VladimirPirozhenko
0fb508126d Updated InputTranslator and View manager, it fixed few bugs with allowing controls
InputTranslator now can check whether is translation is restricted, added new method to ViewManager - IsActive - to check if view is active or not
2022-08-13 02:45:01 +03:00
VladimirPirozhenko
80720c8eb7 Reworked pooling a little bit, added input restrictions to avoid gaining controls to player while paused/dead
Moreover cleaned-up old code
2022-08-13 01:57:16 +03:00
VladimirPirozhenko
6999e84b65 Added pause and pause view, added restriction of input while in paused state
Upgraded Input system to fit demands of paused game (no movement inputs allowed!)
2022-08-12 05:38:17 +03:00
VladimirPirozhenko
e15e453c8e Added Hearts UI health representation, added scoreboard, added tweaks to input system, also code clean-up
Deleted unused assets, added HeartsView
2022-08-11 08:49:23 +03:00
VladimirPirozhenko
bb4f8691e2 Updated Input system, got rid of old code, updated HUD 2022-08-11 03:37:40 +03:00
VladimirPirozhenko
4fa18a41a0 Changed animation strings to hashes, added IPoolable interface, upgrade pool system
Change generation of obstacles
Now all the important objects is cointained by pools
2022-08-09 22:23:49 +03:00