I want to make a Tron game where you throw a disc. After a few "bounces" off the walls of the arena, it should return to you. However, I don't know how. Please keep iun mind that I am fairly new to Construct.
I would give the disc a bullet behaviour and a instance variable for bounces - for every bounce you add to it, and then add something like Bounces > 3 (<== Your limit) lerp(Disc.X,Player.X,dt) erp(Disc.Y,Player.Y,dt) - thiss will make it move back towards the player - you an change the dt*2 or dt*4 or something else to change the speed. This should give a general idea of how to do this, give it a try.
you could doit like this
I have currently made it return, now I just need to come up with a way to make it delete after second contact with the Player...
Develop games in your browser. Powerful, performant & highly capable.
Use variables to destroy it
Have you tried it like this:
Condition: When (disk) is overlapping with (player)
Action: Destroy (disk)
Mathijs90 which disk you talking about? Could you not use variable?