Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: yunhua98 on October 23, 2010, 01:47:25 pm

Title: Dual Pong
Post by: yunhua98 on October 23, 2010, 01:47:25 pm
As you may have seen in my sig, I've been working on a project called Dual Pong.  Technically I've only been working on it for two days, but oh well.  :P  It was inspired by FSPong in the arcade, and I will add a AI soon.  Its only single player now, but I may add linkplay, in which case it will go to 150%.  :P

heres a screenie, the source, and the program:

(http://img.removedfromgame.com/imgs/1287856013-DUALPONG.gif)

btw, I suck at it.  :P  highscore 11, the Emu on't show the score for some reason though  ???  and yes, once again, those sprites are place holders, I lost Hexpic, and I hate converting by hand.  :P
Title: Re: Dual Pong
Post by: Happybobjr on October 23, 2010, 01:55:54 pm
well that shoots down my next project...
Good luck with this. it looks nice.

might i suggest instead of top and bottom you use the left and right sides of the screen?
Title: Re: Dual Pong
Post by: yunhua98 on October 23, 2010, 01:58:08 pm
nah, I was thinking the AI being top and left, while I'm bottom and right, and whoever gets to 7 points first wins, but thanks.  ;)
Title: Re: Dual Pong
Post by: Happybobjr on October 23, 2010, 01:59:56 pm
no i was saying this ball goes vertically.  Might i suggest you have it horizontal?
Title: Re: Dual Pong
Post by: yunhua98 on October 23, 2010, 02:01:23 pm
I don't follow, could you rephrase that?

doesn't the ball go diagnolly?
Title: Re: Dual Pong
Post by: Happybobjr on October 23, 2010, 02:03:17 pm
nvm i screwed up when i saw the screeny... sorry...
well good luck.  May i look through your code for optimizations?  (i need practice.)
Title: Re: Dual Pong
Post by: yunhua98 on October 23, 2010, 02:04:45 pm
sure, feel free, its "AXE2PONG" in the first post.
Title: Re: Dual Pong
Post by: Happybobjr on October 23, 2010, 02:08:13 pm
Might i say Holy ****.  you have some very organized code!  I need to take a couple of lessons from you...
Title: Re: Dual Pong
Post by: yunhua98 on October 23, 2010, 02:11:36 pm
thanks, although I don't use spaces that much, that was done because I had a block error.  :P  Look at my bomberman source and you won't think me so organized.  ;)
Title: Re: Dual Pong
Post by: Happybobjr on October 23, 2010, 02:26:50 pm
good news, I brought it down about 75 bytes.
bad news i failed to export it through wabbit. So i lost it.
I am redoing them.
Title: Re: Dual Pong
Post by: fb39ca4 on October 23, 2010, 02:37:31 pm
Maybe you could make this a game with multiple modes.
-What you have right now
-Control opposite paddles
-Control all 4 sides
-Control 3 sides
Title: Re: Dual PONG
Post by: Happybobjr on October 23, 2010, 02:41:59 pm
remove if it is not allowed but here is a save state for wabbit  with an optimized version

I think it works perfectly.. Its hard to tell since i stink at playing it.
Title: Re: Dual Pong
Post by: DJ Omnimaga on October 23, 2010, 02:46:50 pm
I think it is fine if the save state doesn't contain the ROM

As for the game it seems nice, although the title was a bit misleading (with the "dual" part I thought there would be two balls at once ??? ). I think some game modes would be cool to make it more original and stuff. :)
Title: Re: Dual Pong
Post by: yunhua98 on October 23, 2010, 04:53:28 pm
hmm...  maybe I should add two balls like FSPong?  or would that be too hard?
Title: Re: Dual Pong
Post by: DJ Omnimaga on October 23, 2010, 04:58:03 pm
Maybe it wouldn't be too hard but if the speed varies for both it might make it impossible sometimes, unless you had to control 2 paddles
Title: Re: Dual Pong
Post by: Deep Toaster on October 24, 2010, 10:13:59 am
I think it is fine if the save state doesn't contain the ROM

It doesn't? I thought a save state was the ROM plus the RAM.

The project looks nice, though. And I second fb39ca4's suggestions :)
Title: Re: Dual Pong
Post by: Ranman on October 24, 2010, 11:27:35 am
This looks challenging. Am I correct that you control both horizontal and vertical paddles?
Title: Re: Dual Pong
Post by: DJ Omnimaga on October 24, 2010, 10:27:43 pm
I think it is fine if the save state doesn't contain the ROM

It doesn't? I thought a save state was the ROM plus the RAM.

The project looks nice, though. And I second fb39ca4's suggestions :)
I doubt it because the ROM is much more than 256 KB large. Maybe it contains parts of it?
Title: Re: Dual Pong
Post by: yunhua98 on October 24, 2010, 11:04:47 pm
@ranman yes