C Board  

Go Back   C Board > General Programming Boards > Game Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-12-2004, 04:39 AM   #31
Sweet
 
Join Date: Aug 2002
Location: Tucson, Arizona
Posts: 1,678
Ok Here it is my first game with grapics
Operating system: Windows ME (ya i know)
Compiler: Dev-C++ 4.9.9.0
Graphics Library: Allegro
Description: Move the Car Down The Road(Lame)
Attached Files
File Type: zip Allegro Game.zip (8.5 KB, 577 views)
__________________
Woop?
prog-bman is offline   Reply With Quote
Old 11-19-2004, 01:00 AM   #32
Sweet
 
Join Date: Aug 2002
Location: Tucson, Arizona
Posts: 1,678
Operating system: Windows ME
Compiler: Dev-C++ 4.9.9.0 and VC++ 6
Graphics Library: Allegro
Description: Fly ship and shoot

Here's a Dev version(project) for all you dev users and a VC++(project) and also just plain source and bmps. I might continue on with this but I am probably going to scrap it and write a new one based on things I implemented here. Most like going to re-write the ship class with some overloaded operators to make the main code easier to read. We'll see though .
Attached Files
File Type: zip Shooter.zip (18.7 KB, 449 views)
File Type: zip VcShooter.zip (16.0 KB, 264 views)
File Type: zip SrcAndBmp.zip (15.9 KB, 267 views)
__________________
Woop?
prog-bman is offline   Reply With Quote
Old 11-20-2004, 08:47 PM   #33
VOX
Deleting...
 
VOX's Avatar
 
Join Date: Oct 2004
Location: VA
Posts: 94
Operating system: Windows 95-XP (anything with a DOS emulator)
Compiler: Turbo C
Graphics Library: None (DOS)
Description: My first graphical game with AI
Language: Good old fashioned C

I am quite proud of this little game I made in about 4 hours. It uses a goto once because I had to and any other way would have meant lots of extra code. If you are having trouble winning it is very possible to beat the computer.

Source code included. Press A to go left, D to go right, and W to shoot. Don't rapidly press the keys because that will queve up all the commands and make the program go through it all. (Turn based)
Attached Files
File Type: zip Duel.zip (12.2 KB, 571 views)

Last edited by VOX; 11-20-2004 at 09:26 PM.
VOX is offline   Reply With Quote
Old 11-22-2004, 12:44 PM   #34
Registered User
 
PING's Avatar
 
Join Date: Nov 2004
Location: india
Posts: 493
GUYS,THIS IS A GAME CALLED SNAKE,WHERE THE SNAKE EATS STUFF AND GROWS IN SIZE.IT WAS MADE BY ME LONG TIME AGO,WHEN I STARTED OUT WITH C AND WITH LINKED LISTS.I HAD WRITTEN THIS PROGRAM USING LINKED LISTS FOR THE PURPOSE OF BEING MORE COMFORTABLE WITH USING THEM,ITS NOT COMMENTED AND STUFF,BUT IS EASY TO UNDERSTAND.

THE i,j,k,l KEYS WORK LIKE THE ARROW KEYS.MAKE SURE THAT CAPS LOCK IS TURNED OFF.

ALSO,THE FILE MUST BE EXTRACTED TO THE C DRIVE ONLY.ELSE IT WILL GIVE AN ERROR.THE FILE initgrph.h MUST BE INCLUDED IN THE INCLUDE FOLDER OF YOUR COMPILER.WHEREEVER THAT IS.

Code:
OS:WINDOWS 98SE
COMPILER:BORLAND TURBO C++ VERSION 3.0
THERE ARE NO LEVELS AS SUCH AS THIS GAME WAS ONLY AN EXPERIMENT.BUT,U CAN CHANGE THE SPEED OF THE SNAKE BY CHANGING THE DELAY IN THE SOURCE CODE.
Attached Files
File Type: zip Snake.zip (29.9 KB, 571 views)
PING is offline   Reply With Quote
Old 12-02-2004, 01:38 PM   #35
Registered User
 
Join Date: Dec 2004
Posts: 1
Post Burnt Soil

Burnt Soil

OS: W-XP (will run on other windows)
Language: DarkBasicPro
Compiler: DarkBasic Pro defualt compiler
Graphics: DirectX 9.0
Description: Ok guys...i made this 2D program in DarkBasicPro...but i am moving to C++ as my main language (and the tutorials on this site are helping alot!)

