Code: Select all
while (collisionOccured()) pos.X -= 1 ;
Code: Select all
while arrow key is down, move the character
Code: Select all
if (arrow key is down) move the character
Code: Select all
while (arrow key is down) move the character
Code: Select all
while (collisionOccured()) pos.X -= 1 ;
Code: Select all
while arrow key is down, move the character
Code: Select all
if (arrow key is down) move the character
Code: Select all
while (arrow key is down) move the character
3DModelerMan wrote:No, I mean where should I put another while loop when it's necessary.