Gdevelop: Preview broken after the latest comits

Created on 10 Sep 2018  路  9Comments  路  Source: 4ian/GDevelop

Describe the bug

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

To Reproduce

Compile the electron app, open the platformer example, run the game

Other details

Windows 10, latest bleeding edge gdevelop newIde

All 9 comments

I also get some error about a font not being found in the editor
capture

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 :)

Was this page helpful?
0 / 5 - 0 ratings