Is it possible to change the layer of gui objects? #73
-
|
It's me again! I was configuring the scripts to make the player not be forced to move forward after finishing a level and it worked, but I noticed that the results gui is behind the player, I'm trying to modify its layer to make the hud be in front of the player. Sonic.The.Hedgehog_.Reinvented.2025-01-26.20-40-02.online-video-cutter.com.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You're probably placing objects on a GameControllers layer. If your layers are set up right, obj_gui_results will be created on a depth reserved specifically for HUD As was said in the wiki, you should not use GameControllers. Use another instance layer for your objects and place them there. Here's what the typical layer layout would look like: |
Beta Was this translation helpful? Give feedback.

You're probably placing objects on a GameControllers layer. If your layers are set up right, obj_gui_results will be created on a depth reserved specifically for HUD
instance_create_depth(0, 0, RENDERER_DEPTH_HUD, obj_gui_results);-- it is the line directly from obj_singpostAs was said in the wiki, you should not use GameControllers. Use another instance layer for your objects and place them there. Here's what the typical layer layout would look like: