Game hangs when 'Play' is pressed

Bugs will be moved here once resolved.

Post » Tue Mar 26, 2013 6:20 pm

I've been talking to @Kyatric a bit about a similar issue over Skype. It may be Dropbox is failing to send some images (they're not a great host). Can you reproduce the problem when hosted on a different server?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Tue Mar 26, 2013 6:27 pm

After further testing, I'd be tempted to say that the issue comes from dropbox's speed of file serving.

It appears that not all images are properly cached before displaying the game.
It's not that big of a deal as long as you don't plan to only host the game in dropbox.
It's a bit strange that it happened "all of a sudden", never had this issue before a few days ago.

Just be aware that for your testing phases, it's better to wait (don't hesitate to wait a few minutes) before making any action in the game, even if the loading is supposed to be complete.
(A few refreshes seems to also help, making sure all the files are loaded)
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Tue Mar 26, 2013 7:57 pm

I will re-upload a Capx in the near future when I am home from work.

However, to answer the question, I also tried this with Google Drive and had issues as well. I can set up new demos as well for further testing in both Dropbox and Google Drive. Are there any other cloud areas that work better for hosting?

On a semi-related note: all of this got me thinking about how to reduce the size of my project overall. The largest images in my project are the background images (the grass, roads, floors, etc). Each image is between 600kb and 1.2MB, and there are 12 of them. The total number of MBs the game projects is around 33MB after compression.

So I opened up the 12 images in GIMP and I saved them as relatively low-quality JPEGs. This dropped the size of each image from 600kb-1.2MB down to about 100-200ish kb each with relatively little to no visual change. Great, I thought!

However, I then replace the first image with the new JPEG, and the projected file size went from 33.something to 34.something. Odd, I thought. So I replaced the second image with the new JPEG, and sure enough, it went up to 35MB. And so on and so forth as I added the others.

So I am curious, how accurate is the projection? I was under the impression that JPEG would probably be the smallest file size image useable.


At any rate, I will get a new Capx and demo up hopefully later this evening. Thanks!
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Tue Mar 26, 2013 8:39 pm

Check this blog article about image compression in C2.

It's likely that skydrive will be the same as dropbox, understand a free hosting service.

I've tested a project (300 kb only) that bugged in dropbox.
Hosted it on my own server, no bug at all. You get what you pay for.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Mon Apr 01, 2013 6:53 pm

Note Construct 2 ignores the import format of images and always converts them to PNG; if you want to use JPEG on export then use the image format dialog from the image editor.

Closing as this appears to be an issue with the host rather than a Construct 2 bug. If you need more reliable hosting, file servers are probably very cheap if you look around.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests