Skip to content

Water Background shows up at the very top and it's inverted #28

Answered by TrianglyRU
RunninPigeon asked this question in Q&A
Discussion options

You must be logged in to vote

m_stage_set() should be the very first function called
Now, let's configure c_stage specifically for rm_myroom. Start by calling the m_stage_set() function."

Also, you have no idea how arguments work if you try to pass to a function an argument from another function. Please, spend some time to learns the basics of programming and GameMaker Language.

Your code should be like this:

case rm_stage_trz0:
		
    m_stage_set(1, "TESTING ROOM", ACT_SINGLE, bgm_woofle, [spr_obj_animal_flicky, spr_obj_animal_pocky], room_height, 1240, rm_devmenu, false);    
			
    bg_set_colour(#C0C0C0);
    bg_add_layer(spr_trz_bg_layer0, 0, 104, 192, 0, 0, 0, 0.300, 0);			// Water Layer
    bg_set_perspective_x(1…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@RunninPigeon
Comment options

@TrianglyRU
Comment options

@RunninPigeon
Comment options

@TrianglyRU
Comment options

Answer selected by TrianglyRU
@RunninPigeon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants