Problem with Collision-Event
Hello everybody
I have a problem with a Collision-Event in the Event Editor. I have 2 objects
1) Player-Object (Rac Car Movement)
2) Ball
I have added a new condition:
=> Collision between "Player-Object" and "Ball"
The problem is; this 2 Actions doesen't works!:
=> Destroys the Ball
=> Add 25 to the Counter
Some lines in the Event Editor are written in red color, maybe that's the problem. But why the lines are writen in red color? Here is a Screenshot:
http://img718.imageshack.us/img718/4...rotezeilen.png
By sjenny83 at 2011-04-22
Re: Problem with Collision-Event
easy bit first...
The red is standard format for certain events. There is probably a guideline somewhere. Generally it makes reading the code more clear.
Which bit doesn't work - the destroy or the counter +?
Not sure but I would try adding 'only one action when event loops' to your collision event.
Re: Problem with Collision-Event
Quote:
The red is standard format for certain events. There is probably a guideline somewhere. Generally it makes reading the code more clear.
ok, thanks for that info!
Quote:
Which bit doesn't work - the destroy or the counter +?
both
Quote:
Not sure but I would try adding 'only one action when event loops' to your collision event.
hm... no, it didn't works!
Re: Problem with Collision-Event
It would help if we could see your actions as well. Maybe screen cap the Event List Editor.
Also, check to make sure both objects are on the same layer. That one gets me every time. ;)
Re: Problem with Collision-Event
Hey mobichan!
Quote:
Also, check to make sure both objects are on the same layer. That one gets me every time.
That was the problem! Thank you!