Author Topic: Mappy loader problems  (Read 3503 times)

Offline kaotiklabs

  • Dr. Type
  • ****
  • Posts: 313
  • Spain is diferent
    • View Profile
Mappy loader problems
« on: 2008-Jun-12 »
Hi,

I´m using mappy as you adviced me against using big backgrounds sprites but I´m having some problems.

I´m using the mappy loader example, just for checking if all is allright, changing the tileset and the character. I´m using 60x60 tiles. 24b color.
I Have´nt changed any more code than the sprites and fmp file names.

The problem is shown when the background has to scroll. The tiles are 'jumping' between two positions when scrolling, like glitching.
It seems there is some problems when calculating new tile positions.
I know this isn´t a good explaination, but is difficult to describe.

Surely, I´m losing a step, but I don´t get it...

Im attaching the fma, fmp and tileset if needed for testing.

Must be said, I know theres a lot of job behind this loader and all my greetings for the programmer. I´ts really cool!  =)

[attachment deleted by admin]
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1793
    • View Profile
    • Homepage
Re: Mappy loader problems
« Reply #1 on: 2008-Jun-12 »
The problem is with the display routine wich isn't realy done yet. I just can't figure what I'm doing wrong but the vertical scrolling is working if you have higher resolution than 240 pixels. 640 x 480 is just fine. I'm having too much to do at the moment so I can only find a little time now and then between feeding, changing dipers and entertaining :-) I'm sure you can figure it out with the help of other examples, there is another tile-map scroller but with only boxes, mabe that can help?

Offline kaotiklabs

  • Dr. Type
  • ****
  • Posts: 313
  • Spain is diferent
    • View Profile
Re: Mappy loader problems
« Reply #2 on: 2008-Jun-13 »
Hi Moru and thanks for your reply.

I´ll try to take a look to your code this weekend.

Btw, have you got any info about the other tile-map scroller you mentioned?



Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1793
    • View Profile
    • Homepage
Re: Mappy loader problems
« Reply #3 on: 2008-Jun-13 »
This one I was thinking of

Offline kaotiklabs

  • Dr. Type
  • ****
  • Posts: 313
  • Spain is diferent
    • View Profile
Re: Mappy loader problems
« Reply #4 on: 2008-Jun-15 »
For your info.

If the screen res is a multiplier of the tile res, (600x600 if tile res is 60x60 for example) all is working fine.
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1793
    • View Profile
    • Homepage
Re: Mappy loader problems
« Reply #5 on: 2008-Jun-15 »
Ok, I know it's just a stupid mistake but I can't wrap my head around it just now.

Offline kaotiklabs

  • Dr. Type
  • ****
  • Posts: 313
  • Spain is diferent
    • View Profile
Re: Mappy loader problems
« Reply #6 on: 2008-Jun-15 »
Don´t worry mate, I totally undestand you  =)

I´ll take a deeper look when possible. (have very litle spare time too  :rant: )
Will keep you informated if I manage to do something.



Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!