One of my sprite disappeared from the screen, even though in the script is written to go to x,y location when down key is pressed and it just doesn't happen.
I thought maybe I made the whole project too complex? Is a video game with 2 caracters and a bullet.
Offline
Hi gfrino, it's hard to figure out the problem if we don's see your scripts. Maybe you can share your project online so other Scratchers can take a look to see what's wrong?
Offline
I figured out the problem. You have to put "show" on top of all the other blocks, except for the "if key [down arrow] pressed" block.
It's scripts were activated, it just wasn't shown up. You also made it so that it only checks if the fire hits it after it's done going up, then down, giving the player slightly less than a millisecond to get the timing right. I would sugest you use the two gliding scripts under a separate hat block, and keep the score script on it's own, so it's always checking. I would also suggest that you use the "if green flag clicked" block in the controls section for that script so it's always moving, not just when the player moves downward.
Hope it helps!
Offline
There's no way to manipulate the timer, other than resetting it, so if I were you, I would just make it so that the timer resets at the beginning of every game. Or you could go the more advanced way, and use a variable that counts up every second.
Offline