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.

no implicit coversion to float from nil

Occurred in rewrite of Sephs tile script, on Blue's custom rez script.....

i have 1440x900 monitor would this have anything to do with it? thats what the settings are on now, but even on 800x600 (min.), it does the same thing.

any thoughts?

here is the error:

def initialize(viewport, map = $game_map.map)
@layers = []
for l in 0...3
layer = ($game_map.tilemap_plane ?
Plane.new(viewport) : Sprite.new(viewport))
layer.bitmap = Bitmap.new(map.width * 32, map.height * 32)
layer.z = l * 150

error line>>>>>>>>>>> layer.zoom_x = $game_map.tilemap_zoom_x

layer.zoom_y = $game_map.tilemap_zoom_y
if (tone = $game_map.tilemap_tone).is_a?(Tone)
layer.tone = tone
end
@layers << layer
end

if it makes any difference, the above is for when "Continue" is selected from the Title screen.

new game is different error - "Argument Error ; bad volume for size" in Blue's script...

those details:

class Window_Message < Window_Selectable
#--------------------------------------------------------------------------
alias resolution_initialize initialize
def initialize
resolution_initialize
self.x = 80 *- Setup.variance
self.width = 480 *- Setup.variance
self.height = 160 *- Setup.variance
self.contents.font.name = 'Verdana'
>>>>>>>>>>>>>>>>> self.contents.font.size = Font.default_size * -Setup.variance <<error line
end

*update*

BlueScope;257341 said:
I wonder if you tried out the demo... if it works there, it's a problem with your game... for example a script that changes the Font module (very unlikely), or version issues... you need v1.02 upwards to use this.

Also, for larger resolutions then 640x480, the screen will be black outside this area... noone's been able to fix this by now.

i found this on Blue's custom script thread...I double-checked my version, turns out to be 1.02a, there is a 2.0 out, if it is XP am not sure, will follow up more....

*update*
Ok i downloaded the demo and that worked fine. So I must have entered something in wrong....will update again!!!

*update*
OK i gave up on it and am just gonna go with Selwyn's. My resolution doensnt want to work with that particular script.... =/

Thanks.
 

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