Can no longer preview my game.

Discussion and feedback on Construct 2

Post » Fri Aug 22, 2014 2:35 pm

Hi. A weird problem just occured, which I haven't been able to fix. When I attempt to preview my game using either Firefox, Chrome or Node-Webkit nothing happens after Construct implies that the preview is "ready". None of the browsers open a new tab with the game, and Node-Webkit doesn't boot. This only happens with my own project however (clean project boots just fine), so I wonder if I've turned off some setting by hitting a hotkey combination by accident?

I've tried rebooting the computer, didn't help. I would also like to add that I didn't add any new assets from the time it worked flawlessly earlier in the day, to now where nothing happens.

Any ideas why it doesn't work?

Edit: I just tried exporting the game to Node-Webkit. PNGcrush and PNGout crashes instantly. Is there a chance my image files have gotten corrupt somehow?

Edit 2: Reloaded a backup of the project from some time back (which had no problems at the time I backed up). Didn't work either. Starting to suspect it's construct that's the problem and not my project.

Thanks
(Help me :) )
B
35
S
10
Posts: 386
Reputation: 3,265

Post » Fri Aug 22, 2014 2:59 pm

Which version of C2 are you using?
B
25
S
6
G
3
Posts: 197
Reputation: 3,355

Post » Fri Aug 22, 2014 2:59 pm

Tinimations wrote:Edit: I just tried exporting the game to Node-Webkit. PNGcrush and PNGout crashes instantly. Is there a chance my image files have gotten corrupt somehow?


If that would be the case I guess your capx wouldn't open.
Perhaps if you posted it for us to confirm or see if there is a configuration issue.
To be sure, check out the several project's properties and perhaps try to modify some.

On the other hand, you might want to check for errors in browser (although this does require a tab to open) or troubleshoot C2's preview server (even though the issue should also apply to other projects as well).

Last thing, if you have configured to be [url=https://www.scirra.com/tutorials/247/how-to-preview-on-a-local-networkpreviewing over LAN/WI-FI[/url] and are not executing C2 as an admin, there will be a dialog displaying when previewing that will tell you "Unable to start HTTP server".
Clicking "OK" executes preview on a normal basis.

Nevertheless from time to time this dialog instead of appearing on top of all windows UI will simply appear in the background and the preview won't happen before you've clicked OK.
This might be something worth to check out too.

Here are clues to investigate.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086

Post » Fri Aug 22, 2014 3:59 pm

Hmm after doing some digging I've managed to get the preview to boot if I write "http://localhost:50000" manually into a tab. However I cannot get it to boot directly by pressing the preview button inside construct. Also PNGcrush and PNG out instantly crashes even on a clean project with only 3 random images added.

Any thoughts?

Edit: Hmm actually the export was successful regardless of the PNG compression apparently crashing (Though it takes foreeeever).
Actually I've tracked it down to it crashing once the compression's been completed. If I close all windows manually it completes the export. However as my project opens hundreds of these exporter windows I can't practially do anything...

Edit: 2 Using the latest version released.
B
35
S
10
Posts: 386
Reputation: 3,265


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests