How do I relocate Images folder to an external URL?

Get help using Construct 2

Post » Tue Jun 27, 2017 9:24 pm

Hello,

I am looking into creating HTML 5 games with Construct 2 and one potential hurdle I cannot find a solution for is whether I am able to have a game load its image assets from a folder located on a different server or file location that differs from the typical /images.

Ideally, I would be able to load up my construct 2 HTML 5 game and have its index in one location that connects to an image folder that is shared on a server in a different location.

Is this possible?

Thanks!
B
3
Posts: 4
Reputation: 183

Post » Tue Jun 27, 2017 10:13 pm

It's not supported due to lag times, cross domain issues etc.
Many of the plugs have the ability to load textures via url however.
Image ImageImage
B
169
S
50
G
169
Posts: 8,286
Reputation: 108,216

Post » Wed Jun 28, 2017 7:16 pm

Thanks for the reply,

Does this mean that even if i go into the c2runtime.js file and edit line 3607 "this.files_subfolder = " " I could not put a URL there to where an images folder is hosted?

Thanks again.
B
3
Posts: 4
Reputation: 183

Post » Wed Jun 28, 2017 8:55 pm

If it doesn't work when you do it, then I'd say probably not.
Image ImageImage
B
169
S
50
G
169
Posts: 8,286
Reputation: 108,216


Return to How do I....?

Who is online

Users browsing this forum: marcinkowski, unicornspitfire and 67 guests