• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM Background_vspeed problem

T

Tonydaderp

Guest
Hmm. I'm trying to make a drop down menu screen just like in Lttp. Here's my code:
Code:
if backdrop ==4 {
draw_background(background2,view_xview[0],view_yview[0]-200     );
background_vspeed[background2] = 10;


}
Am I screwing up in the index [ ] thing? If I am, can someone explain to me how [ ] works? Thanks a million.
Also, this code is in the draw event. Should it not be?
 

makas

Member
the index is not the name of the background but the index of the background on your room editor, its a number, the first background on the list is 0
 
Top