GMS 2 Draw event not refreshing

D

dingo540

Guest
I'm not sure if i learned bad habbits from GMS1 but Im working on a small app currently using normal
Code:
draw_text_colour(x,y,string,col,col,col,col,alpha)
code and everytime the draw event is run, the new text is drawing over the previous state of the text and not clearing the previous text like I am used to.

Is there something new about this with GMS2 or do i now have to tell it to clear the previous drawn text.

Normally the draw event is run every step,clearing the previously drawn text (in this case), I have had to set it up to manually refresh each step which may be my issue of the text overlap / ghosting.

Current code: (can_draw is triggered by an alarm every second)

Code:
 (can_draw) {draw_text(x+50,y+5,string(a_time));  can_draw = 0;}
Thanks for any information reguarding this.
 
D

dingo540

Guest
Issue has been solved, just had more objects creating than anticipated causing the draw overlap.
 
Top