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
I have 2 objects of same size, OKTouch and NOTouch in the layout, and their place in the layout is specific (grid placement) and object type (OKTouch or NOTouch object) change depending of the level. (I use them for user touch in the event)
So how I can replace an object by another object in the layout editor (for example replace a OKTouch object by a NOTouch object without having to re-enter X Y coordinates of their placement in the grid) ?
Thanks for your understanding.
You can set the collision check on or off as you desire with events.
The collision checks are what trigger the button when a touch is over it.
The collision check have to be on for the 2 objects, because the OKTouch object add points and NOTouch object remove points.
Okay, this is a new behavior.
Make an object with two sprite animation, call each one as OKTouch, NOTouch.
Change the animation as necessary.
In the events, check the currently animation and do the desired event for each condition.
Develop games in your browser. Powerful, performant & highly capable.
I can On Touched event with object animation checking ?
You can use instance variables, and various ways to achieve the same.
Thanks for your help ! Very good workaround.