StarDust - a cross platform PC/DS 3D engine v1.0.0

  • Thread starter Thread starter Yacker
  • Start date Start date
  • Views Views 10,999
  • Replies Replies 25
  • Likes Likes 15
I cant seem to get the makefile command working, I'm on windows and I get the previously mentioned compiler errors and I'm not sure what to do. Maybe I'll try again with ubuntu? I'm not sure..
 
Hey, sorry for that guys! Apparently my set up was much looser about errors regarding things like type conversions. I have since fixed it, it should work for you now.
 
  • Like
Reactions: MrToslett
Is there some discord or telegram convo, where ppl gathered together and tinkering with StarDustDS engine?

I already mentioned that i'm not experienced in programming...
I want to implement some printing to Sub screen.
I have found this in devkitpro\examples:
C:
#include <nds.h>
#include <stdio.h>

int main(void) {
    touchPosition touch;

    consoleDemoInit();  //setup the sub screen for printing


    iprintf("\n\n\tHello DS dev'rs\n");
    iprintf("\twww.drunkencoders.com\n");
    iprintf("\twww.devkitpro.org");


    while(1) {


        touchRead(&touch);
        iprintf("\x1b[10;0HTouch x = %04i, %04i\n", touch.rawx, touch.px);
        iprintf("Touch y = %04i, %04i\n", touch.rawy, touch.py);


        swiWaitForVBlank();
        scanKeys();
        if (keysDown()&KEY_START) break;
    }


    return 0;
}
As far as i understand, consoleDemoInit(); breaking everything,
bcuz it sets VRAM and screen mode, which already set in main.c

I also tried to look into console section of libnds documentation,
and it made me even more confused.

All i want right now is print touch pos in game on sub screen.

Next i want to try to implement touch input for camera controls.
but now i need to understand what positions i need to read from touch.
 
Last edited by Yobonanakh,
Is there some discord or telegram convo, where ppl gathered together and tinkering with StarDustDS engine?

I already mentioned that i'm not experienced in programming...
I want to implement some printing to Sub screen.
I have found this in devkitpro\examples:
C:
#include <nds.h>
#include <stdio.h>

int main(void) {
    touchPosition touch;

    consoleDemoInit();  //setup the sub screen for printing


    iprintf("\n\n\tHello DS dev'rs\n");
    iprintf("\twww.drunkencoders.com\n");
    iprintf("\twww.devkitpro.org");


    while(1) {


        touchRead(&touch);
        iprintf("\x1b[10;0HTouch x = %04i, %04i\n", touch.rawx, touch.px);
        iprintf("Touch y = %04i, %04i\n", touch.rawy, touch.py);


        swiWaitForVBlank();
        scanKeys();
        if (keysDown()&KEY_START) break;
    }


    return 0;
}
As far as i understand, consoleDemoInit(); breaking everything,
bcuz it sets VRAM and screen mode, which already set in main.c

I also tried to look into console section of libnds documentation,
and it made me even more confused.

All i want right now is print touch pos in game on sub screen.

Next i want to try to implement touch input for camera controls.
but now i need to understand what positions i need to read from touch.
https://discord.gg/6kQbaXfTE5
Here's a link to my sorta discord. I don't use it for much, but it'll be ideal for handling Stardust discussion.
 

Site & Scene News