help overhere with computer taking turns
azavega
Member Posts: 362
I got the computer taking turns already but now sometime when is computer's turn it takes forever to shoot. can somebody give a hint why? is it a gamesalad bug or something? cause the algorithm I'm using its pretty simple, or is that the object sometimes when i shoot it never stops? cause looks like it is shaking sometimes... please give me a hint here...
Comments
I am guessing they might be producing unreliable results or results that are possibly being changed by other rules...
player's turn
-if: object.motion.linvervelocy.x >0 AND object.motion.linearvelocity.y>0
-then: cmpu_turn = 0
*
- otherwise cmpu_turn = 1
*EDIT* or something of the sort. I don't know all the conditions of the turns, but hopefully you get the idea.