Author Topic: Still Problems With Map Editor  (Read 4689 times)

Metallian

  • Visitor
  • *
  • Posts: 6
    • View Profile
Still Problems With Map Editor
« on: 2007-01-21, 08:48:56 PM »
If anyone could help me out I'd appreciate it.  I finally got my game in a zipped file.  I remade all of my tilesets and started a new project but I still get the same error.  "Invalid Procedure" and "Object variables not set" is what pops up.  I can't even finish a level!!!

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Still Problems With Map Editor
« Reply #1 on: 2007-01-22, 06:47:24 AM »
Your map isn't tall enough.  You have the map display set to 480 pixels tall, but the layer is only 200 pixels tall.  There aren't enough tiles to fill the screen, so some places that you try to put tiles don't have any memory reserved to hold the tiles.  Specifically, you will notice that if you move the pointer into the top half of the screen, the tiles coordinates are negative.  If you try to put a tile in a negative location, you'll get an error.  To fix the problem just change the height of your map to be at least 480 (the height of the display) and then hit the Update Map button.