-
Battle Pong
I'm making this Pong game for a school project. I've gone completely overboard so far, and I'm not done it yet. The reason is so I can learn C++ and SDL, so I can make better games... Anyhow, I started programming on Monday, and it's now Saturday. The progress I've made thus far is that the game is a fully-playable pong game, with an ammo meter, secret balls that you can blindly cycle through on the menu screen, and pretty good AI. I used SDL briefly before this week, and I liked it, but all I really did with it was load a bitmap to the screen and get gamepad input, but now I know a lot better how nice it is to work with.
Anyhow, here's a screenshot of my pong game in action:
http://aslan.no-ip.com/~dana/screenshot.png
So far, I haven't implemented proper sound code or the "bullets" yet. I'm thinking of making the bullets just freeze the players for a second, thereby allowing the ball greater chance to slip by. I'm running out of time on this project, as it must be completed by Monday morning. Eventually this game will be running on our Linux-based gaming console that we made as our technologist project. It's all game pad-driven, so I didn't have to worry about mouse or keyboard input. That was nice. :) Someday, in my spare time, I'll add that in though, so that everyone can play. At least I might.
Anyhow, I don't know why I'm posting this here... I guess just because I felt like it. It's probably nothing near as advanced as most people here are working on, but it is my first C++ program that consists of more than one file, or 50 lines of code... I feel sorta happy about it. :)
-
Send me that
PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.
Send me the source code when your done to [email protected]
Im trying to learn to make games but i need to right now learn how to use basic graphics...
-
nice .... good concept... lookin good, keep it up (now i maybe i can get some of the cash he makes muwhahahaha ;))
-
Cash? You're gonna pay me? for a PONG GAME???
u r cr8z
-
in you i see a bright future. may the force be with you. :) im just saying that you should keep up the good work.
-
So does this mean you won't be putting any money in my PayPal account? :(
-
no you are too old to train as a jedi knight. i am sorry. the council speaks (??). lol im broke. _I_ need the money.
-
ho, if you can release the source code, please send it here: [email protected]
-
I have set up a temporary URL, the source code isn't there yet, nor are the binaries, but they will be soon.
I am not a Windows user, so I'm trying to compile the game at school with that hunk of junk Visual C++, but I don't know what I'm doing. It's so much easier in Linux to just run make and it does it... I guess to each his own.
Anyhow, you'll know when the files are up, cuz I will take down the Files Not Up Yet warning.
Anyway, hope that does it for now:
http://aslan.no-ip.com/~dana/pong/
UPDATE: You can get my current source from the site now. There aren't binaries yet though.
-
VERY cool, thanks for sharing the source! It will be immensely useful to me for learning practical SDL.
-
just curious, what os is that? Im guessing its linux and kde or gnome as windowing thingy
-
I use Linux and KDE, yes. I can't stand Gnome, myself, and I'm too lazy to set up Blackbox the way I like it again.
I use KDE differently than most people do though... I don't have the little volume icon, the clipboard icon thing, and so forth. I don't even have the K menu on a toolbar (I just use the Windows key on my keyboard).
My tasklist is along the left side of the screen, autohiding, starting at the top.
I have two icon bars, one on the right, which holds mostly programming stuff and Gimp, and then one small one in the middle of the bottom of the screen with my Internet apps.
My desktop has mostly only game icons (6x6 grid at the moment) and drive icons for easily mounting and unmounting them.
I really like the command line for things like moving files, making archives, extracting archives, etc..
Anyhow, that probably more than answers your question.
Anyhow, I've updated the archive today with a fix to the script that gets the music, and I've added in the GPL license stuff, so if you have the old version, please update it.
-
Yeah, the game looks great, when is it going to be finished?
//napKIN
-
Soon enough. But I've gotta add keyboard support and so on. I don't have too much time now that classes started again.
I've put up a CVS repository, and all that jazz.
http://battlepong.sf.net/ is the new site. :)