[Solved] Auto-Mirror/Flip = Gray Screen on Run? Forum Home > Construct 2 General > How do I....? |
Post Reply
|
Page 12> |
| Author | |
Post Options
Quote Reply
Topic: [Solved] Auto-Mirror/Flip = Gray Screen on Run?Posted: 29 Oct 2011 at 3:14pm |
|
|
Running r65 on a 64-bit machine here. Upon previewing a game in Chrome (file mode, HTTP gives me a localhost error) including sprites marked to auto-flip or auto-mirror, all I get is a gray screen and the app fails to load. I searched through the forums quickly and didn't see this problem in r65.
Has this happened to anyone else? If so, what did you do to fix/cope with the problem? I'd love to use the auto-mirror to handle sprite directions, obviously. I tested this in multiple browsers, same result. (Possibly needless system specs: Win7 64-bit, 4gb RAM, 2.1ghz CPU, ATI & AMD) Edited by The Bespectacled One - 30 Oct 2011 at 3:52pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 29 Oct 2011 at 3:15pm |
|
|
Auto-flip and auto-mirror only work in HTTP mode because browsers block the necessary features in file mode.
Sorry - I think your best bet is to try and get HTTP working. Are you running any other servers on your computer? |
|
![]() |
|
Post Options
Quote Reply
Posted: 29 Oct 2011 at 3:20pm |
|
|
Ahhh, that makes sense. Kyatric speculated that EasyPHP might interfere with the localhost and stated that he ran XAMPP (I believe), no problems. I now have XAMPP and discarded EasyPHP, but the problem persists at all times.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 29 Oct 2011 at 3:38pm |
|
|
You might wanna try r65. Ash resolved some troubles with the previewing, it might be worth taking a shoot at an HTTP preview with it.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 29 Oct 2011 at 4:22pm |
|
|
I'll keep tinkering with it, yes.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 30 Oct 2011 at 3:51pm |
|
|
Did a bit more digging around here and solved the problem--my "hosts" file was configured in a way that didn't allow C2 to use the localhost address. Just in case someone else is having a similar problem, here are the steps I took to fix the issue:
First, I located the folder that contained my 'hosts' file (c:/windows/system32/drivers/etc/) and opened the actual file using Notepad++ (but Notepad will do, if that's what you've got). In my case, there were two entries near the top that were of particular interest to me: #127.0.0.1 localhost #::1 localhost Notice the '#'? That means it's a comment (i.e doesn't do anything). Delete the #'s. I had a couple entries following this one that were NOT commented out, but used the same address (127.0.0.1). I'm fairly sure I'll need them later, so I simply put the pound symbol (#) next to those to comment them out, as well as save them if I need them later. Finally, I saved the 'hosts' file. HTTP preview now works, as does the mirroring/flipping Edited by The Bespectacled One - 30 Oct 2011 at 9:32pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 31 Oct 2011 at 4:17pm |
|
|
Just encountered this problem myself, because I'm mostly using File preview mode to prevent a problem with the server not shutting down when using HTTP preview mode.
Guess I have to hope to see the HTTP problem fixed in a future C2 release, so I can completely ditch File mode. A workaround for me is using Firefox, which seems to work with File preview and auto mirror/flip. So maybe it's just a browser setting and can be done in Chrome/IE9 too? Or is this some oddity that's special to Firefox? Since Ashley said browsers normally block the necessary features... |
|
![]() |
|
Post Options
Quote Reply
Posted: 29 Nov 2011 at 2:51pm |
|
|
I'm having the same issue, I've added a new layout and when and on the preview mode all I get is a gray screen.
Anyone knows how to fix this? |
|
|
"Everything is amazing and nobody is happy."
Louis C.K. |
|
![]() |
|
Post Options
Quote Reply
Posted: 29 Nov 2011 at 3:32pm |
|
|
I'm guessing changing the hosts file didn't work. Did it?
|
|
![]() |
|
Post Options
Quote Reply
Posted: 20 May 2012 at 6:09am |
|
thanks man! I was having a bad time trying to figure out why the preview wasn't working anymore. It bring me another problems but I'll look at it later. |
|
![]() |
|
Post Reply
|
Page 12> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |