Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

RMVX Transfer Player

Hey everyone,

Okay I have been playing around with my new RMVX and I was curious, is there anyway to have it so that when you transfer a player it doesn't fade out?

Thanks.
 
Are you wanting this for map seaming?  (joining adjacent maps)

Intall this above 'main', in the (Insert Here) section...

Code:
class Scene_Map
  
  $fade_time = 30
  #--------------------------------------------------------------------------
  # * Player Transfer  Processing
  #--------------------------------------------------------------------------
  def update_transfer_player
    return unless $game_player.transfer?
    fade = (Graphics.brightness > 0) and $fade_time != 0
    fadeout($fade_time) if fade
    @spriteset.dispose              # Dispose of sprite set
    $game_player.perform_transfer   # Execute player transfer
    $game_map.autoplay              # Automatically switch BGM and BGS
    $game_map.update
    Graphics.wait($fade_time / 2)
    @spriteset = Spriteset_Map.new  # Recreate sprite set
    fadein($fade_time) if fade
    Input.update
    $fade_time = 30
  end
end

If you want the transfer without the fade, add a 'Event' command

$fade_time = 0

before the transfer.

Be Well
 
What I meant by "map seaming", is overlapping maps, and using a 'no-fade' transfer to make it appear like you are still on the same map. You have to build an extra 8 tiles (10 for XP) in each direction that the player can't walk on, and they also match the adjacent map.  Then your transfer occurs when the player is still in the center of the screen, and even though you are on a new map, you didn't notice the transfer.

This script will also work for 'seaming'. That's how I tested it.

Be Well
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top