Jump to content


Beginner Game in C


12 replies to this topic

#1 beradero

    New Member

  • Members
  • Pip
  • 3 posts

Posted 22 February 2005 - 04:27 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++

#2 EvilSmile

    Member

  • Members
  • PipPip
  • 96 posts

Posted 23 February 2005 - 03:18 AM

beradero said:

Hi!
I studying C language and I want see a source game write in C.
Can someone help me?

Ps.: I use Dev-C++

View Post


If you are experienced with programming try Quake II.

#3 beradero

    New Member

  • Members
  • Pip
  • 3 posts

Posted 24 February 2005 - 12:22 AM

EvilSmile said:

beradero said:

Hi!
I studying C language and I want see a source game write in C.
Can someone help me?

Ps.: I use Dev-C++

View Post


If you are experienced with programming try Quake II.

View Post



But I don´t know Opengl..

#4 bladder

    DevMaster Staff

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 24 February 2005 - 01:11 AM

then you're going to have to learn it. You're going to have to learn how to use either opengl or direct3d eventually.

#5 Ed Mack

    Senior Member

  • Members
  • PipPipPipPip
  • 1239 posts

Posted 24 February 2005 - 05:35 AM

I don't think Quake is a good learning source. Better off with a relevant book.

#6 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 24 February 2005 - 05:39 AM

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 :)
If Prolog is the answer, what is the question ?

#7 beradero

    New Member

  • Members
  • Pip
  • 3 posts

Posted 26 February 2005 - 06:00 PM

I don´t now opengl because i learning C before... But i wish to use OpenGl in my future projects..

thanks for all..

#8 TheColonial

    New Member

  • Members
  • Pip
  • 9 posts

Posted 02 March 2005 - 08: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
In order to understand recursion, one must first understand recursion.

#9 thekingofgaming

    New Member

  • Members
  • PipPip
  • 12 posts

Posted 15 December 2005 - 04:22 PM

Check out Allegro GL http://allegrogl.sourceforge.net/ it's a good library for beginner even for experts

#10 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 15 December 2005 - 06:14 PM

If you didn't want to learn any graphics then the Nethack 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:

#11 SamuraiCrow

    Senior Member

  • Members
  • PipPipPipPip
  • 459 posts

Posted 15 December 2005 - 08:41 PM

Another good library to learn for beginners is SDL. 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:

#12 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 15 December 2005 - 09:44 PM

Holy crap! This post is from February! :surprise:
This guy proabably isn't even around anymore.

#13 thekingofgaming

    New Member

  • Members
  • PipPip
  • 12 posts

Posted 16 December 2005 - 11:00 AM

yeah :surprise: :angry:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users