So, I want to edit the variables, and to do that I have to open the mygame.js file. But this message keeps on coming up:
Line: 23
Char: 1
Error: ‘SceneNavigator’ is undefined
Code: 800A1391
Source: Microsoft JScript runtime error
Has anyone come across this and been able to fix it? And if so, please tell me how.
Now here’s another problem: after opening it in Notepad++, I can’t figure out how to add variables. I know I sound really new at this, but that’s because I am ^^;
Just follow the format that is already given to you as examples. Go to a new line underneath the last variable (or get rid of the example variables) and put four spaces, a comma, the name of the variable you want to make, a colon, another space, and either a number or a word to set the starting value for the stat. When that is finished, go to the next line and repeat for your next variable. I hope that answers your question!
Just follow the format that is already given to you as examples. Go to a new line underneath the last variable (or get rid of the example variables) and put four spaces, a comma, the name of the variable you want to make, a colon, another space, and either a number or a word to set the starting value for the stat. When that is finished, go to the next line and repeat for your next variable. I hope that answers your question!
You just go below strength and put a comma then put in the stat then you could put a number, true or false, or a name here ill give you examples of each
the debug stats you dont need to touch, its just there to be debug copy over your stats so putting anything inside of it would be useless but dont take it out its needed
Thanks for trying to help, but it’s still not working I don’t know what I’m doing wrong, each time I open ‘index’ after editing the variables it says ‘invalid character’. This is what my formatting looks like (just as a test):
Okay, now I’ve got another problem ^^; But don’t worry, I think I’m getting closer. Now as long as I add the strength and leadership variables, I’m not getting any errors. But when I add other variables on to it, they don’t show up in the index.
“invalid character” could be a result of copy and paste. I realized that sometimes word converts your symbols like ",-;._: into something that looks similar but is not the same (just for style, I guess). If you copy and paste those symbols into mygame.js it can’t interprete them as code but as some kind of strange unknown symbols.
Make sure your : are really :, your " are " and so on…