In my draw event for controller_main I have:
set the drawing color to 11855591
draw rectangle with vertices (view_xview0+5,view_yview0+5) and (view_xview0+100,view_yview0+45), filled
set the drawing color to 0
draw rectangle with vertices (view_xview0+5,view_yview0+5) and (view_xview0+100,view_yview0+45), outline
draw the lives at (view_xview+10,view_yview+10) with sprite
at position (view_xview+10,view_yview+28) draw the value of score with caption Score:
if black_key is larger than 0
at position (view_xview+20,view_yview+10) draw image -1 of sprite spr_black_key
It is not drawing anything. WHY???????????????!???????!!!???!?
Problem with drawing score and health with views
Started by arctic waffle, Feb 15 2012 02:23 AM
3 replies to this topic
#1
Posted 15 February 2012 - 02:23 AM
#2
Posted 15 February 2012 - 02:27 AM
Is the controller_main object visible? Drawing doesn't do anything if the calling object is not visible.
#3
Posted 15 February 2012 - 02:30 AM
The controller_main is not visible.
#4
Posted 15 February 2012 - 07:50 AM
Is the controller_main object visible? Drawing doesn't do anything if the calling object is not visible.
Make sure this is set to visible. Check your depth.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











