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.

bitmap -> save

hello i need a few functions:

- to make a game shot of the map in a bitmap object without to save it in a file

- to dump a bitmap object in a game-save file


-> to show a part of a map in a bitmap ( but the player is not on the map)


EDIT: i would be great if are this functions usable in both makers
 
1) VX has a built in method to take a screenshot and put in a Bitmap. (Graphics.snap_to_bitmap).  For XP, you'll have to use an external API for this (I think the MACL has one?)

2)
Code:
class Font
  def marshal_dump;end
  def marshal_load(obj);end
end
  
class Bitmap
  # メモリ転é€
 
1.
does the VX not make a blur effect? (i think i need it without)
im look for xp in macl
( this in the macl only makes a scene shot in a file... but i need a shot in a bitmap object)

2.
thx
3.
i mean it ala a little window where the events are walking..
so you can see what happening on a map that you are not
( i will build this in a quest log so you can see a picture of the chara witch has give you that quest)
ala Vampires Drawn II
 
VX only adds the blur effect only if you call aBitmap#blur or aBitmap#radial_blur

For that, you'd need to create script a separate Spriteset_Map, but have it load from a different map and not show the character
 

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