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.

A script error

I get this error about 1 min into playing my game with the script:

Script '** Ccoa_TilesetSwap' line 79: NoMethodError occured.
undefined method 'tileset_name' for nil:NilClass
 
check the event that you are walking over when you get the error.
It should have the line

$game_map.change_tileset(#)

where the '#' is the number of the tileset you want to switch to.

Make sure the number references an existing tileset from your database.
 

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