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
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
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
does anyone have any ideas?
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.
Develop games in your browser. Powerful, performant & highly capable.
Here is an example using a function and a boolean instance variable.
Toggle Sprite Visible / Invisible