Community

AGI Programming => Mega Tokyo AGI Archive => Topic started by: Joey on September 25, 2003, 01:35:23 PM

Title: What's up with this?
Post by: Joey on September 25, 2003, 01:35:23 PM
Ok, this is weird. I was working on a little 2 player battle game thing. I added code to make it cycle through a whole loop when a certain key is pressed. when i tried it everytime you pressed it, it would cycle a cel only, not the whole thing. then i made a second player and added the EXACT same code for the cycling of the hitting loop (except i defined a different key), and it cycled the whole loop. what is wrong with this. i tried using a different key for player 1 and it still didnt work right. why is it doing this?
Title: Re:What's up with this?
Post by: Allen on September 25, 2003, 02:17:31 PM
Variables are your friends... ;D
Title: Re:What's up with this?
Post by: Joel on September 25, 2003, 07:02:36 PM
it's not very easy to diagnose a problem from just a vague description. some code would help, or at least an indication of what functions were called with what parameters.