Another Respawn
MERM
Member Posts: 194
Ok as many of you know im fairly stupid. so, im making another respawn game but this time you click the box and it adds to the score and respawns another box, which then adds to the score and respawns ANOTHER box when you click on it and goes on forever. so, I added the when clicked, destroy and spawn actor box random(0,720),random(0,480) and it respawns once perfectly and adds to the score. the only problem is that it doesn't do anything when i click on it... please help.... i'm just a poor, helpless 7th grader nerd working on his science fair project...
Comments
The box on the screen should add to the score, spawn another box if clicked and then disappear. Right?
you need one actor with the box. Then I would do the following:
If touch pressed
change attribute game.score to game.score+1
spawn BOX randomX,randomY relative to screen
after 0.1 sec
destroy actor.
That's all
If not, it may happen, that it spawns on top of the first box and you don't see it disappear, or it spawns outside the screen, because the 480 relative to actor can be outside, if your box is at 470 :-P
Send me your GS file and I look at it.
hunnenkoenig@chello.at
the box appears, it just doesn't do anything (