Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vehicle Jump Glitch not supported #1852

Closed
Ghabry opened this issue Jul 22, 2019 · 8 comments · Fixed by #2208
Closed

Vehicle Jump Glitch not supported #1852

Ghabry opened this issue Jul 22, 2019 · 8 comments · Fixed by #2208

Comments

@Ghabry
Copy link
Member

Ghabry commented Jul 22, 2019

Setup these horizontal tiles:

Tile Event
Water  
Water Ship
Grass  
Grass Touch Event
Grass Player

Player Touch Event:
@> Set Move Route: Player, Freq8, Move Left
@> Wait: 0.0 seconds
@> Set Move Route: Ship, Freq8, Jump , Move Down, Land
@> Get On/Off Vehicle

Move to the left and have some fun.
The glitch even continues when you leave and reenter the ship :)

Video:
vehicle-jump.zip

@fmatthew5876
Copy link
Contributor

I can't reproduce this in a test game. Is your code example correct?

Also the issue says vertical tiles, but these need to be setup horizontally left to right.

@Ghabry
Copy link
Member Author

Ghabry commented Jan 13, 2020

Attached a map, the place where you have to put the Ship has a visual indicator:
Map0001.zip

Yeah is is horizontal and the touch type is "Player touch". Sorry!

Screenshot_20200113_113307-fs8

@CherryDT
Copy link

CherryDT commented Mar 7, 2020

That glitch is hilarious. Learned something new again.

@fmatthew5876
Copy link
Contributor

fmatthew5876 commented Mar 7, 2020

Ahh ok I didn't realize you had to walk around to reproduce it. Yeah I see it now. I don't have linux available this weekend so I can't easily check LSD chunks.

My suspicion is that somehow boarding the ship cancels it's move route but doesn't clear the jump flag. So the ship is permanently stuck as jumping and so all movement looks like that.

You can reproduce this even simpler by putting the touch event right next to the step and just doing

Set Move Route: Ship, Jump, Move down, land
Get On/Off Vehicle

Step on it from the left, facing the ship and it'll trigger

@fmatthew5876
Copy link
Contributor

fmatthew5876 commented May 12, 2020

Here's another jump glitch

Make a trigger event with

SetMoveRoute: Jump, End Jump, Foward

Now trigger the event facing left, right, or up

Result:

The event will jump in place, the step down while facing the same direction.

This happens because of 2 things:

  • For a jump in place RPG_RT sets direction to down but does not change sprite_direction.
  • RPG_RT doesn't change the sprite_direction when using MoveFoward command.

@fmatthew5876
Copy link
Contributor

This is now implemented in #2208

@carstene1ns carstene1ns added this to the 0.6.3 milestone May 15, 2020
@fmatthew5876
Copy link
Contributor

fmatthew5876 commented Aug 20, 2020

Here is another glitchy but useful test case

Tile Event
Grass Player
Grass Ship
Water Boat

Ev01 Parallel

Wait 0.5s
Set Airship location to ship location
Enter/Exit Vehicle
Enter/Exit Vehicle
Erase Event

Result: Hero boards the boat, on the same tile as the ship!

@fmatthew5876
Copy link
Contributor

And another

Tile Event
0 Grass Player
1 Grass
2 Grass
3 Grass

Ev01 parallel:

Wait 0.5s
Set Boat loation tile 1
Enter/Exit Vehicle
Set Boat loation tile 2
Enter/Exit Vehicle
Set Boat loation tile 3
Enter/Exit Vehicle

Result player warps to tile 3 and boards the boat there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

4 participants