Rail Sliding?

Get help using Construct 2

Post » Mon Mar 06, 2017 4:04 pm

i want to make a simple rail grinding like in sonic games. is this possible?
B
34
S
14
G
3
Posts: 138
Reputation: 4,353

Post » Mon Mar 06, 2017 5:12 pm

Probably possible, yes. You should do some sort of check for collision with a rail and then change animations accordingly. Be sure to change state (if using a state system such as state "Attack" or "UseItem")/animations once they're off the rail.
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
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Mon Mar 06, 2017 6:03 pm

Collisions first?
B
34
S
14
G
3
Posts: 138
Reputation: 4,353

Post » Mon Mar 06, 2017 6:05 pm

You can use invisible hitboxes for the rail surfaces and use if overlap checks.
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
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Mon Mar 06, 2017 7:10 pm

alright anything else i need to know?
B
34
S
14
G
3
Posts: 138
Reputation: 4,353


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests