davidjtferguson / dancejab

super simple fighting game. dashing and jabbing only.
MIT License
3 stars 0 forks source link

double KO logic #39

Closed davidjtferguson closed 5 years ago

davidjtferguson commented 5 years ago

had both players die on the same frame, which made the game go super weird. need logic to deal with this.

davidjtferguson commented 5 years ago

made it if both players ringout on the same frame p2 wins. Neither should get a point, but at least now it doesn't glitch out. Should come back to - there's a TODO here https://github.com/davidjtferguson/jab/blob/e77fceb7c2248d4221c7a4ca60fed145a9560256/jab.p8#L483

davidjtferguson commented 5 years ago

now if both players die on the same frame neither get a point and 'double ko!' appears on screen. It was the easiest to not be buggy.