[HELP] White Screen Issue

I finished coding my new feature, Custom Mobile Platforms for my mod, and I can’t test it because a white screen appears as soon as I start up Game Dev Tycoon.

Please help me!

Code for Custom Mobile Platforms: https://github.com/Turntablelover/Game-Dev-Tycoon-Mod/blob/development/venomous-modAPI/Custom%20Mobile%20Platforms.js

You need to restart your computer before you take any mod. Or mods also use some memory. Upgrade your RAM then continue.

@Venomous
Take i.e. the following line:

CustomMP.CPUParts = [CustomMP.Mortez-G8, CustomMP.Mortez-G9, CustomMP.GrappleSwift, CustomMP.GrappleCyclone];

Mortez-G8 is supposed to be a variable, right? What do u notice? :wink:

see:

CustomMP.Mortez-G8 = {

This can’t be right! Mortez - G8 = ?

The JS parser will interpret the “-” as the subtract operator.

So resuming:

Dashes are not legal in javascript variables.
A variable name must start with a letter, dollar sign or underscore and can be followed by the same or a number.

And i thought i was done with the Blue Screen of Death. Now we’ve got a White Screen of Crash.

1 Like