gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Help loading BG with PAlib! [help achieved]

#47745 - Ferakk - Wed Jul 13, 2005 12:09 am

I am trying to load a background on the DS with PAlib, but I just can't get it working!

I managed to load the correct PAL with
Code:
 PA_LoadPal();


I don't know if the tiles nor the map itself have been loaded. I've tried loading the map and tiles togheter with the
Code:
 PA_LoadBg();


I have also tried loading the map and tiles with two functions:
Code:
PA_LoadBgMap();
and
PA_LoadBgTiles();


I did not forget to
Code:
PA_ShowBg();
and
PA_InitBg();


It is also very confusing because when I should name my map or tile in diffrent functions the examples are not the same. Sometimes it says I must add a pointer "(void*)", and sometimes I should only type the name in the c file itself.

I have searched on many diffrent sites and looking through many examples and documentations but I'm stuck... If you think I am outside bicycling and if you know a easy way how to show a background with the PAlib please help me.

// Thanks in advance
_________________
I dig.


Last edited by Ferakk on Wed Jul 13, 2005 3:22 am; edited 1 time in total

#47752 - arog - Wed Jul 13, 2005 2:16 am

This question is probably better asked on the PA Lib forums:
http://teamnnc.free.fr/html//modules.php?name=Forums

Specifically, have you read the following?:
http://teamnnc.free.fr/html//modules.php?name=Forums&file=viewtopic&t=2

- Aaron Rogers
http://www.aaronrogers.com/nintendods/

#47758 - Ferakk - Wed Jul 13, 2005 3:10 am

wow a tutorial for the PAlib found on the PA forums... I wonder why I didn't check there yet....?xD I think all my problems + more are covered up in that tutorial, looks promising. Gonna check it later because I'm going to bed now. Thanks alot! :)

And since I have the opportunity I'm going to thank you again for your HAM tutorials, I've created alot with the help from them. Thanks.


- Goodnight
_________________
I dig.

#47774 - arog - Wed Jul 13, 2005 6:35 am

Quote:
And since I have the opportunity I'm going to thank you again for your HAM tutorials, I've created alot with the help from them. Thanks.


Good, well maybe you'll like my PA Lib tutorials. I just starting putting them up on my website though they're no near ready.

http://www.aaronrogers.com/nintendods/PA_Lib/

- Aaron Rogers
http://www.aaronrogers.com/nintendods/

#47830 - Ferakk - Wed Jul 13, 2005 11:36 pm

That's good.???
I see one there already. I'm looking forward to go through them when they are done.
_________________
I dig.

#47836 - Ferakk - Thu Jul 14, 2005 12:05 am

I just tired out that link you gave me to mollusks tutorial, and it worked. Jippie!

I'm talking about the background, not the link .)
_________________
I dig.