Hello,
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.
Develop games in your browser. Powerful, performant & highly capable.
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.
I can On Touched event with object animation checking ?
For sure
You can use instance variables, and various ways to achieve the same.
Thanks for your help ! Very good workaround.