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.

[RESOLVED]Something wrong with my Map

Yin

Member

Even in a new game, my map gives me an error on line 274 on the default game_character script. Undefined method for '*'. I just finished this map and it's irritating me that every other map of mine works. At first I though it was conflicting with custom scripts, but when I pasted it into a new project, it still gave me that error. Line 274 of game_character is
return z + $game_map.priorities[@tile_id] * 32
Can anyone help me fix this?
If you need the map, let me know and I'll pm it. I'll rename it map 001 so you can just paste it in a new project and see if it works for you. I really don't know what is wrong. I'm going to retry it and see if it works while I wait.
I'll probably get more help if I just post it... So here it is. In a Brand New project.

EDIT: I fixed it! Here was the problem just in case anyone has the same problem as me later down the line. I copied and pasted a tile event from another map so I can have a passability of x on an invisible event. It was reading the OTHER tileset which was bigger than the one I had on this map SO the tile never existed on that map. Stupid huh. I have to thank EJlol for the solution.
 

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