Author Topic: How does gotoposition command work?  (Read 903 times)

MarkVD100

  • Crewmate
  • *
  • Posts: 5
    • View Profile
How does gotoposition command work?
« 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?

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2176
    • View Profile
    • The Open Level Project
Re: How does gotoposition command work?
« Reply #1 on: May 28, 2017, 12:45:04 am »
It's counted in pixels, and 1 tile is 8 pixels.

MarkVD100

  • Crewmate
  • *
  • Posts: 5
    • View Profile
Re: How does gotoposition command work?
« Reply #2 on: May 28, 2017, 01:10:28 am »
Alright, thanks.  :)