Page 1 of 1

My first game.

Posted: Sat Jul 11, 2009 3:57 pm
by Netwatcher
(feel free to delete my old post from the "Hello World" thread somehow(the one that looks like this one) ->http://thechaosrift.com/viewtopic.php?f ... 534ddeb383)

This topic is not, will not be, or never was a Cookie.

Just wanted to clarify that...

OK, let's get this party started...
Since I haven't shown any of my work(yet), and Xeno gave me the idea of uploading it to skydrive (it was on Diino but the account was too old) I decided to let you guys have look.

So, Hello World!
This was my first attempt at game programming.

BreakOut_Game.exe

What? a breakout clone (Not a full game though, I started writing a different game in the same project with intent to use "save as" to create a new project but instead I used "save" and... well deleted my old code so... FUCK THIS)

How? C++ with DirectX

Is the text from sprites? No, it's DxFont.

Why is the text stupid? no it's not...

Controls:
Move with the arrow keys, space key for special ability.(You can use the mouse but it won't work for levels 2 and 3's features)
There are 3 levels in this game, in each you get a different... umm.... special "overpowered ability".


First level:
The ball follows a certain path, the paddle is only there to save it from falling.
The space key is a surprise in this one...

Second level:
The ball follows a certain path, press space to move the ball to the paddle, hold space and release while moving in the desired direction to direct the ball that way.

Third level:
The ball hits the paddle, then the ball is directed to the direction the paddle was moving before impact.
If the paddle wasn't moving, the ball will move as in simple-retarded- 2D physics (as in every other level- all vectors to the opposite direction).
I honestly don't remember if the space key does anything in this level.


Notes:
*The game comes as an .exe installation file, I used Qsetup to make the installation.

*If you don't have Visual C++ 2008 installed, the Free Redistributable will be installed on your machine right after you finish the game's installation. (do not start the game right after installation, even if you don't want to install the redist, the game won't start)

*if you get an error about your keyboard or any other input device while you try to start the game, ignore it and start the game again.

*After you lose click the "NO" button in the GameOver MessageBox to restart the game
Gonna upload some more old stuff here http://cid-df59e2dce1b901ab.skydrive.li ... ublic?uc=1
Feel free to browse my amazing artworks :lol:

Re: My first game.

Posted: Tue Jul 28, 2009 1:40 pm
by jtst1
Good first game, hella better then what i can do.

Re: My first game.

Posted: Tue Jul 28, 2009 3:08 pm
by Netwatcher
jtst1 wrote:Good first game
Thanks ;)

Re: My first game.

Posted: Wed Jul 29, 2009 3:09 pm
by jtst1
Noprob.

Re: My first game.

Posted: Thu Jul 30, 2009 12:30 pm
by Arti-Ravnos
I got an error that says I can't start the game because "d3dx9_40.dll" is missing. :roll:

Re: My first game.

Posted: Thu Jul 30, 2009 1:06 pm
by Netwatcher
Arti-Ravnos wrote:I got an error that says I can't start the game because "d3dx9_40.dll" is missing. :roll:
Get it here D3DX9_41.dll and place it in the game's folder ;)

Re: My first game.

Posted: Fri Jul 31, 2009 10:57 am
by RyanPridgeon
Cool but it would be better if you could vary the angle that the ball is fired at depending on where it hits the paddle, because at the moment there is no variation or replayability.

EDIT: Out of interest, where did you learn DirectX?

Re: My first game.

Posted: Sun Aug 02, 2009 3:45 pm
by Netwatcher
RyanPridgeon wrote:Cool but it would be better if you could vary the angle that the ball is fired at depending on where it hits the paddle, because at the moment there is no variation or replayability.

EDIT: Out of interest, where did you learn DirectX?
I learned directX from the book "Beginning Game Programming, 2nd Edition" and fonts from Drunken Hyena. :roll: