0
\$\begingroup\$

Here is a video showing the problem I'm encountering.

And here's my room change code:

if(room_exists(room_previous(room))) room_goto_previous();
\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

This behaviour happens because the game is rendering any frame without "cleaning" the previous one first, and your level view doesn't cover the whole screen (there are some transparent/translucent parts).

To solve this problem, you can either set a background or tell the game to clear the display buffer before drawing:

enter image description here

Clearing the buffer will fill it with a tint, after which object rendering takes place.

\$\endgroup\$
3
  • \$\begingroup\$ i aldready activated this \$\endgroup\$ Commented Jun 19, 2022 at 18:53
  • \$\begingroup\$ i added a black backround, it works now \$\endgroup\$ Commented Jun 19, 2022 at 18:56
  • \$\begingroup\$ Is it enabled in both rooms? \$\endgroup\$ Commented Jun 19, 2022 at 18:56

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.