• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Objects draw every step and not erase

Leif

Member
Hi,
Encountered a problem

Look at the screenshot http://prntscr.com/p58shh

There are objects, that does not appear correctly.
Red numbers appears from the left amd right, but seems like do not erase every step
Circles used to decrease in diameter, but seems like do not erase every step too
 

FrostyCat

Redemption Seeker
You've been around here long enough to know you need to post actual code.

Make sure that your room has a background or a background colour. And if you're drawing from a surface and the residual trail is not what you want, clear the surface before drawing to it.
 

Leif

Member
Well, I'm really long anough to understand nesessity of code if i use something like surfaces.

But this time the code is simple and do not affect
Here it is (in DrawEnd event )

Code:
draw_set_alpha(1);
draw_set_color(c_red);
draw_set_font(font_score);
draw_set_valign(fa_top);
draw_set_halign(fa_left);

draw_text( x,y, string(level_time));
So, the reason is not in code

Also, i did not see such things in 1.4.
What can be the reason ?

Will try background
 
Top