PDA

View Full Version : Beginner Game in C


beradero
02-22-2005, 09:27 AM
Hi!
I studying C language and I want see a source game write in C.
Can someone help me?

Ps.: I use Dev-C++

EvilSmile
02-22-2005, 08:18 PM
Hi!
I studying C language and I want see a source game write in C.
Can someone help me?

Ps.: I use Dev-C++
16157


If you are experienced with programming try Quake II.

beradero
02-23-2005, 05:22 PM
Hi!
I studying C language and I want see a source game write in C.
Can someone help me?

Ps.: I use Dev-C++
16157


If you are experienced with programming try Quake II.
16168



But I donīt know Opengl..

bladder
02-23-2005, 06:11 PM
then you're going to have to learn it. You're going to have to learn how to use either opengl or direct3d eventually.

Ed Mack
02-23-2005, 10:35 PM
I don't think Quake is a good learning source. Better off with a relevant book.

anubis
02-23-2005, 10:39 PM
depends... if you can read it it's a great learning experience... on the other hand... if you can't it might make your retinas detach :D

but seriously... the style is a little hard to get used to but after that it's ok...

beradero : you don't know opengl because you know d3d and want to focus on that or you don't want to get involved with 3d at all ? in both cases mentioning that would have been realy helpful for people picking the code to show you :)

beradero
02-26-2005, 11:00 AM
I donīt now opengl because i learning C before... But i wish to use OpenGl in my future projects..

thanks for all..

TheColonial
03-02-2005, 01:05 AM
beradero,

If you don't know OpenGL, or D3D, then don't expect to make sense of much graphics code ;) If you want to learn C, then perhaps you should look for other sources of C material as Ed suggested.

Getting you head around game code can be tricky at the best of times, so doing it when you don't even know the language is only going to dishearten you. Learn the language, build some text-based/console games, and then delve into the wonderful world of 3D.

OJ

thekingofgaming
12-15-2005, 09:22 AM
Check out Allegro GL http://allegrogl.sourceforge.net/ it's a good library for beginner even for experts

monjardin
12-15-2005, 11:14 AM
If you didn't want to learn any graphics then the Nethack (http://nethack.org/) source would still make your eyes pop. And it's purely text mode. :)
I tried to look at it when I was first learning to program and it made me gasp. :surprise:

SamuraiCrow
12-15-2005, 01:41 PM
Another good library to learn for beginners is SDL (http://libsdl.org). There are packages available for DevC++ and its support libraries. The only downside is that you'll have to download the support libraries and their dependancies and include them in the linker section of the project (with the main library last since order is significant with linker libraries). :yes:

monjardin
12-15-2005, 02:44 PM
Holy crap! This post is from February! :surprise:
This guy proabably isn't even around anymore.

thekingofgaming
12-16-2005, 04:00 AM
yeah :surprise: :angry: