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 have a tile-able background object that I'm trying to toggle an effect associated with it on and off through left mouse click with very little success below are the events I am using to try to trigger it however no matter what i do ev if i create sub events it does not work
i cant get the image to display in the pos but heres the drop box link to the screencapture
dropbox.com/s/peyj30z9qjlvh4u/toggle%20issue.png
does anyone have any ideas?
thanks
Lobsetrbob
Develop games in your browser. Powerful, performant & highly capable.
What's happening is that set of code is constantly running, so when you click and deactivate it, the next line of code says oh it's deactivated, activate it. Next time you click it does the same thing.
I'll try to whip up a example.
Here is an example using a function and a boolean instance variable.
Toggle Sprite Visible / Invisible