Commit Graph

5 Commits

Author SHA1 Message Date
FalseIncarnate
7ac2826037 Claw Game Fixes
Fixes #2795
- Game will now close if you wander away from the machine
- Cannot use the game while laying down/dead
- Game can now be closed like a normal window, and will behave properly
when doing so
- Dropped prizes will actually visibly fall before the game over screen
appears
- Claw game will now properly use machine processing for power and such

Also some code adjustments to help make it more organized or something.
- Seriously though, it does clean some stuff up and removes a redundant
variable
2015-12-10 06:21:46 -05:00
FalseIncarnate
c47e69dbad Minor html fix 2015-12-09 01:02:25 -05:00
FalseIncarnate
6dfbd8f260 Claw Games!
Adds claw games, the absolute most-infuriating arcade game known to
mankind.
- Uses new fancy HTML5 / Javascript code stuff
- Is buildable!
- Science can produce the board with programming 2
- Requires a matter bin, manipulator, some cables, and a sheet of glass
- Costs money!
- Accepts cash or ID swipes, 15 credits per play token
- Dispenses prizeballs!
- Open them for a random plushie, carp plushie, or action figure!
- Two sets of sprites, thanks to FoS and Stephanov

Notes for the coders / future:
This provides a basic example for introducing new HTML5 / Javascript
arcade games, as well as a base type machine to use for such games.
While this may seem silly, this proves that we are not doom to have to
tolerate only the battle game and Orion Trail forever, and can even make
our own games for the arcade.
2015-12-09 00:37:30 -05:00
FalseIncarnate
4afec741fd Claw Game progress 2
Claw game is now playable from within SS13

- still need to code and test win-functionality
- still need to code prize ball and circuit board
2015-12-07 23:28:02 -05:00
FalseIncarnate
bc5faea093 Claw Game progress
Errors resulting from Prize.js currently.

- still using the original images, need to switch those out
- need to remove unneeded code/commented attempts
- need to code win-functionality (close game, give prize)
- need to code in prize orbs, arcade circuit items
2015-12-06 02:26:12 -05:00