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
172
S
50
G
183
Posts: 8,443
Reputation: 115,605

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
82
S
30
G
12
Posts: 517
Reputation: 12,763

Post » Sat May 07, 2016 11:25 am

Just checked nwjs, and it works, at least in preview.
Thanks.
Image ImageImage
B
172
S
50
G
183
Posts: 8,443
Reputation: 115,605


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests