while writing code for your mod, remember that the [ code piece and the { code piece look-alike and are on the same button on your keyboard, so you will get careless and accidentally type in a [ when your code needed a { to run properly in Game Dev Tycoon.
What is this? I dont get it.
Has to do with mods, where you have no experience with. >: )
this was the problem I ran into but a more experienced modder looked at my code to source out the problem.
It means that You dont use [ but { and that they are on same button on keyboard.
WTF is this topic for :S
if you don’t know that… you shouldn’t be modding at all.
He’s right { and [ are on the same key.
Don’t understand they don’t teach that at coding school.
Edit:
Accidentally wrote > instead of . at the end of my sentence ( are on the same key )1
I hope people get sarcasm.
You cant type ] when making something with GDT API, and well generally in JS I dont know any uses of ], so DONT!
Simply use a good code editor and it types the ending bracket for you when typing the starting one. So unless you are blindly typing away and/or don’t what you are doing, you shouldn’t do this error normally speaking!
A good simple code editor i like to use is SublimeText
I use Notepad++ :>
You actually DO use ‘[’ and ‘]’ in GDT and JS. You use it to define arrays, which are a line of items (numbers, objects etc.)
Yeah, thats true I forgot
I find it ironic that the guy that wrote this topic was later on banned for stealing people’s code.