Fireheart

Villager
Member
Joined
Aug 9, 2015
Messages
13
Reaction score
0
First Language
English
Primarily Uses
I want to give my player a "flash step" type move. If they press shift while facing the right, they will move 5 steps forward (if there are no objects in the way, of course), but the thing is, the player is so fast, it looks more like they teleported rather than ran 5 steps. I've been messing around with the Transfer Player event, but I've got nothing... Mind you, I want it to be an ability that's useable for most of the game, not only specific points so the regular transfer player, etc, won't work. TIA.
 

kiddeath95

Lead Trainie
Veteran
Joined
Mar 12, 2014
Messages
104
Reaction score
14
First Language
English
Primarily Uses
Have a Common Event that is parallel, do conditional branch to check if the user pressed the D and VK_LSHIFT or VK_RSHIFT (Virtual-Key Codes, and you'd have to go to the script part in the conditional branch) and then just do a set move route on the player, increase their speed to the fastest one and just move them over 5 spaces.

This was just at the top of my head, and not sure if you know ruby coding or not.
 
Last edited by a moderator:

GameDevon

Animagical Person
Member
Joined
Dec 12, 2015
Messages
16
Reaction score
20
First Language
English
Primarily Uses
Just off the top of my head:

  1. Play a teleport/smoke anim at the player location
  2. Using set movement route, crank the speed up to max, turn off transparency and move forward five steps. Turn transparency back on and set speed to normal.
  3. Play an arrival anim of sorts at the destination
Probably not as much flexibility as one might want, but passable for the little time it takes to set up i think
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,647
Reaction score
15,743
First Language
English
Primarily Uses
RMMV
Transfer IS teleport. So if you're using the transfer player command, that's exactly what it'll look like.


If you want them to move quickly, you could do a Set Move Route to increase the speed to 6, take 5 steps forward, and set the speed back to 4. You might need to experiment to ensure if something is in the way, it doesn't stall the game - maybe set Wait for Completion on, check the 'ignore if can't move' option, and change the speed back to 4 as the next command rather than part of the move route.
 

Fireheart

Villager
Member
Joined
Aug 9, 2015
Messages
13
Reaction score
0
First Language
English
Primarily Uses
So how do I set the Transfer Player up so that, for example, if the player is facing right, they move five spaces (across X), if they're facing up they move 5 spaces (across Y)?
 

kiddeath95

Lead Trainie
Veteran
Joined
Mar 12, 2014
Messages
104
Reaction score
14
First Language
English
Primarily Uses
Conditional branches, checking for each 4 directions. And then move that direction x amount of spaces.
 

Latest Threads

Latest Profile Posts

Challenging myself to make a game on the console versions of RMMV with alot of custom stuff, battle system is almost done, but holy heck is the interface and navigation so backwards on console ports. I've lost several hours of work because of design choices from that team!
If only RM had the capability to show whether a project has been edited, or not... like 99% of all other editors out there. That don't cost, too, or release new versions with very few features just to get the extra money... ugh, just too many basic features missing even after, what, two decades?
Surgically removing people's faces and grafting them on to other people is kind of fun.

(editing character art busts for my game)
I think sleep is like a foreign language to me.

Forum statistics

Threads
118,819
Messages
1,118,955
Members
156,003
Latest member
arsenic333
Top