Search found 3 matches

by RensLensvelt
Thu Dec 09, 2010 8:47 am
Forum: DS/DSi Development
Topic: 2 backgrounds 1 scrolling
Replies: 4
Views: 5478

Re: 2 backgrounds 1 scrolling

Here are 2 images.

The first is the map like i want to show it (png) I've put in some red blocks to make my problem more clear.
The second is a photo of the NDS running the program.

http://i871.photobucket.com/albums/ab278/rens_lensvelt/kaart.png

http://i871.photobucket.com/albums/ab278/rens ...
by RensLensvelt
Wed Dec 08, 2010 10:49 am
Forum: DS/DSi Development
Topic: 2 backgrounds 1 scrolling
Replies: 4
Views: 5478

Re: 2 backgrounds 1 scrolling

Sorry, didn't know you would need everything

this is the code so far

#include <nds.h>
#include <stdio.h>
#include <stdlib.h>

#include "kaart.h"
#include "logo.h"
#include "slider.h"
#include "dekantine.h"
#include "schuur2.h"
#include "schuur.h"




int main(void) {
int keys = 0;
//int sx = 0 ...
by RensLensvelt
Thu Dec 02, 2010 12:10 pm
Forum: DS/DSi Development
Topic: 2 backgrounds 1 scrolling
Replies: 4
Views: 5478

2 backgrounds 1 scrolling

I'm trying to get 2 backgrounds, one on the top screen and one on the bottom.
The bottomscreen has to scroll.

When i use this code the bottom screen seems to 'crash' it shows half of the image, but then double...


#include <nds.h>
#include <stdio.h>
#include <stdlib.h>

#include "kaart.h ...