(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
My first game.
Moderator: PC Supremacists
- Netwatcher
- 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.
"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/
-Derek Powazek, http://powazek.com/posts/1655
blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
Re: My first game.
Good first game, hella better then what i can do.
When One learns to Love, One must bear the risk of Hatred.
- Netwatcher
- 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.
Thanksjtst1 wrote:Good first game
"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/
-Derek Powazek, http://powazek.com/posts/1655
blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
- Arti-Ravnos
- 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.
I got an error that says I can't start the game because "d3dx9_40.dll" is missing.
“Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.â€
(Stan Kelly-Bootle)
(Stan Kelly-Bootle)
- Netwatcher
- 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.
Get it here D3DX9_41.dll and place it in the game's folderArti-Ravnos wrote:I got an error that says I can't start the game because "d3dx9_40.dll" is missing.
"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/
-Derek Powazek, http://powazek.com/posts/1655
blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
- RyanPridgeon
- 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.
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?
EDIT: Out of interest, where did you learn DirectX?
- Netwatcher
- 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.
I learned directX from the book "Beginning Game Programming, 2nd Edition" and fonts from Drunken Hyena.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?
"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/
-Derek Powazek, http://powazek.com/posts/1655
blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/