distractionware forums

VVVVVV => VVVVVV Help => Topic started by: MarkVD100 on May 28, 2017, 12:11:01 am

Title: How does gotoposition command work?
Post by: MarkVD100 on May 28, 2017, 12:11:01 am
So, I did a level complete teleport script thing in my VVVVVV level and I did everything right, except :viridian: spawns inside of a wall, I added positioning by counting the tiles from the room in x and y coordinate and it didn't do the result as I intended, spawning in the wrong position. How does the math of that command work exactly?
Title: Re: How does gotoposition command work?
Post by: Dav999 on May 28, 2017, 12:45:04 am
It's counted in pixels, and 1 tile is 8 pixels.
Title: Re: How does gotoposition command work?
Post by: MarkVD100 on May 28, 2017, 01:10:28 am
Alright, thanks.  :)