ANNOYING BUG

id: 753252

category: Help with Scripts

posts: 4

yahia_ayman yahia_ayman loading
I am working on a platformer game now. I've made locked doors that open when you collect a key in the game. I've added a simple
go to x: (219) y: (78)
but it keeps going to
go to x: (0) y: (78)
I've searched my whole project for out-of-place blocks or blocks I forgot but there isn't anything wrong. What should I do? By the way I'm following @griffpatch tutorial.
Please help! Thanks
--CHA0S-- --CHA0S-- loading
Could you share the link so I can search the code?
The reason that happens is because the screen isn't that wide. The X position can only really go from -180 to 180, 190 if you have certain sprites
ideapad-320 ideapad-320 loading

speedboostboy wrote:

The reason that happens is because the screen isn't that wide. The X position can only really go from -180 to 180, 190 if you have certain sprites
That's incorrect. Part of the sprite must be between x -240 and +240 and y -180 and +180. If you try to go off the side, it will just snap to the side, it wont just ignore the block.