Parameters for the graphics function

  • BrianTheEngineer
    5th Dec 2019 Member 0 Permalink

    I just found out that there is a function to control graphics called the Graphics property. But what is the return parameter for the function?

     

    Here is the function?

     

    local function levitationGraphic (i, colr, colg, colb)

        return 1, ren.FIRE_ADD, 255, colr, colg, colb, 2551000255
        
    end
     
    I mean what do they do?
    Edited once by BrianTheEngineer. Last: 5th Dec 2019
  • jacob1
    5th Dec 2019 Developer 0 Permalink
    The wiki has documentation for nearly every function in TPT. You can read it here: https://powdertoy.co.uk/Wiki/W/Lua.html#tpt.graphics_func