image url cross platform

Discussion and feedback on Construct 2

Post » Fri May 06, 2016 9:28 pm

For variety I'm changing the texture of some tiled backgrounds, and tilemaps using the load image from url action by randomly choosing a file from the project files at runtime.
Thus far it works, at least in browsers for desktop, and mobile.
My question is does it work for all platforms? Android, Ios, apk, etc.

Basically my usage is something like load image from int(random(64))&"myimage.png"
Image ImageImage
B
169
S
50
G
170
Posts: 8,292
Reputation: 108,728

Post » Sat May 07, 2016 3:17 am

Of course, that's a pretty basic feature, you shouldn't have problems with it, my only advice is to use lowercase filename just in case (I had some issues with files not loading because of mismatched casing).
Image
B
76
S
28
G
12
Posts: 515
Reputation: 12,409

Post » Sat May 07, 2016 11:25 am

Just checked nwjs, and it works, at least in preview.
Thanks.
Image ImageImage
B
169
S
50
G
170
Posts: 8,292
Reputation: 108,728


Return to Construct 2 General

Who is online

Users browsing this forum: delgado and 9 guests