Discuss Scratch

PlushieGamer1228
Scratcher
50 posts

Broken time traveling mechanic

I am trying to make a game where you can time travel back to the start of the level, or stage. This is what I have so far. https://scratch.mit.edu/projects/311403134/ It is a shooting game where you can time travel but the time traveling mechanic is not working. It just brings the player to the middle and I have no idea how to fix it. Please help if you can, thank you!
wayyyy
Scratcher
500+ posts

Broken time traveling mechanic

The main problem is with your code here.



You need to delete those two scripts above and replace it with this.




When a is pressed, it goes to the last item in x and y. It then deletes them so it can move to the next one. The pop sound is used to indicate time travel.


13855907337635093928512657233170943934485827951262112803170447238432875890
Key: 23

Powered by DjangoBB

Standard | Mobile