Pong [Currently "ImpossiPong"]

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Pong [Currently "ImpossiPong"]
by on (#151857)
I got bored with the NES after making nearly nothing for it, and decided to visit a console that my 12 or 13 year old self couldn't conquer: the Gameboy.

Sure enough, it turns out that it's very easy to code for and I was just kinda stupid. And of course, my standard is: after making hello world, you should make a game of Pong.

So here's my Pong game. Note that in its current state [b0.1] you can't win. No you can't. Trust me. It's not happening.

Source: https://github.com/nicklausw/pong-gb

Newest binary below.
Re: Pong [Currently "ImpossiPong"]
by on (#151858)
I take it you're a fan of the Z80?
Re: Pong [Currently "ImpossiPong"]
by on (#151859)
Espozo wrote:
I take it you're a fan of the Z80?

Yup. 16-bit registers make me feel like I can do anything. XD
Re: Pong [Currently "ImpossiPong"]
by on (#151860)
nicklausw wrote:
16-bit registers make me feel like I can do anything. XD

I'm surprised that you haven't tried something like the SNES or the Genesis then.
Re: Pong [Currently "ImpossiPong"]
by on (#151862)
Espozo wrote:
I'm surprised that you haven't tried something like the SNES or the Genesis then.

Simply cuz I'm not interested in 16-bit targets. For now.
Re: Pong [Currently "ImpossiPong"]
by on (#151863)
You know, I actually bothered to download it just now, and are you using the BG for the ball and the paddles, because the movement is very choppy. I'm using VisualBoyAdvance.
Re: Pong [Currently "ImpossiPong"]
by on (#151864)
That's VBA's problem. Most other emulators (and the real hardware) show sprite movement smoothly.
Re: Pong [Currently "ImpossiPong"]
by on (#151866)
Works correctly for me in gnuboy, NO$DMG, and bgb...
Re: Pong [Currently "ImpossiPong"]
by on (#151868)
nicklausw wrote:
(and the real hardware)

How did you test it? Do they have an SD to Gameboy?
Re: Pong [Currently "ImpossiPong"]
by on (#151869)
http://store.kitsch-bent.com/product/usb-64m-smart-card
Re: Pong [Currently "ImpossiPong"]
by on (#151874)
IMO, the EverDrive GB is infinitely better than the 64M Smart Card, and it does use micro SD cards.
Re: Pong [Currently "ImpossiPong"]
by on (#151884)
Does the EverDrive GB solely operate using an SD card? Because that is pretty much a deal killer for me. I prefer having a USB connection to the cartridge itself. I can't stand having to take the SD card in and out of the cart and USB adapters just to read and write from them. On the other hand, the 64M SmartCard can stay inside my GB whenever I plug it in. Also, I have enough SD cards to keep track of as it is for different devices :P

Anyway, it's great to see some GB homebrew being made here, nicklausw. I haven't tested in on my GBC, but GBE+ emulates it just fine. Seems smooth like you said, but perhaps it runs a bit too fast. I know the GB doesn't give you a lot of horizontal space to play with, so when the speed is too high, it doesn't leave a lot of reaction time for the player. Heh, I see why you call it "ImpossiPong" ;) Keep up the good work.
Re: Pong [Currently "ImpossiPong"]
by on (#152051)
Shonumi wrote:
Anyway, it's great to see some GB homebrew being made here, nicklausw.

Well, here's some more if you haven't seen it: http://gbdev.gg8.se/forums/viewtopic.php?id=244
Re: Pong [Currently "ImpossiPong"]
by on (#152075)
Is it more impossible than trying to beat the opponent in ZapPing (part of Zap Ruder for NES) with a controller?
Re: Pong [Currently "ImpossiPong"]
by on (#152088)
tepples wrote:
Is it more impossible than trying to beat the opponent in ZapPing (part of Zap Ruder for NES) with a controller?

The opponent's paddle is always at nearly equal height to the ball at all times. So yes.
Re: Pong [Currently "ImpossiPong"]
by on (#152186)
Update: Yay, that ugly self-implemented bug fix isn't needed anymore. :mrgreen: (Updated the binary without realizing there's no difference, too).