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.

Letter by Letter Message Problem!

o.o

Member

I'm using, the pretty simple
Letter by Letter Message Window
Version: 1.1

by Slipnot. And I'm having a problem (Being horribley bad at scripts)

Here is the part it says it's having problems with:
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize(x, y, text)
dumb = Bitmap.new(160, 42)
dumb.font.name = system.font
size = dumb.text_size(text).width
dumb.dispose
@back = Window_Base.new(x, y, size + 12, 32)
skin = system.nb_skin ? system.nb_skin : $game_system.windowskin_name
@back.windowskin = RPG::Cache.windowskin(skin)
viewport = Viewport.new(x + 6, y + 5, size, 22)
@back.z = viewport.z = 9999
super(viewport)
self.bitmap = Bitmap.new(size, 22) !!!THIS LINE!!!!
bitmap.font.name = system.font
bitmap.draw_text(0, 0, size, 22, text)
end
#----------------------------------------------------------------------



When I try to start up the game it says:
Blah blah blah
"Failed to create bitamp"

Any help would be greatly loved! :yes:
 

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