Pixel Size For One TPT Pixel?

  • BrianTheEngineer
    15th January Member 0 Permalink

    I was looking at the graphics function with the TPT Lua API and I need to know, how many pixels re in one TPT pixel. I mean, how many pixels used in the graphics function is equivalent to one pixel in the game.

  • jacob1
    15th January Developer 0 Permalink
    1 pixel in the graphics api = 1 pixel in game. This behavior is consistent even in double scale mode, and other scaling options we have.

    Anything otherwise would be a pretty bad API, lol.

    if you're using gfx. (graphics.), you can also draw outside the simulation area. The pixels are still the same there. You just won't have the TPT HUD to tell you exactly what the coordinates are out there.