#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
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
I have also tried loading the map and tiles with two functions:
I did not forget to
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
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