I want to load Sprite Image during runtime from my PC storage (not from URL). How can I do that??
You mean using the file chooser object?
Develop games in your browser. Powerful, performant & highly capable.
No, I mean the actions for Sprite. Load Image from URL. Is there any process to load image from PC storage.
In the Projects view, right-click the Files folder. Then click Import Files.. (add the files you want to change during runtime there)
then use the Load from URL Action.. and just type the filename in quotes: "file.png"
Thanks a lot.
But I have faced a new problem-
Let I have changed the image of "Sprite1". All "Sprite1" images were changed. Is there any way to change the only last created Sprite image????
Thanks a lot. But I have faced a new problem- Let I have changed the image of "Sprite1". All "Sprite1" images were changed. Is there any way to change the only last created Sprite image????
It is because of the same texture of one sprite.
Take a look here:
https://www.scirra.com/forum/sprite-loadimage-from-url-is-working-wrong_t77930