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
As the question suggests, is it possible to use DeleteTexture(texture) to release resources when the instance is destroyed?
DeleteTexture(texture)
Thankyou
Develop games in your browser. Powerful, performant & highly capable.
Destroyed instances should not be used at all. If you need to run any extra cleanup code, make sure it happens upon the instance being destroyed, not afterwards.
thanks Ashley. but how can i do that? a doc link would be a bit more helpful. thanks
Never mind, found a way to do that. Thanks :)