samples/07_advanced_rendering/03_render_target_viewports/app/main.rb
# Shows output of different kinds of borders on the screen
# The parameters for a border are the same as the parameters for a solid
Shows output of different kinds of borders on the screen
The parameters for a border are the same as the parameters for a solid
Shows output of different kinds of borders on the screen The parameters for a border are the same as the parameters for a solid
def borders_tech_demo
    outputs.labels <<  [  5, 260, "Borders (x, y, w, h, r, g, b, a)"]
    outputs.borders << [ 10, 180, 50, 50]
    outputs.borders << [ 70, 180, 50, 50, 0, 0, 0]
    outputs.borders << [130, 180, 50, 50, 255, 0, 0]
    outputs.borders << [190, 180, 50, 50, 255, 0, 0, 128]
    outputs.borders << [250, 180, 50, 50, 0, 0, 0, 128 + state.tick_count % 128] 
  end
def borders_tech_demo outputs . labels << [ 5 , 260 , "Borders (x, y, w, h, r, g, b, a)" ] outputs . borders << [ 10 , 180 , 50 , 50 ] outputs . borders << [ 70 , 180 , 50 , 50 , 0 , 0 , 0 ] outputs . borders << [ 130 , 180 , 50 , 50 , 255 , 0 , 0 ] outputs . borders << [ 190 , 180 , 50 , 50 , 255 , 0 , 0 , 128 ] outputs . borders << [ 250 , 180 , 50 , 50 , 0 , 0 , 0 , 128 + state . tick_count % 128 ] end
Shows output of different kinds of borders on the screen
The parameters for a border are the same as the parameters for a solid
Shows output of different kinds of borders on the screen The parameters for a border are the same as the parameters for a solid
# transparency changes