Commit Graph
23 Commits
Author SHA1 Message Date
Gregory Campbell 96155b719a Added highscores and the display of the highscore at the top of the screen 2020-06-09 22:20:34 -04:00
Gregory Campbell 3b1ea3402b Halved the time since 60 seconds was way too long 2020-06-08 23:18:50 -04:00
Gregory Campbell b4e7f7080c Added a score and score title that display at the end of the game and fixed a few UI bugs that resulted from the game over status or restarting 2020-06-08 23:18:18 -04:00
Gregory Campbell 8ab5c5ade8 Add visible countdown UI 2020-06-08 21:25:50 -04:00
Gregory Campbell 3df68ebf20 Refactored and reworked mouse based triggers to remove some funky pickup/drop bugs for cleaning items 2020-06-07 14:15:27 -04:00
Gregory Campbell e1965d4024 Implemented a restart button that starts the game over completely and moved all mouse input based checks to the update function 2020-06-07 14:02:03 -04:00
Gregory Campbell 33e79d91c5 Removed the removal of a cleaner item from players hand when a new object is spawned in 2020-06-07 13:16:58 -04:00
Gregory Campbell 8ca92ec70e Updated game over state so all unnecessary objects get destroyed or disabled and all moveable items are non-clickable and fixed bug that reset timer after it passed 60 seconds 2020-06-07 13:12:56 -04:00
Gregory Campbell 0002b239fc Implemented basic 60 second timer and game over state 2020-06-07 12:42:36 -04:00
Gregory Campbell 48509a8626 Added randomized sprite flipping to instantiation of objects and dirt/fluid sprites 2020-06-06 19:44:55 -04:00
Gregory Campbell a47832d6cf Replaced the gem with its old sprite and fine tuned the dirt placement since it still produced a few placements with the old sprite 2020-06-05 14:55:28 -04:00
Gregory Campbell fd0aa415da Reworked collision detection so it doesn't break if the mouse moves too fast and cleaning items don't sproadically shake when collision gets funky 2020-06-05 14:49:25 -04:00
Gregory Campbell b51124c1b4 Re-implemented dirt overlap 2020-06-05 14:35:07 -04:00
Gregory Campbell 7ecba67fc9 Implemented proper dirt placement so the dirt is always placed on the object (dirt also never overlaps now) 2020-06-05 14:31:19 -04:00
Gregory Campbell 69b803abb3 Added a new object spawning after completion of the current object and items returning to their original position when dropped 2020-06-03 20:20:12 -04:00
Gregory Campbell b51a31b643 Added the need for multiple wipes to rid dirt and spray while also fading the dirt and spray texture with each wipe 2020-06-03 18:27:09 -04:00
Gregory Campbell fa40a54794 Fixed some collision issues with the gem and pick up issues with the spray bottle 2020-06-02 20:42:40 -04:00
Gregory Campbell c6681f9555 Added more variety to object generation 2020-06-02 20:30:03 -04:00
Gregory Campbell 6f9eae4693 Implemented end game/level trigger 2020-06-02 20:17:51 -04:00
Gregory Campbell e339c334a3 Proper spraying and wiping of polish objects implemented 2020-06-02 20:11:26 -04:00
Gregory Campbell 6ce00f5f25 Implemented small dirt sprites to randomly generate on the object 2020-06-02 19:41:24 -04:00
Gregory Campbell 82434fa6c2 Got a very basic polish implementation working 2020-06-01 20:59:48 -04:00
Gregory Campbell a14c816430 Player is now able to pick up and drop the rag and the spray bottle 2020-06-01 20:10:18 -04:00