Why is my enemy not wrapping?

Get help using Construct 2

Post » Mon Mar 11, 2013 6:37 am

Title says it all. EnemyCrescent has the Wrap behavior but is clearly not wrapping. Easiest way to test this is to collide with the enemy and watch it go off the screen.

Also, if anyone has any ways on optimizing my physics for a more realistic collision, tips are appreciated :)

Go to post #4 for the latest update.Excal2013-03-11 09:52:20
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194

Post » Mon Mar 11, 2013 7:23 am

Okay, the enemy not wrapping has to do with the fact that it is not accelerating due to it's speed being dropped to zero on impact (only way I could get the impulse to work).

I'm not sure how to simulate realistic colliding physics while also causing the enemy to accelerate to counteract the collision impulse and eventually start chasing the player again.
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194

Post » Mon Mar 11, 2013 9:11 am

I've cleaned up the project a bit and removed aspects I felt were unnecessary.

I changed Bullet behavior with Pathfinding behavior, although I'm not sure the settings I've used are optimal (I'm finding a new path and regenerating the obstacle map every 0.5 seconds).

Collisions aren't working and I don't know why. My goal is to have the player and enemies collide and then bounce off each other.
Excal2013-03-11 09:20:14
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194

Post » Mon Mar 11, 2013 9:21 am

Updated file. The 500 reputation limit is kind of annoying right now; should probably be 250.

Collision and Wrapping Not Working
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194


Return to How do I....?

Who is online

Users browsing this forum: christina and 21 guests