[Homebrew] Pong 3DS v1.0

Discussion in '3DS - Homebrew Development and Emulators' started by AntonioND, Feb 17, 2015.

  1. AntonioND
    OP

    AntonioND Member

    Newcomer
    10
    15
    Feb 17, 2015

    Attached Files:



  2. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    3,120
    647
    Oct 22, 2011
    Gambia, The
  3. AntonioND
    OP

    AntonioND Member

    Newcomer
    10
    15
    Feb 17, 2015
    Yeah, I'll do it tomorrow. I've just fixed a few things so I'll probably upload a different binary.
     
  4. VinsCool

    VinsCool Comfortably Numb

    Member
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,844
    28,331
    Jan 7, 2014
    Canada
    Another World
    Beatiful! Nice work :)
     
  5. hippy dave

    hippy dave Butts Butts Megabutts

    Member
    2,587
    1,802
    Apr 30, 2012
    Looks badass.
     
  6. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,710
    2,563
    Dec 8, 2014
    United States
    Ohio
    That looks great! I'll definitely download it and try it. Good work.
     
  7. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    3,120
    647
    Oct 22, 2011
    Gambia, The
    The 2.5D and 3D modes are really hard :D
     
  8. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,261
    8,740
    Oct 27, 2002
    France
    Engine room, learning
    Nice idea to make it in 3D :)
    It makes me remember an old and great 2D palet game. (shuffle puck café :P)
    thanks for helping with the wiki too.
     
    hippy dave likes this.
  9. AntonioND
    OP

    AntonioND Member

    Newcomer
    10
    15
    Feb 17, 2015
    Oh, lol, I've just seen a video of that game, it's... strange. xD

    The reason I did this was that I made a simple soft 3D engine for GBA years ago but I never made a game or anything with it. This game was a good way of finishing it AND doing something for 3DS. And, as the engine doesn't support textures, I had to do a really simple game.

    It's nothing. :) I've also uploaded it to DownloadMii.
     
  10. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,261
    8,740
    Oct 27, 2002
    France
    Engine room, learning
    I wanted to make a game but the GFX example in libctru is using aemstro and texture, but I don't understand how it really works. I never worked with 3D engine before.
    I'll look how you did colored 3D object without texture, it's always good to see different way to do things :)

    thanks
     
  11. AntonioND
    OP

    AntonioND Member

    Newcomer
    10
    15
    Feb 17, 2015
    I tried to use aemstro but I couldn't get the python environment to run it so I decided to wait until there is a nice compiled shader assembler. Picasso is a bit outdated I think, and that was the only one I was able to compile.

    Well, the functions for drawing filled polygons are the worst part of the code... xD They were awfully boring to code because they are just a lot of comparisons and loops... But sure, take a look at them.
     
  12. SLiV3R

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,202
    1,044
    Jan 9, 2006
  13. hippy dave

    hippy dave Butts Butts Megabutts

    Member
    2,587
    1,802
    Apr 30, 2012
    Haha I loved Shuffle Puck Cafe on the Amiga :)
     
  14. Cid2mizard

    Cid2mizard GBAtemp Fan

    Member
    363
    210
    Aug 16, 2007
    France
    Maubeuge
    Impressive, stereoscopic 3D is very successful :)
     
    Idaho likes this.
  15. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    672
    402
    Oct 3, 2013
    France
    Awesome homebrew here, it's nice to see that it's taking use of the 3D capacities, even though for some reason the display is flickery on my new 3DS and the 3D isn't perfect, it's a nice thing that we have, keep up the good work, contact me if you want me to test things on new 3DS ;)
     
  16. AntonioND
    OP

    AntonioND Member

    Newcomer
    10
    15
    Feb 17, 2015
    That's strange, in my 3DS it works perfectly. I have a N3DS but I can't load homebrew on it, so I can't test... The problem can be something related to the double buffering or it could be the sound functions that are messing with the graphics. Ninjhax doesn't have access to csnd functions in N3DS, but I check at the start if csnd is inited so it shouldn't be a problem. Does it happen if you disable the 3D?
     
  17. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    672
    402
    Oct 3, 2013
    France
    Yes it also happens with 3D off :/
     
  18. AntonioND
    OP

    AntonioND Member

    Newcomer
    10
    15
    Feb 17, 2015
    Then the problem must be something about the buffer swap. I think the function of ctrulib I use schedules the swap to be done after the screen redraw, but maybe it doesn't work fine in N3DS. I started with a ctrulib example and I didn't see flickering even when I was developing the game and the FPS were lower than 60. I did see flickering once when I messed up the buffer swap, and I saw that the screen was basically divided by a vertical line (that changed every frame) and one part of the screen showed the correct scene but the other one was incomplete. Do you see something like that?
     
  19. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    672
    402
    Oct 3, 2013
    France
    I don't think it was something like that, I will shoot a video to show you exactly what's happening ;)
     
  20. AntonioND
    OP

    AntonioND Member

    Newcomer
    10
    15
    Feb 17, 2015
    Well, it could help. Thanks.