Keys are not working as expected (resolved)

All talk relating to Edward, the Flash platform game engine. (Forum is now locked)

Keys are not working as expected (resolved)

Postby maze » Thu Jan 13, 2011 5:27 am

Hi, I'm having an issue with the keys in Edward. The key that's named "KEY_A" works for the teleport that's named "KEY_A". But in the next frame the key that's called "KEY_B" does not work for the teleport that's called "KEY_B". I can't seem to get rid of KEY_A's influence in the next frame and so then KEY_B doesn't work. Is there a way to turn off a key's influence? If someone could help me with this, then I would appreciate it.

Update: I now know what the problem is. You have to change this code in order for all the keys to work:
line 850: replace keysOwned[i] with keysOwned[k]
line 882: replace keysOwned[i] with keysOwned[k]
line 892: replace keysOwned[i] with keysOwned[k]
maze
Newcomer
 
Posts: 5
Joined: Thu Jan 13, 2011 5:04 am

Return to Edward Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron