[Plugin] Load Image from URL at runtime

Forum Home Forum Home > Construct 2 Development > Plugins for Construct 2
 Post Reply Post Reply Page  <12
Author
331 Rep
Post Options Post Options   Quote klukke Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar 2012 at 10:22am
Thank you for this post! Could you post an example file? - I'm a total newbie...!

Regards
Jens
Back to Top
2,859 Rep
Post Options Post Options   Quote juantar Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar 2012 at 10:26pm
@klukke: There should be a sample file named "loadimage_test.zip" in https://sites.google.com/site/jptarqu/downloads.

Thanks
Back to Top
3,196 Rep
Post Options Post Options   Quote cacotigon Quote  Post ReplyReply Direct Link To This Post Posted: 15 Mar 2012 at 7:31pm
@juantar
I can't really get either (tiledbackgroundfromurl, or loadurl) plugin to work very reliably. By disabling WebGL I can get loadurl to display an image on Firefox (though not on Chrome). The tiledbackgroundfromurl plugin makes use of a wait_for_textures call which I think is only useable in the object constructor, thus disabling the ability to load pictures at runtime. I do appreciate the hard work you put into this plugin though.

Thanks,
-- cacotigon
Back to Top
5,295 Rep
Post Options Post Options   Quote Pode Quote  Post ReplyReply Direct Link To This Post Posted: 16 Mar 2012 at 7:16am
@juantar : to make it work reliably, you need to use a trigger on the "onload" function.
Back to Top
354 Rep
Post Options Post Options   Quote vsasee Quote  Post ReplyReply Direct Link To This Post Posted: 02 Apr 2012 at 11:19am
Hi, i have the same problem. The plugin doesn't seem to work when the webgl is on. But when its off, it works. but the game lags as usual.

Originally posted by cacotigon cacotigon wrote:

@juantar
I can't really get either (tiledbackgroundfromurl, or loadurl) plugin to work very reliably. By disabling WebGL I can get loadurl to display an image on Firefox (though not on Chrome). The tiledbackgroundfromurl plugin makes use of a wait_for_textures call which I think is only useable in the object constructor, thus disabling the ability to load pictures at runtime. I do appreciate the hard work you put into this plugin though.

Thanks,
-- cacotigon
Back to Top
2,802 Rep
Post Options Post Options   Quote naelian Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2012 at 2:21pm
Hi everybody !

I have do some tests with juantar "Tiled Background From URL" plugin loading a tiledbg from url in a start layout event.

Ok this plugin don't work in webgl .. with me is working in chrome without webgl and not working at all in firefox (last 12 and last beta V15).

Despite this fact we really needed these kind of url plugins to make great projects with C2 !

SO VERY GOOD JOB @juantar !, you are a demigod for me ;-p

Someone knows if this project is stop or if someone else works on it ?

Edited by naelian - 27 May 2012 at 2:34pm

Back to Top
2,859 Rep
Post Options Post Options   Quote juantar Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2012 at 12:15am
@naelian there is now a much better plugin out there for this : http://www.scirra.com/forum/plugin-spriteurl_topic51261.html

I think it is actively maintained. I stopped working on mine to focus on the 3d plugin and the Xna exporter.

Thank you!
Back to Top
2,802 Rep
Post Options Post Options   Quote naelian Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2012 at 11:06pm
@juantar, thanks a lot !

Yes "spriteurl" is a good plugins too, working without webgl on every browsers tested. I hope his author will create also a "tiledbgurl" ... just because some browsers (firefox/opera/safari) put a 1px wide space between 2 side-by-side spriteurl either every times or when using a "scroll to" method ...

Good luck for your plugins Juantar, sure i will like them !

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down