My first game.

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Post Reply

The presented game is

Good as a first game
5
71%
Playable
1
14%
Bad
0
No votes
Was this a game or a were you testing the human-torture limit?
1
14%
 
Total votes: 7

User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

My first game.

Post 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:
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Re: My first game.

Post by jtst1 »

Good first game, hella better then what i can do.
When One learns to Love, One must bear the risk of Hatred.
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: My first game.

Post by Netwatcher »

jtst1 wrote:Good first game
Thanks ;)
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Re: My first game.

Post by jtst1 »

Noprob.
When One learns to Love, One must bear the risk of Hatred.
User avatar
Arti-Ravnos
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 21
Joined: Tue Mar 03, 2009 6:19 pm
Favorite Gaming Platforms: NES, NDS, PC
Programming Language of Choice: Actionscript 3

Re: My first game.

Post by Arti-Ravnos »

I got an error that says I can't start the game because "d3dx9_40.dll" is missing. :roll:
“Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.”
(Stan Kelly-Bootle)
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: My first game.

Post 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 ;)
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: My first game.

Post 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?
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: My first game.

Post 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:
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
Post Reply