Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
I am setting sprite image by "load image from url",
Good thing is that it works fine bad thing is that the image stays with sprite even when i change layout.
So My question is... How to clear a sprite image back to empty?
Develop games in your browser. Powerful, performant & highly capable.
You can probably load an empty image from a dataURI on layout changes.
Someone claimed this is the tinyest transparent GIF : "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
So "Load image from URL" and insert that previous line.
Thanks, That worked!
This Worked but caused crashes in some devices.
So is there any other way to do this?
PS: Shouldn't there be an unload image action?