How can I get the sprite1 to jump farther and not immediately land on sprite2? Right now sprite1 jumps and then immediately lands on sprite2, so the game is immediately over. I need to be able not to have sprite1 land on sprite2.
Offline
Depends how you coded it. Do you have the project somewhere or a picture of the script?
Offline
Just increase the amount of steps Sprite1 takes when you press the right or left arrow key.
Offline
Click on my name and download problem game number 2 to see the game
Offline
As meowmeow55 said, increase the speed the cat can move. You could also add velocity to the cat so that if you try and quickly change directions, it's harder.
Offline
Two things. First, change the number of steps the cat moves (e.g. from 1 and -1 to 3 and -3).
Second, add some delay to the dog turning around. Right now you have:
if (x position of Sprite2 < x position) { set pointforward to 1 } else { set pointforward to 0 }
Change it to:
if (x position of Sprite2 + (60 * dir) < x position) { set pointforward to 1 } else { set pointforward to 0 }
Where dir is a variable you set to 1 when moving right and -1 when moving left. You could also experiment with the 60 number.
Last edited by S65 (2010-09-19 13:29:01)
Offline
can you remix the game so I can see it? Thank you in advance
Offline
please help people
Offline