Author Topic: walking through a tile  (Read 6832 times)

SmartBoy16

  • Contributor
  • Fanatic
  • **
  • Posts: 587
  • Looking for inspiration.....
    • View Profile
    • Email
walking through a tile
« on: 2008-04-30, 11:36:43 AM »
i sort of noticed this with some games, but whenever the prite is either taller or wider than a single tile, you can walk right through the right or top sides of the tile. (the wizards demo somewhat shows this)
Looking to the skies.....

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: walking through a tile
« Reply #1 on: 2008-04-30, 12:03:18 PM »
This is a known problem, and is due to the way that collision detection occurs.  You can either choose to split the sprite into two sprites, or change the tileset size.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: walking through a tile
« Reply #2 on: 2008-05-01, 06:28:49 AM »
... or change the sprite size, or lay out your tiles differently, or use SGDK2  ;D