game-maker-studio-2 - Gamemaker rooms empty even though there are objects in the room - TagMerge
2Gamemaker rooms empty even though there are objects in the roomGamemaker rooms empty even though there are objects in the room

Gamemaker rooms empty even though there are objects in the room

Asked 5 months ago
0
2 answers

I have no idea what the black square is about, but a black screen upon entering a room usually indicates the code being stuck in a loop i.e. a while/for/until loop (as it never reaches the stage where it draws whatever sprites and backgrounds). Freezing also indicates such. I suggest placing debug points immediately after every while/for/until loop in your code and running debug mode, removing the debug points when you hit them, until you never hit one of the debug points, which means that is the loop the computer is getting stuck in.

Source: link

0

Code:
layer_add_instance( "controllers", id );
Code:
layer_add_instance( "controllers", id );
Code:
layer_add_instance( "Instances", 100001);

Source: link

Recent Questions on game-maker-studio-2

    Programming Languages