Quote:Original post by pyrokid
it moves really slow and if i can get itto move with onke key press it would be more easier then i can set a delay to make it faster or slower and xerxes ur example is sorto of complicated could u redo it so it looks more like mine??
u dont have to
the main reason it needs to move wit one key press is cause in 2 player both players cant move at once only one key can be pressed at a time so if one layer holds the key down when the other player preses a key player 1 would stop
Then I would say get a library, or try reading your keyboard port with INP() (can't remember which port) first, if you want a home-made solution. This will get you over that 1-key at a time barrier.
Edit: Alternatively you could try trapping the keys with KEY(), although you can only assign a limited number of traps, which may or may not be enough for your game. Plus, I'm not quite sure of the speed issues, and it's not very expandable.