Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Why the View jiggled when following the Doc during the figure 7& 8

A topic by Zhanghua created Jun 26, 2021 Views: 214 Replies: 5
Viewing posts 1 to 4

Why the View jiggled when following the Doc during the figure 7& 8

(3 edits)

Do you have a background layer as well? I've had a few people send me similar things after the newest GM update. Looks like the background isn't clearing. You could try (in a pre-draw event) to do:

surface_set_target(application_surface);
draw_clear(c_black);
surface_reset_target();

Maybe that will solve the issue? I will look into this further!

Edit

  • Check that 'Clear display buffer' is ON
  • Also, you could just draw a black rectangle behind everything in the RenderPipeline draw event right before the script pipeline_render() and set the z-writing to false like so:
gpu_set_ztestenable(false);
gpu_set_zwriteenable(false);
draw_set_color(c_black);
draw_rectangle(0,0,window_get_width(), window_get_height(), false);
gpu_set_ztestenable(true);
gpu_set_zwriteenable(true);
(1 edit)

Yes, maybe it's a bug of the newest GMS23

Solved through your code.

TKS!


And can create another default background layer under your BackFloor to solve this issue as same as you.

Okay cool. Well I just tried it (see other comment) and I couldn't seem to re-create the issue. I'm running GM:

IDE v2.3.2.560

Runtime v2.3.2.426

Haven't tried it with the BETA though. Glad it was solved! :D

I can't seem to re-create the issue. I followed the guide again (just to make sure) and it works as expected.

You can Download a test project I made up until figure 7 & 8. Not exactly sure what's going on? O_o

(2 edits) (+1)

Create another default background layer under your BackFloor can solve it.

The same thing....


Beta

IDE v23.1.1.306

Runtime v23.1.1.305

moved this topic to Questions