chronic 4 gamemaker team


    Health bar script

    Share

    Flyboymonkey
    Admin

    Posts : 93
    Join date : 2010-03-29
    Age : 36

    Health bar script

    Post  Flyboymonkey on Tue Mar 30, 2010 7:18 pm

    Code:
    /*
    0:id
    1:health_variable
    2:color
    */
    myself=argument0
    draw_set_color(argument2)
    draw_rectangle(myself.x-50,myself.y-30,myself.x-50+argument1,myself.y-25,false)
    Helth code

      Current date/time is Wed Jul 18, 2018 9:44 pm