Hi friends!
I recently decided to try writing a game for the legendary Nintendo DS. And since I'm new to this area, I decided to write the simplest game that I only know. Game "Guess the number". The player is given the opportunity to guess the number in a certain range (for example, up to 1 to 100). If the entered number is greater, then the message "TOO MUCH" pops up, if the number is less, then "TOO SMALL". If the player wins, we must also notify him of the successful completion of the game.
The first thing I started with was the installation of "DevkitPro" and the "libnds" library. Next, I installed "Visual Studio Code" and inserted one of the examples provided in the "libnds" library into it.
Everything was successfully opened, the project was assembled, and at the output I received a file with the *nds extension.
I started creating my game, for this I changed the text from the example, it's simple. Next, I decided to insert funny images with a notification about "too large" or too small value entered by the player. But I don't understand how to insert images.
I found an example with the name "backgrounds -> 256_color_bmp", there is a demonstration of a picture from a folder, but it's so incomprehensible. The picture is called as "#include mypicture.h". And where exactly does the image conversion from png to .h take place, I still don’t understand.
Unfortunately, all links to instructions for the library are dead for a long time, and I could not find any understandable documentation. And I would like to have a description of all the functions available in this library, and how to use them. I could not even write such a simple game, and I can’t even imagine how to do something more difficult without documentation.
Friends, if someone has information on how to use this library, I would be very grateful to you. Maybe this tool is already outdated and there is something more relevant for game development on Nintendo DS? I would also be happy to hear from you good advice.
Thanks a lot.
I recently decided to try writing a game for the legendary Nintendo DS. And since I'm new to this area, I decided to write the simplest game that I only know. Game "Guess the number". The player is given the opportunity to guess the number in a certain range (for example, up to 1 to 100). If the entered number is greater, then the message "TOO MUCH" pops up, if the number is less, then "TOO SMALL". If the player wins, we must also notify him of the successful completion of the game.
The first thing I started with was the installation of "DevkitPro" and the "libnds" library. Next, I installed "Visual Studio Code" and inserted one of the examples provided in the "libnds" library into it.
Everything was successfully opened, the project was assembled, and at the output I received a file with the *nds extension.
I started creating my game, for this I changed the text from the example, it's simple. Next, I decided to insert funny images with a notification about "too large" or too small value entered by the player. But I don't understand how to insert images.
I found an example with the name "backgrounds -> 256_color_bmp", there is a demonstration of a picture from a folder, but it's so incomprehensible. The picture is called as "#include mypicture.h". And where exactly does the image conversion from png to .h take place, I still don’t understand.
Unfortunately, all links to instructions for the library are dead for a long time, and I could not find any understandable documentation. And I would like to have a description of all the functions available in this library, and how to use them. I could not even write such a simple game, and I can’t even imagine how to do something more difficult without documentation.
Friends, if someone has information on how to use this library, I would be very grateful to you. Maybe this tool is already outdated and there is something more relevant for game development on Nintendo DS? I would also be happy to hear from you good advice.
Thanks a lot.