Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: qazwsx988 on December 13, 2010, 11:57:35 am

Title: Two player pong
Post by: qazwsx988 on December 13, 2010, 11:57:35 am
I found it surprising that we didn't have an Atari pong clone for axe!
So I was bored one weekend and decided to start up programming again as a hobby.
So here's a nice 2 Player pong, 2nd/alpha for left player to move up/down, d-pad for right player to move.
apong is the compiled game, all other programs in the group is the source

I'm updating graphics and adding shooting in later.
Title: Re: Two player pong
Post by: yunhua98 on December 13, 2010, 11:59:39 am
very nice! and also nice to see you around!
Title: Re: Two player pong
Post by: aeTIos on December 13, 2010, 12:05:03 pm
yes, nice. what do you mean by shooting? (never saw a pong game with shooting)
what also would be cool is link cable playing, but that could be added if the game is finished
also, i lost :hyper:
Title: Re: Two player pong
Post by: Happybobjr on December 13, 2010, 12:51:08 pm
are you going to set it up so it can be 2 player pong on two calcs?
Title: Re: Two player pong
Post by: ztrumpet on December 13, 2010, 01:12:05 pm
Nice job.  :)  It probably is more fun with a friend (I'm playing against myself :P).
Title: Re: Two player pong
Post by: meishe91 on December 13, 2010, 07:41:30 pm
Looks good. Good luck on the updates :)
Title: Re: Two player pong
Post by: qazwsx988 on December 14, 2010, 10:40:09 am
Update!
Now graphics are truer to the Atari Pong.
I'll work more after tests are over.
Title: Re: Two player pong
Post by: aeTIos on December 14, 2010, 10:45:27 am
wow nice!
Title: Re: Two player pong
Post by: Builderboy on December 14, 2010, 02:11:41 pm
Nice!  I really need to do some experimenting with the linking capabilities, since i have two calcs O.O This looks awesome! :D
Title: Re: Two player pong
Post by: qazwsx988 on December 14, 2010, 02:39:02 pm
I don't think I'll make it two player on two calcs, simply because I don't know how to do that.
Anyways, I like it on the same calc.
Title: Re: Two player pong
Post by: DJ Omnimaga on December 14, 2010, 02:41:45 pm
This looks nice, it's pretty close to the original. :)

Maybe someone could make a linked version, although I think this is usually slower.

Welcome on the forums, by the way. :)
Title: Re: Two player pong
Post by: Happybobjr on December 14, 2010, 04:41:59 pm
This looks nice, it's pretty close to the original. :)

Maybe someone could make a linked version, although I think this is usually slower.

Welcome on the forums, by the way. :)

naa, there would be very little data transfer.  I think you should be able to do it at about full speed if You do a P1, P2 Method.
Title: Re: Two player pong
Post by: AngelFish on December 14, 2010, 04:46:14 pm
Not if you're using a 6 foot cable. Even those 2-4 bytes would be difficult to consistently transfer in real time.
Title: Re: Two player pong
Post by: Happybobjr on December 14, 2010, 04:49:36 pm
true.  you could but it would be so slow to do so many checks :P

3 foot cable though should have very little trouble.
Thought: Make a code that will check accurateness of cable :P
Title: Re: Two player pong
Post by: AngelFish on December 14, 2010, 04:52:11 pm
How many bad reviews on TI-Calc do you think it would bring for the program to say "Bad connection. Please check your cables" when people had their cables plugged in?  :P
Title: Re: Two player pong
Post by: Happybobjr on December 14, 2010, 04:54:14 pm
well i was saying that there could be multiple checks on what was received then choosing the most occurring.
Title: Re: Two player pong
Post by: AngelFish on December 14, 2010, 04:57:54 pm
I was joking about how people would give it bad reviews even though it was their hardware that was faulty and not the program itself.
Title: Re: Two player pong
Post by: DJ Omnimaga on December 14, 2010, 11:54:50 pm
Well some people still rate TI-Boy SE 1/10 because they think it's broken for not working on new hardware.
Title: Re: Two player pong
Post by: qazwsx988 on December 15, 2010, 11:22:35 am
Tiny update, as I was bored while studying for my gov test.
Demonstrates the shooting, no hit testing yet.
And btw, shooting means stunning each other when hit for about 3 seconds, adding a new level of skill in a classic game.
Title: Re: Two player pong
Post by: DJ Omnimaga on December 15, 2010, 03:04:36 pm
Oh I like the idea :D. Will you add some power-ups like increasing/decreasing paddle lenght, moving twice faster/slower and such things? Maybe have them move in the screen from time to time and if you shoot them it triggers the power-up effect.
Title: Re: Two player pong
Post by: qazwsx988 on December 15, 2010, 04:42:32 pm
Hey, good idea, I'll look into that when I have more time.
Title: Re: Two player pong
Post by: qazwsx988 on January 17, 2011, 08:31:44 pm
Update!
I redid the whole thing, now it's smaller, but only one speed.
Shooting and stunning works, and now the ball goes in different directions when it hits the paddle in the same way the ball moves in Atari pong.

I'll post screenies and program later.
Title: Re: Two player pong
Post by: DJ Omnimaga on January 19, 2011, 03:03:53 pm
Cool! Can't wait for screenies, also by different directions do you mean it depends of where the ball hits the paddle or is it random? I never played the Atari pong.
Title: Re: Two player pong
Post by: qazwsx988 on January 20, 2011, 02:01:13 pm
I haven't played it either, just watched it being played.
But it depends on where the ball hits the paddle.
Title: Re: Two player pong
Post by: DJ Omnimaga on January 20, 2011, 09:14:05 pm
Ah ok, cool :D. One thing I remember though: Isn't the ball supposed to be a square? :P
Title: Re: Two player pong
Post by: qazwsx988 on January 21, 2011, 11:21:33 am
Here's screenies!
Code's not perfect yet, but included in the group is the compiled version for Mirage.
Title: Re: Two player pong
Post by: DJ Omnimaga on January 25, 2011, 12:57:42 am
Nice, but where did speed settings go? Also what is the clock icon at the top? ???