Homebrew [Homebrew] Pong 3DS v1.0

AntonioND

Member
OP
Newcomer
Joined
Feb 17, 2015
Messages
13
Trophies
0
XP
132
Country
This is the game I've been coding for a few weeks.

It's just a 3D pong, like the one I made years ago for the DS. All graphics are done by software, each CPU core renders one of the top screen images.

I hope you like it!

Binaries here (and attached to the post): https://github.com/AntonioND/pong-3ds/releases

Source code and more information here: https://github.com/AntonioND/pong-3ds

Screenshots:

WGyUzCl.png


uOJDt9i.png


0cJKRnv.png


U63VKAJ.png
 

Attachments

  • pong-3ds-v1-0.zip
    527 KB · Views: 707

AntonioND

Member
OP
Newcomer
Joined
Feb 17, 2015
Messages
13
Trophies
0
XP
132
Country
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.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
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
 

AntonioND

Member
OP
Newcomer
Joined
Feb 17, 2015
Messages
13
Trophies
0
XP
132
Country
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.
 

Idaho

Well-Known Member
Member
Joined
Oct 3, 2013
Messages
884
Trophies
1
Age
29
XP
1,415
Country
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 ;)
 

AntonioND

Member
OP
Newcomer
Joined
Feb 17, 2015
Messages
13
Trophies
0
XP
132
Country
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?
 

AntonioND

Member
OP
Newcomer
Joined
Feb 17, 2015
Messages
13
Trophies
0
XP
132
Country
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?
 

Idaho

Well-Known Member
Member
Joined
Oct 3, 2013
Messages
884
Trophies
1
Age
29
XP
1,415
Country
France
I don't think it was something like that, I will shoot a video to show you exactly what's happening ;)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • RedColoredStars @ RedColoredStars:
    I do most of my grocery shopping there
  • AncientBoi @ AncientBoi:
    [looks at what you just said, and then looks at you] :O:ohnoes::rofl2::rofl2::rofl2::rofl2::rofl2:
  • RedColoredStars @ RedColoredStars:
    Most Walmart shoppers don't go to Target because they're too triggered over displays of things they won't be buying anyway.
    +1
  • RedColoredStars @ RedColoredStars:
    I am not a karen, i am not maga, not severely mentally ill and not on meds, not 300 lbs, not missing all of my teeth, dont wear a bikini. Soooo. okay?
    +1
  • K3Nv2 @ K3Nv2:
    I mean if saving $2 on milk is saving $2 I'm buying it at Walmart
  • K3Nv2 @ K3Nv2:
    I go in don't cause a fuss and leave usually no problems
  • AncientBoi @ AncientBoi:
    :unsure::unsure::unsure::O:ohnoes: [goes to take my meds] :shy:
  • RedColoredStars @ RedColoredStars:
    A million and one things in this world catered to straight men and women. God forbid there's a display for lgbtq merch. How about walking past it if a person is not interested? Uh uh!!! Better watch out for those Satanic rainbows!!! lmao. MAGA crack me up.
    +1
  • RedColoredStars @ RedColoredStars:
    Right. I save $ getting grocers at walmart. So I continue to go.
  • RedColoredStars @ RedColoredStars:
    $2 on milk is great, imagine how much is saved when getting an entire cartful... vs the prices at my local ripoff grocery store.
  • K3Nv2 @ K3Nv2:
    Though I've been going to Aldis more often better lunch meat
    +2
  • AncientBoi @ AncientBoi:
    Is it worth it Gas wise? Length of travel.
  • NinStar @ NinStar:
    lgbqt products
  • K3Nv2 @ K3Nv2:
    I got 3 stores all within half a mile and a gas station in that same area so it's worth it
    +1
  • AncientBoi @ AncientBoi:
    LGBTQIA+ Products :D
  • K3Nv2 @ K3Nv2:
    Not the gay ride lunch meat :ohnoes:
  • RedColoredStars @ RedColoredStars:
    Walmart is an 60 mile round trip for me, and yes, I still spend less even after the gas cost. :) I dont go there just for milk. I do 2 big hauls a month, fill the cart up.
    +1
  • K3Nv2 @ K3Nv2:
    Gay Ride™ at a Walmart near you
    +1
  • Sicklyboy @ Sicklyboy:
    lol GBAtemp mentioned in the latest Bringus Studios video
  • NinStar @ NinStar:
    never heard of that developer
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, was my anti hate trolling shitbox messages recorded
  • AncientBoi @ AncientBoi:
    :O Holy Cow 60 Miles !
  • NinStar @ NinStar:
    why people use miles
    NinStar @ NinStar: why people use miles