Why games don't work locally anymore?

Discussion and feedback on Construct 2

Post » Tue Nov 03, 2015 12:04 am

Because of the development am doing, I used to just remove the warning, and could run the games just by opening them in a local browser.
It seems to be totally forbidden lately. Is it a jquery restriction or so?

I need them to run locally for a development with an embedded browser from a visual studio application, sort of nodejs but with my own functionality.
Do I need to go back on a previous version of C2?
B
11
S
1
G
3
Posts: 22
Reputation: 2,061

Post » Tue Nov 03, 2015 12:35 am

You can always download and install an HTML server, then run your game on http://localhost/index.html
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Tue Nov 03, 2015 2:54 am

Thanks, actually they work with wamp or IIS as localhost, but my design is without webserver, wrapped into an executable.
B
11
S
1
G
3
Posts: 22
Reputation: 2,061

Post » Tue Nov 03, 2015 3:06 am

C2 has never 'let' local access to C2 games. Though there are ways around that it's not an 'anymore' thing. C2 has always been designed that you run the game from some for hosting app. So NW.js for exe based operations. Otherwise you can use FireFox I believe that's lenient. Or back to running from a webhost as gumshoe2029 mentions.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,013

Post » Tue Nov 03, 2015 3:35 pm

Jayderyu, just don´t bet on it.
Since I remember, I just removed the warning script from index.html and they worked locally without hassle in any browser, and also on my html5 exe wrapper. I asked here just because I thought it was documented somewhere and assumed I missed it.

If it was an undocumented or unintentional feature, then probably no one noticed it other than me. Yesterday I installed the latest version and I noted the change.

Seems I will have to roll back to that older version.
B
11
S
1
G
3
Posts: 22
Reputation: 2,061


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests