Save-Point

Full Version: Save-Point
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Board Message
Sorry, you do not have permission to access this resource.
Save-Point - Diagonal Movement+

Save-Point

Full Version: Diagonal Movement+
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello! I know, how weird, a scripter making a script request lol. Truth is I've got my hands tied with bigger tasks such as spriting and experimenting with CBS demos, so this request would really help me out :D

Anyways, what I'm requesting isn't related to full on pixel movement systems, this still remains the standard grid-based map walking that RM always has been. What I'm needing is a system that would allow me to manipulate diagonal movement for certain points and events on my maps. As demonstrated in the below example, diagonal movement is strictly linear...

[Image: moveline-figA.png]

...I want to be able to put something in an event that would declare a dynamic diagonal move, such as...

[Image: moveline-figB.png]

To define something like that, your event would look something like...

Code:
# NOTE: The 'diagonal_move(2, 1)' in this event is
# telling the player to move in a diagonal beeline
# two tiles left and one tile down.

Conditional Branch: Input LEFT
  @> Move Route : Player
  Script : diagonal_move(2, 1)
End Branch

...And with that, I would be able to make dynamic things on my map such as curvy bridges...

[Image: moveline-figC.png]

...or create a mountain climbing event which the player has to scale up and down and diagonally and yadda yadda...

[Image: moveline-figD.png]

Thank you to anyone who takes interest in this request ;D