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.

[Resolved] Turning a map into a battle background

Hi All,

Does anyone have any ideas on how to turn a map screen (the playable map) into a battle background via script?

I'm trying to make a CBS, one that displays the current map background, I've alread figured out how to change the player's battler into the current player's graphic, now if I could just get the battleback to show the current map screen without making another instance of Scene_Map or Spriteset_Map.

I'm sure there's a way.

Anyway, if I get it to work I'll post the new CBS.

Any help is appreciated.

Thanks,

-Web
 

Anonymous

Guest

Sorry, but that won't work. Under your initialize, add @spriteset = Spriteset_map.new and under your dispose, put @spriteset.dispose - that should work. Hope that helps!

Edit: You may also need @spriteset.refresh in your refresh method/update method. I don't know yet ^_^
 
Thanks guys,

I appreciate the help.

I ended up figuring it out, I'm just working on an SDK compliant version then I'll post it.

Here's what I did:
1) The spriteset map thing, and I just eliminated the spriteset_battle lines
2) Used the event id to calculate animation positions on a target (single target attack)
3) Drew actor animations on the $game_player.screen_x and screen_y coordinates.

Thanks again!

-Web
 

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