Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Is it possible to change/get an image from a sprite? (like Event: "Load Image from URL")
// Get Sprite Instance
var myspriteobject = runtime.objects.Sprite.getFirstInstance
// How can i get/change the frame image from the sprite?
Develop games in your browser. Powerful, performant & highly capable.
It's not currently supported in the scripting APIs. What do you need it for? What kind of format do you need? It could be HTMLImageElement, ImageBitmap, Canvas, WebGL texture, ImageData...
I need this for a own workaround for this:
Currently, i can't check the external image are not loaded (wrong url or bad internet connection etc.)
Edit: And second, it allows me to load a spritesheet from an external url.
Edit 2: ImageData :)
I'd rather not add features to work around other missing features. The same work could be done to just fix the original problem. I'll take a look at that suggestion.