接上次的内容,我们在initialize里加两句。
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.draw_text(0,0,80,30,"额啊")
我们运行游戏,文字应该显示出来了,可以用这个当地图名。
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.draw_text(0,0,80,30,"额啊")
我们运行游戏,文字应该显示出来了,可以用这个当地图名。