PDA

Voir la version compl鋈e : [無ibrary][Aide] Probl幦e avec des grandes images (anglais)


ys_
23/02/2008, 14h25
J'ai desol嶪 mais je vais 嶰rire cet message en anglais. Mon angais isn't very good, mais mon fran蓷is est terrible.

Hi!

I'm trying to follow the PALib wiki on creating a simple platfom game, but using 無ibrary instead. Until now I already have a Hero class and it works very well... now I'm taking into a part I need to load LARGE backgrounds.

In the past I've already made a simple calculator using 無ibrary ( http://acdrtux.es/files/2008/02/cutre4.jpg ) and I had some trouble loading HUGE backgrounds... loading two huge backgrouns into sprites and then moving them around lead into blank surfaces (same problem as http://www.playeradvance.org/forum/showthread.php?t=12305 ).

What is my best solution for this? Let's say I want to load a 1024x192 level at 4 bit colors, the hero, some tiled background... isn't that possible? Should I cut the level into small parts (512x192 by example) and then dynamically load them as I need them?

Thanks