Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scrolling maps (Not 100% Working)
#16
Just read through quickly but it doesn't seem anyone explained this:

When you change the values for MAX_MAPX and MAX_MAPY you also need to resize picScreen.

So, if you changed it to this:

MAX_MAPX = 25
MAX_MAPY = 30

then you need to do this:

25x32=800 'Multiply MAX_MAPX by the width of your tiles
30x32=960 'Multiply MAX_MAPY by the height of your tiles

Change the height and width of your picScreen to those values:

picScreen.height = 960
picScreen.width = 800

For those of you who don't know how to do this... open up frmMirage. Left click on picScreen. In the attributes list, look for height and width and change to these values.

Otherwise the character sprites disappear as a result of walking on tiles that exist but can't be seen. I assume that's why you would be losing the sprites and not getting any compiler errors.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)