GLBasic forum

Main forum => GLBasic - en => Topic started by: kaotiklabs on 2008-Jun-12

Title: Mappy loader problems
Post by: kaotiklabs 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]
Title: Re: Mappy loader problems
Post by: Moru 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?
Title: Re: Mappy loader problems
Post by: kaotiklabs 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?



Title: Re: Mappy loader problems
Post by: Moru on 2008-Jun-13
This one (http://www.glbasic.com/forum/index.php?topic=1336.0) I was thinking of
Title: Re: Mappy loader problems
Post by: kaotiklabs 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.
Title: Re: Mappy loader problems
Post by: Moru on 2008-Jun-15
Ok, I know it's just a stupid mistake but I can't wrap my head around it just now.
Title: Re: Mappy loader problems
Post by: kaotiklabs 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.