Screen Wrap

Is there a way to turn on “screen wrap”?
So that is my sprite goes off the screen to the right, it
would appear on the opposite side of the screen?

1 Like

well I tried


So basically what this on game update block does is that it loops over all the sprites in sprites_to_wrap and checks if they are out of the screen. If they are, teleport them to the opposite side of the screen.

2 Likes

Question: Do the sprites have a maximum velocity. I did a small experiment using your project, where I gave the player a ay of 200, and took away the controls. I did this so I could see how fast would it travel. It was stuck at 500, and wouldn’t move any faster. Is this a bug in the code, or is the mazimum velocity for sprites 500?

This should probably be in an extension too…

1 Like

I think 500 or 512 is the maximum.

1 Like

wow you are sooo much smarter than me my attempted screen wrap still glitching

1 Like

Because it teleported you to somewhere that would teleport you back. That was why.

1 Like