No-Solid & Solid tweek

Get help using Construct 2

Post » Wed Oct 17, 2012 6:58 am

Hello everyone, I am new in this software and I am still getting used to it, and I got a question, hopefully you can help me

I recently did the How to make a Platform game tutorial, but a doubt popped my mind while in the step of making collisions with the Snail Page 7.

If the enemies are not solid, then the player can pass them, with damage of course, because they arent solid. But if you make the enemies solid, then the enemies cant pass each other (which is essential for the kind of game I want to make) and also somehow it becomes difficult to kill them with the Platform Jump (as shown in the tutorial).

Isnt there a tweek or something you know that can make the enemies solid against the player but not solid between them or the same family?

Please note that I do not posses a licensed version yet (I am still learning) Ruvier2012-10-17 07:34:03
B
9
S
1
Posts: 19
Reputation: 700

Post » Wed Oct 17, 2012 8:18 am

You can check the distance between Player and nearest enemy, when nearest enemy going near player, just creat some blank solid object and pin it to enemy everytick. And when enemy too faraway from player, destroy the blank solid.

I know there're a lot of way to do it.farsmile902012-10-17 08:19:47
B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Thu Oct 18, 2012 2:19 am

Would you have an example perhaps?
B
9
S
1
Posts: 19
Reputation: 700

Post » Thu Oct 18, 2012 3:03 am

Simplest way is add "solid" behavior for your " player", If enemy is a platform object, they can not pass when touching player.
B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Thu Oct 18, 2012 5:46 am

That worked! Thanks a lot :3
B
9
S
1
Posts: 19
Reputation: 700


Return to How do I....?

Who is online

Users browsing this forum: Colorfish, Waltuo and 4 guests