#102551 - Caladus - Fri Sep 15, 2006 4:33 am
I am currently working on a simple rpg-ish demo program that uses all the tools the ds provides that I can get into it. I have hopes of documenting it and posting it to help other newbies like me.
I currently have 2 exrot's (main and sub) one is 512x512x8 and the other is 256x256x16. I also have sprites, movement and simple animations. My next goal is to draw a tiled background ontop of the 512x512. I have VRam A and B set to MainBG for the 512 and C and D are for the 256 and sprites. I have now assigned VRam E to MainBG for use with this new tiled backgroud. I am having trouble understanding the screenbase and mapbase concept. I seem to be writing data over my other bgs and I am not sure which values to use to get it to write into VRamE, or even if this setup is feasable. If anyone can give a quick rundown of how to write the tile data and tile map and all other necessary bits (the tiles use the same palette as the 512) to help me display it, I will be very greatful and I believe it will help others than just me. Thanks
I currently have 2 exrot's (main and sub) one is 512x512x8 and the other is 256x256x16. I also have sprites, movement and simple animations. My next goal is to draw a tiled background ontop of the 512x512. I have VRam A and B set to MainBG for the 512 and C and D are for the 256 and sprites. I have now assigned VRam E to MainBG for use with this new tiled backgroud. I am having trouble understanding the screenbase and mapbase concept. I seem to be writing data over my other bgs and I am not sure which values to use to get it to write into VRamE, or even if this setup is feasable. If anyone can give a quick rundown of how to write the tile data and tile map and all other necessary bits (the tiles use the same palette as the 512) to help me display it, I will be very greatful and I believe it will help others than just me. Thanks