Running preview on the electron version results in a black screen.
There is of course an error message too:
GDJS found in E:\DEV\GD\GD\newIDE\app\resources\GDJS
libGD.js:20 Copying all ressources from D:\BACKUP\dropbox\blurymind\Dropbox\gameProjects\gdevelop\patfHideProto to C:\Users\blury\AppData\Local\Temp\preview...
libGD.js:20 Could not find GDJS include file eventscontext.js
libGD.js:20 Could not find GDJS include file PlatformBehavior/PlatformerObjectBehavior.h
libGD.js:20 Warning: Unable to find C:\Users\blury\AppData\Local\Temp\preview/eventscontext.js.
libGD.js:20 Warning: Unable to find C:\Users\blury\AppData\Local\Temp\preview/PlatformBehavior/PlatformerObjectBehavior.h.
index.js:158 Preview took 766.2050000000163ms
Compile the electron app, open the platformer example, run the game
Windows 10, latest bleeding edge gdevelop newIde
I also get some error about a font not being found in the editor
Remove newIDE/app/public/libGD.js and relaunch GD (npm start/yarn start)
@4ian still getting the black screen :(
Sorry I've not uploaded latest version 馃槄Give me 5 minutes
Pull the latest changes from master, erase again newIDE/app/public/libGD.js and relaunch GD (npm start/yarn start).
Sorry I really have to come up with an automatic solution but I can't see anything simple to do to automate this yet :/
Is this ok? Let me know if we can close this :)
It works now, but it still has an error message about not finding PlatformerObjectBehavior.h in the console
index.js:127 GDJS found in E:\DEV\GD\GD\newIDE\app\resources\GDJS
libGD.js:20 Copying all ressources from D:\BACKUP\dropbox\blurymind\Dropbox\gameProjects\gdevelop\patfHideProto to C:\Users\blury\AppData\Local\Temp\preview...
libGD.js:20 Could not find GDJS include file PlatformBehavior/PlatformerObjectBehavior.h
libGD.js:20 Warning: Unable to find C:\Users\blury\AppData\Local\Temp\preview/PlatformBehavior/PlatformerObjectBehavior.h.
index.js:158 Preview took 896.7350000000006ms
Ok sweet :) You can safely ignore the warning about PlatformerObjectBehavior.h, it's because some action/condition are still refering to this file but it's not a problem :)
Thank you for the fix :)