How do I not make solid blocks "walkable" on the sides?

Get help using Construct 2

Post » Thu May 19, 2016 1:56 am

If I take platformer, and add a floating solid block in the air,

if I walk towards it in the air, my character gets 'stuck' there.

I can jump another time if I want, I think the game thinks I am standing on the ground?

The block is just a regular 20x20 size and its NOT tilted (totally flat in the air)
B
21
S
9
G
8
Posts: 188
Reputation: 6,069

Post » Thu May 19, 2016 2:03 am

Try giving the block the Jumpthru behavior instead of Solid.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,106

Post » Thu May 19, 2016 2:09 am

linkman2004 wrote:Try giving the block the Jumpthru behavior instead of Solid.


I dont want to be able to jump from beneath, its just like a standard floor, but in the air (Lets say like multiple ways to walk?) (Different paths?)
B
21
S
9
G
8
Posts: 188
Reputation: 6,069

Post » Thu May 19, 2016 5:36 am

Try changing the collision map, so it only covers a portion of the whole sprite (i.e, leave the top blank)
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
47
S
24
G
30
Posts: 517
Reputation: 19,464

Post » Thu May 19, 2016 6:04 am

Ok

1) Make an invisible block (sprite)

2) make the invisible sprite the one with collision detection, not your main player.

3)Set the invisible sprite to the center of your player.

Download the example that I showed you before it solves a lot of problems you will come across.
Check out my awesome Android Game releases https://play.google.com/store/apps/deve ... ames&hl=en
B
38
S
18
G
24
Posts: 681
Reputation: 16,613


Return to How do I....?

Who is online

Users browsing this forum: alextro, stevenode and 6 guests