Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - drtwisted

Pages: 1
Ask a Question / Re: Collision bug (Stuck with tutorial kit)
« on: February 20, 2015, 06:55:13 am »
What behaviour do you have for the bullet? Is it killing itself? Make the enemy kill the bullet rather than the bullet killing itself.

Thanks a lot for the hint!

Seems like the bullet is killing itself earlier than the collision is processed for the enemy actor.
Fixed it by adding a tiny time-delay (0.01) befor killing/recycling the bullet actor.

Ask a Question / Collision bug (Stuck with tutorial kit)
« on: February 20, 2015, 06:17:19 am »
I have such a bug here.
I have created a game from the given kit.
Then I put some ( about 6) enemy actors around on the map.
When I try to shoot the enemies some of them die and others don't. It happens just randomly.
Also can be that this second enemy gets no damage, but the next it does.
I haven't much of coding experience with stencyl, so the only thing I've figured out is that the collision detection in Simple Health Behavior just sometimes don't work.
Can anyone tell me what could be possibly wrong with it? and how to fix it :)

P.S. I'm using the latest 3.2 version of Stencyl on Linux (reproduced on Windows as well)

Pages: 1