N
Northernlightifly
Guest
[SOLVED]
Hello!
I'm making a platform game, in order to move to the next level the player has to collect all the coins. Once that is done the player go to the goal flag and move on to the next level. I'm having problem with making my code to work.
This code has an error in it, "Unexpected symbol in expression"
This is the entire code, which I made through making a "Create event"
Thank you in advance!
Hello!
I'm making a platform game, in order to move to the next level the player has to collect all the coins. Once that is done the player go to the goal flag and move on to the next level. I'm having problem with making my code to work.
This code has an error in it, "Unexpected symbol in expression"
Code:
if ((!instance_exists(obj_gold_coin)) && (obj_silver_coin))) {
Code:
open = false;
if (open == true){
room_goto(lvl_2);
}
if ((!instance_exists(obj_gold_coin)) && (obj_silver_coin))) {
open = true;
}
Last edited by a moderator: