samples/04_physics_and_collisions/09_arbitrary_collision/app/ball.rb
#render the ball to the screen
render the ball to the screen
render the ball to the screen
def draw args
        args.outputs.sprites << {x: @x, y: @y, w: @width, h: @height, path:"sprites/ball10.png" }
    end
def draw args args . outputs . sprites << { x : @x , y : @y , w : @width , h : @height , path : "sprites/ball10.png" } end
render the ball to the screen
render the ball to the screen
#update args #args.outputs.solids << [@x, @y, @width, @height, 255, 255, 0]; #args.outputs.sprits << { #x: @x, #y: @y, #w: @width, #h: @height, #path: "sprites/ball10.png" #} #args.outputs.sprites <<[@x, @y, @width, @height, "sprites/ball10.png"]
args