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
27
S
12
G
3
Posts: 122
Reputation: 3,946

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
47
S
24
G
30
Posts: 517
Reputation: 19,464

Post » Mon Mar 06, 2017 6:03 pm

Collisions first?
B
27
S
12
G
3
Posts: 122
Reputation: 3,946

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
47
S
24
G
30
Posts: 517
Reputation: 19,464

Post » Mon Mar 06, 2017 7:10 pm

alright anything else i need to know?
B
27
S
12
G
3
Posts: 122
Reputation: 3,946


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests