Search found 221 matches
- Thu May 21, 2009 10:28 pm
- Forum: DS/DSi Development
- Topic: Help starting with libnds please?
- Replies: 1
- Views: 3170
Re: Help starting with libnds please?
the makefile is used to automate the entire proces of compiling and linking the code for the arm 7 and 9 binarys, adding those binarys together with a correct header ect. it can also convert images and other files automaticly. I have little to no experience with visual studio, so I cant say if its s...
- Thu May 21, 2009 10:13 pm
- Forum: DS/DSi Development
- Topic: questions about libnds
- Replies: 2
- Views: 6373
Re: questions about libnds
thanks for all the anwsers, Sylus101. 1. if its taken care of by libnds, then I don't have to worry about it. I just wanted to make sure that I dont get undefined behavior later on. 2. I figured out how to get bmp sprites. you need to use 'SpriteColorFormat_Bmp' when specefying the bitdebth with oam...
- Sat May 16, 2009 12:36 am
- Forum: DS/DSi Development
- Topic: questions about libnds
- Replies: 2
- Views: 6373
questions about libnds
hello everybody I have some questions about the libnds sprite functions, and some documentation 'bugs'. first the questions: 1. I always thought you needed to enable which background you want to use and if you want to use sprites when calling videoSetMode(). however, I found that it also works witho...
- Fri May 15, 2009 8:03 am
- Forum: DS/DSi Development
- Topic: Bginit using registers
- Replies: 3
- Views: 4981
Re: Bginit using registers
sorry, you need to use BG_32x32 to specefy that you want to use a text background with 32*32 tiles (= 256*256 pixels) and BG_COLOR_256 for a 256 color text background.
if you look here, you can see al the different enums:
http://libnds.devkitpro.org/a00108.html ... 2ea5e90460
if you look here, you can see al the different enums:
http://libnds.devkitpro.org/a00108.html ... 2ea5e90460
- Thu May 14, 2009 10:32 am
- Forum: DS/DSi Development
- Topic: Bginit using registers
- Replies: 3
- Views: 4981
Re: Bginit using registers
if you look here, you see that background 3 is an extended rotation background in mode 5. it is already determent in hardware, so you don't have to specify it.
as for the size, I think you need to include BG_BMP8_256x256 when initialising REG_BG3CNT.
as for the size, I think you need to include BG_BMP8_256x256 when initialising REG_BG3CNT.
- Wed May 13, 2009 9:03 pm
- Forum: DS/DSi Development
- Topic: RGB15 does not work
- Replies: 6
- Views: 5927
Re: RGB15 does not work
its ARGB16(), defined in sprite.h
sorry, my bad
sorry, my bad
- Wed May 13, 2009 12:03 pm
- Forum: DS/DSi Development
- Topic: Random Number...
- Replies: 6
- Views: 7463
Re: Random Number...
time is just a function that a number. so srand will always use the time it was given when you called time().
however, you only have to call srand() once. when you call rand(), it will change the seed for you, so calling rand() twice should give you 2 different numbers.
however, you only have to call srand() once. when you call rand(), it will change the seed for you, so calling rand() twice should give you 2 different numbers.
- Tue May 12, 2009 8:19 pm
- Forum: DS/DSi Development
- Topic: RGB15 does not work
- Replies: 6
- Views: 5927
Re: RGB15 does not work
not sure about MODE_FB1 or bgOffset, but if you're not working with the framebuffer, you need to set the alphabit that tells if the pixel is visible or not. if you use RGB16(1, 31, 31, 31) it should work with mode 3. as for links, have you looked at pataters manual and dev-scenes tutorial ? they may...
- Thu May 07, 2009 10:09 pm
- Forum: User Contributions
- Topic: Own ROM file finder for libfilesystem
- Replies: 5
- Views: 8137
Re: Own ROM file finder for libfilesystem
WinterMute, could you please tell me why you (or any of the moderators) removed my post without warning or message or anything? afaik, I didn't break any rules, the post was ontopic and it answers a question somebody has plus showing him/her a part of the ds community. if you disagree with my post, ...
- Thu May 07, 2009 11:39 am
- Forum: devkitARM
- Topic: A problem in a sammple copilation
- Replies: 3
- Views: 4901
Re: A problem in a sammple copilation
it cannot find the ds wifi library. if your program doesn't need it, you should modefy the makefile so it wont try to include it. if your program does need the wifi library, that you should check if it is installed, in the right folder ect.Quirko wrote:cannot find -ldswifi9