Having a small bit of trouble with my pfscores, I'm doing a silly sumo game where player 1 & 2 mash buttons and try to push each other out of the sumo ring and when a sumo is pushed outside the game pauses for 1 second, removes a pfscore block from the losing player and resets for the next round, but the pfscore just scrolls like mad when a sumo goes outside the ring, any thoughts on what I did wrong?
This is the code that handles the sumo positions. When a sumo goes outside q goes from 0 to 1, locking the controls and reduces a pfscore, then goes to q=2 to stop it from the mad pfscore scrolling but it dosn't quite work.
if player0x=54 then q=1 : pfscore1=pfscore1-1 : q=2 if player1x=91 then q=1: pfscore2=pfscore2-1 : q=2 if q>0 then k=k+1 if q>0 && k=60 then goto begin
Silly me, I forgot it's pfscore1 = pfscore1/4....Works fine now.
On a sidenote, I can't figure out how to limit the firebutton properly so the players can't hold them down?
Edited by Captain Spazer, Wed Dec 14, 2016 3:15 PM.