Search found 224 matches

by vuurrobin
Fri Feb 20, 2009 10:00 pm
Forum: DS Development
Topic: Palette and PrintConsole and more...
Replies: 8
Views: 3490

Re: Palette and PrintConsole and more...

255 for the text, not sure about the background. #include <nds.h> #include <cstdio> int main(void) { powerOn(POWER_ALL_2D); consoleDemoInit(); BG_PALETTE_SUB[255] = RGB15(31, 0, 0); printf("Hello World"); return 0; } I dont really understand you second part, but thats probably just me. I dont have t...
by vuurrobin
Fri Feb 20, 2009 10:50 am
Forum: DS Development
Topic: Console problems: Font is too big
Replies: 7
Views: 3012

Re: Console problems: Font is too big

the hardware uses tiles of 8*8 pixels, so its not easely possible to put text at a position thats not a multiple of 8. to do this means that you can't let the hardware do it and that you have to draw the text on it yourself, which will be both slower and bigger. you can also shift the entire backgro...
by vuurrobin
Fri Feb 20, 2009 10:38 am
Forum: devkitARM
Topic: Compiling NDS sample code
Replies: 2
Views: 3145

Re: Compiling NDS sample code

did you manually installed it or used the windows installer? the rule files should be at $(DEVKITARM)/ds_rules, so you may want to check your DEVKITARM enviroment variable. it should point to something like /C/programs/devkitPro/devkitARM (thats where its pointing to with me using the windows instal...
by vuurrobin
Mon Feb 16, 2009 10:58 pm
Forum: DS Development
Topic: Elevator Guide to Grit
Replies: 4
Views: 9796

Re: Elevator Guide to Grit

hello I'm trying to get this to work, but I'm having some troubles. first I updated the code so it worked with the current libnds, and this was the result: #include <nds.h> #include "beerguy.h" int main() { powerOn(POWER_ALL_2D); // enable the main screen with background 0 active videoSetMode(MODE_0...
by vuurrobin
Sun Feb 15, 2009 12:14 am
Forum: DS Development
Topic: libnds 1.3.1 & DevkitARM r24
Replies: 4
Views: 3460

Re: libnds 1.3.1 & DevkitARM r24

emulators aren't always that reliable. try it on hardware, if it works there, it works.
by vuurrobin
Fri Feb 06, 2009 12:05 am
Forum: DS Development
Topic: different versions of the makefile with the examples
Replies: 4
Views: 2402

different versions of the makefile with the examples

I noticed that the nds examples have different versions of the makefile. some include targets to convert images with grit, some for sound to be converted with mmutils (maxmod utils?) and some has neither one of them. is it possible to create 1 makefile and use that with every example (exept for spec...
by vuurrobin
Thu Feb 05, 2009 11:57 pm
Forum: DS Development
Topic: libnds documentation incomplete?
Replies: 7
Views: 4678

libnds documentation incomplete?

hello everybody I've been looking in the libnds documentation for some time, and I noticed that there are some things that aren't in there. now it could be that they aren't included because they are very small and that is seems unnecesairy to put it in, but I think that it's very usefull to include ...
by vuurrobin
Sat Jan 31, 2009 8:03 pm
Forum: devkitARM
Topic: Looking for a good game to see how it's done
Replies: 1
Views: 1972

Re: Looking for a good game to see how it's done

I suggest you look at the libnds examples that are included with devkitarm, they show how to do alot of things on the nds.

there are probably some open source nds games out there, but none that I can think of from the top of my head.
by vuurrobin
Fri Jan 09, 2009 1:12 pm
Forum: DS Development
Topic: clearifing something up with sprites [SOLVED!]
Replies: 22
Views: 8717

Re: clearifing something up with sprites

for using grit, you can look at the beginners tutorial made bij wintermute in the grit subforum: http://forums.devkitpro.org/viewtopic.php?f=22&t=17 in short, grit takes the images from the gfx map and a grit rulefile for each image, and converts it into the right binary file and a header file that ...
by vuurrobin
Tue Jan 06, 2009 5:53 pm
Forum: Suggestions and Feedback
Topic: online docs
Replies: 3
Views: 3097

Re: online docs