so i fixed a thing in act 1 that was bugging me no it wasn't a bug basically i had the buttons two different images like this


i didn't do anything about it until now since i wasn't 100% sure how (also because i tried and didn't work) but last night while i was in my bed i remembered that i had globals for the lights and door so what i did is i made it to where if for example
if(global.LeftLight=0 && global.LeftDoor=0){
sprite_index=sLeft_Buttons_1;
}
if(global.LeftLight=0 && global.LeftDoor=1){
sprite_index=sLeft_Buttons_2;
}
if(global.LeftLight=1 && global.LeftDoor=0){
sprite_index=sLeft_Buttons_3;
}
if(global.LeftLight=1 && global.LeftDoor=1){
sprite_index=sLeft_Buttons_4;
}
i used this and it work and the buttons are now like this

so ya... see ya guys later i guess
0 comments