This is what i have so far, it sorta works, the player hits the brick and a coin comes out but the player goes through the brick. How do fix this? Thanks in advance.
dunno what you mean…but maybe you should add a platformer behaviour to brick and disable it when brokenbrick
Just double checking, you added the “Platform” behaviour to the brick right?
When I use platform behavior it doesn’t even touch the brick from the bottom but I can run on top of it. Without the platform behavior I can go through the brick and get a coin. Thanks for replying.
You can check ‘point inside object’ instead of collision. A point just above the players head - add a custom point or you could use something like player.X(),player.Y()-(player.Height()/2+10)
Just noticed the the timer condition is a sub condition of the collision…did you mean that?
It means that it’s only checking the timer condition when in collision and I can’t see anything there to raise the ‘collision count’ variable …I guess these aren’t all the events
