Disrupted_Hunter
Newbie
- Joined
- Jul 25, 2008
- Messages
- 810
- Reaction score
- 0
Does anyone know how to reset and image? I'm making a frogger game and I have a reset button (meaning reset the game). But I don't know how to write the code, I believe it's something like:
Picture[whatever picture].picture = [something]
I thought it was:
Picture2.picture = ""
Suggestions?
Edit: So I did some messing around, I'm setting the trucks and frogs back to their original cordinates using an if end statement, but I don't know how to put it as an if statement. So now it looks like this:
FrogXPos = 140
Truck1XPos = 0
Truck2XPos = 90
Truck3XPos = -70
Truck4XPos = 23
Truck5XPos = 200
Picture[whatever picture].picture = [something]
I thought it was:
Picture2.picture = ""
Suggestions?
Edit: So I did some messing around, I'm setting the trucks and frogs back to their original cordinates using an if end statement, but I don't know how to put it as an if statement. So now it looks like this:
FrogXPos = 140
Truck1XPos = 0
Truck2XPos = 90
Truck3XPos = -70
Truck4XPos = 23
Truck5XPos = 200