Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: Dal1980 on July 07, 2018, 05:02:54 AM

Title: Draw a box
Post by: Dal1980 on July 07, 2018, 05:02:54 AM
I'm not being stupid right, you can't actually draw a box in AM?  ???

Draw a box
Colour the BG using set_bg_rgb(#,#,#)
Access standard properties like mybox.x and mybox.y

add_text() is the closest I've found but this does not have .x and .y properties for some reason

Surely I'm missing something  :-\
Title: Re: Draw a box
Post by: zpaolo11x on July 07, 2018, 07:41:39 AM
create a 1 pixel white png and use that, you can set the rgb values to make it the color you want
Title: Re: Draw a box
Post by: Dal1980 on July 07, 2018, 11:43:00 AM
Cool, nice one zpaolo11x, thanks  :)