this was my entry for the TGC Competition in the "scorched earth" category...(if you look you'll notice i got 3 Stars...and two cool prizes )

in it you...
-Buy upgrades for your tank...including weapons and armor
-Use these upgrades to blow up your enemies on fully destructible terrain, throughout 5 different maps
-Repeat

Screens-
the shop-
http://img.photobucket.com/albums/v1..._Duck/shop.jpg

menu-(yes i've sunk that low)
http://img.photobucket.com/albums/v1..._Duck/menu.jpg

level-(...i have 5 levels...)
http://img.photobucket.com/albums/v1...ck/in-game.jpg

Download it Here (scroll down the page abit)

C&C Welcome but i'm not going to do any major changes to this game...too busy with other stuff...

--Peter

Last edited by HellmuthArts; 12-03-2004 at 08:01 AM.
HellmuthArts is offline   Reply With Quote
Old 12-02-2004, 07:31 PM   #36
Registered User
 
Join Date: Mar 2002
Posts: 1,595
OS: W98
Language: C++
Compiler: Dev-C++ 4.9
Graphics: OpenGL 1.1
Other: None
Description: This creates a Rubiks cube you can manipulate with the keyboard and implements a solution to Rubiks cube from any random starting point and allows you to view an animated solution or view the solution move by move.
Attached Files
File Type: zip RCubeSol.zip (10.6 KB, 446 views)
elad is offline   Reply With Quote
Old 12-20-2004, 05:09 PM   #37
yes, I'm registered!!!
 
algi's Avatar
 
Join Date: Nov 2004
Location: Ipswich
Posts: 161
Talking Dog Simulator

Operating system: Windows Me
Compiler: Dev C++ 4.9
Graphics None
Language: C++

This is a game I made, when I decided to make something different from Tic Tac Toe, so I created a dog simulator which simulates a dog.
Attached Files
File Type: zip dogsim.zip (133.8 KB, 403 views)
algi is offline   Reply With Quote
Old 12-24-2004, 02:50 AM   #38
UT2004 Addict
 
Kleid-0's Avatar
 
Join Date: Dec 2004
Posts: 645
Quote:
Originally Posted by Mustang5670
I posted my game, but it didn't have the source code with it.This has the source code with it. I've been sick with the flu, so I haven't worked on it any. :(
Code:
Operating system: ANY
Compiler: Any C/C++ Compiler
Language: C/C++
Description: A small textbased RPG
Mustang I loved your source! I made an expansion pack for Small World, I hope you're feeling better :). The expansion is also incomplete lol. It's a text game. It works perfectly on Linux with gcc 3.3.5 (GNU C Compiler). I hope someone finds it useful! :)
Attached Files
File Type: zip smallw.zip (3.8 KB, 335 views)
Kleid-0 is offline   Reply With Quote
Old 01-03-2005, 06:32 AM   #39
Registered User
 
Join Date: Dec 2001
Posts: 60
Comments are welcome

OS - WindowsXX

This is my very first game _ very similar to the well known game 'Stratego':

http://www.geocities.com/c_pruell/MecnelsTactics.zip

I added a short description of the game to the program's header,
which you can look at here:

http://www.geocities.com/c_pruell/MTdefHeader.rtf


Any comments and suggestions how this game could be improven are welcome (so far I haven't discovered any serious bugs, if you find some please let me know)

Good luck!


Last edited by Mecnels; 01-03-2005 at 07:17 AM. Reason: forgot os info
Mecnels is offline   Reply With Quote
Old 01-06-2005, 05:32 AM   #40
Registered User
 
Join Date: Jan 2005
Posts: 1
path finder

Code:
operating system: developed and tested under windows xp sp2
but should work with windows 98, me, 2000...

compiler: microsoft visual studio professional 6.0 sp5

graphics library: windows gdi

other libraries: win32 api, stl

description: create a starting position, ending position,
setup some blockades and let the ai find a shortest path.
more of a demonstration than a game but can be used in your games...

other notes: please read "README.txt" for controls.
i attached the source with the visual studio workspace files
so just open the workspace.  if you are having problems
compiling, i also included the executable "pathfinder.exe" in the zip file.
download pathfinder.zip here

enjoy...

Last edited by kashikoi3; 01-06-2005 at 04:05 PM.
kashikoi3 is offline   Reply With Quote
Old 01-08-2005, 02:52 PM   #41
Registered User
 
LogicError's Avatar
 
Join Date: Aug 2003
Location: г. Магнитогорск
Posts: 76
Exclamation My old Snake evolved!

Bring tha noize for verzion 2!


Operating System: Windows XP SP2
Compiler: Dev-C++ 4.9.9.0
Graphics Lib: SDL (www.libsdl.org)
Description: Below I posted two images.. one of my old snake game.. the other of my new.. and the new one comes with an interface too! check it out :P


http://logicerror.glwb.info/upload/old_snake.jpg
http://logicerror.glwb.info/upload/new_snake.jpg

Source code here:
http://logicerror.glwb.info/upload/Snake.zip

Please comments: logicerror@mail.ru
LogicError is offline   Reply With Quote
Old 03-25-2005, 07:52 PM   #42
Rabite
 
SirCrono6's Avatar
 
Join Date: Nov 2003
Location: California, US
Posts: 269
Solar System Generator

Well, this isn't exactly a game, but...

Code:
Operating system: Windows XP
Compiler: Dev-C++ 4.9.9.1
Language: C++
Description: Randomly generates a solar system that can be saved to a file.

Credits
Programmer: SirCrono6
Sort of stole idea from: Gatt9 (here)
Stole .txt idea from: jverkoey (from I don't remember)
Since you can't upload a .zip, rename Solar System Generator.txt to Solar System Generator.zip (it will still work).

- SirCrono6

Edit - Now it displays the planet's size in the text file
Attached Files
File Type: txt Solar System Generator.txt (132.7 KB, 317 views)
__________________
From C to shining C++!

Great graphics, sounds, algorithms, AI, pathfinding, visual effects, cutscenes, etc., etc. do NOT make a good game.
- Bubba

IDE and Compiler - Code::Blocks with MinGW
Operating System - Windows XP Professional x64 Edition

Last edited by SirCrono6; 03-25-2005 at 09:06 PM.
SirCrono6 is offline   Reply With Quote
Old 04-21-2005, 06:47 PM   #43
Registered User
 
Join Date: Feb 2005
Posts: 1
hi, everyone !

im new to c++, and it's my first (crappy) game !
it's called pong.



Code:
Operating System : win XP sp2
Compiler : Dev-c++ 4.9.9.2
Required library : none
Description : sorta like a tennis game 



the link : http://bo2.site.voila.fr/pong.zip
size : 132 ko

send your comments to marc_dumoulin@msn.com

EDIT : updated the file; fixed error with score.

Last edited by da_alchimiste; 04-21-2005 at 07:08 PM.
da_alchimiste is offline   Reply With Quote
Old 08-11-2005, 04:45 AM   #44
Registered User
 
Join Date: Aug 2005
Posts: 2
Snake Using Curses v0.4.4

Code:
Operating system used: Gentoo Linux
Compiler used: gcc 3.3.5-20050130
Language: C
Description: A snake game written in C showing how to use curses, as well as handling arguments under a UNIX-like environment, like Linux.

Credits
Programmer: Nissemand
Get the source code HERE
to compile use the following command:
Code:
gcc snake.0.4.4.c -lncurses -o snake
now you got the executable in your current folder. Start the game with the command
Code:
./snake
This is my first graphical game, so be kind to it
nissemand is offline   Reply With Quote
Old 08-12-2005, 01:10 AM   #45
Registered User
 
Join Date: Aug 2005
Posts: 11
Breakout

This is a breakout clone. You move the paddle with the arrow keys.

Code:
Operating system: XP Home SP1
Compiler: Dev-C++ 4.9.9.2
Libaries: HIVE
Description: Hit the bricks at the top of the screen with the ball. Deflect the ball via the paddle.
Link to download
hive is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resources for professional games EVOEx Game Programming 8 06-17-2009 02:42 PM
need help with HTTP POST Anddos Networking/Device Communication 5 03-22-2009 08:41 AM
Unknown memory leak with linked lists... RaDeuX C Programming 6 12-07-2008 04:09 AM
Auto POST vasanth A Brief History of Cprogramming.com 10 06-07-2003 10:42 AM


All times are GMT -6. The time now is 01:19 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22