Duke4.net Forums: A Good FPS code to branch from? - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

A Good FPS code to branch from?

User is offline   Spirrwell 

  • tile 1018

#1

I've been learning C++ for a while now, and I wanted to know if there's a good FPS source code that I could use to learn from it, re-create it, etc. I downloaded the Duke 1.5 source, but I couldn't get it to compile in VS 2010, as it came up with many errors and warnings. Thanks in advance.
0

#2

View PostSpirrwell, on Aug 18 2010, 06:59 AM, said:

I've been learning C++ for a while now, and I wanted to know if there's a good FPS source code that I could use to learn from it, re-create it, etc. I downloaded the Duke 1.5 source, but I couldn't get it to compile in VS 2010, as it came up with many errors and warnings. Thanks in advance.

Well how bout Duke 3d or Eduke......?
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#3

I only successfully got the original source to compile with the old versions of Watcom. You have to make some changes to make it compilable on other IDEs or something...
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#4

View Postblackharted, on Aug 19 2010, 03:02 AM, said:

Well how bout Duke 3d or Eduke......?

I am having flashbacks already. :wacko:

View PostSpirrwell, on Jul 21 2010, 01:11 AM, said:

Is Eduke32 an open source? I was thinking about rewriting part of the engine to learn how it works. I found the Linux source, but I never understood anything Linux related. Any help as to where I can find a Windows version of the source?

0

User is offline   Spirrwell 

  • tile 1018

#5

View PostThe Commander, on Aug 18 2010, 03:16 PM, said:

I am having flashbacks already. :wacko:

Yes I am stupid in some areas, on the other hand I am smart in others. I did some research, eduke32 source is only accessible with SVN CO, I don't use Linux.
0

User is offline   Hendricks266 

  • Weaponized Autism

  #6

View PostSpirrwell, on Aug 19 2010, 05:42 PM, said:

eduke32 source is only accessible with SVN CO, I don't use Linux.

That's preposterous, install this.
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#7

View PostSpirrwell, on Aug 20 2010, 10:42 AM, said:

Yes I am stupid in some areas, on the other hand I am smart in others.

View PostSpirrwell, on Aug 20 2010, 10:42 AM, said:

I did some research, eduke32 source is only accessible with SVN CO, I don't use Linux.

LOL

I don't know how to code C++ (I can look at the code and know what it does though) but I do know how to get the source code.
0

User is offline   Spirrwell 

  • tile 1018

#8

View PostThe Commander, on Aug 19 2010, 11:27 PM, said:

LOL

I don't know how to code C++ (I can look at the code and know what it does though) but I do know how to get the source code.

Okay, yes we can all agree that I'm mentally retarded, drop that subject. On the other hand I have 2D game programming knowledge. I'm downloading TortoiseSVN now, thanks Hendricks266
0

User is offline   Radar 

  • King of SOVL

#9

Don't you guys think we should be a bit more supportive of a guy who's trying to take up coding, unlike anyone else over here? This young man might be the prodigy we've been waiting for, and will in time give us 7.1 surround sound support in EDuke32, and many other things we've wanted for so long! :wacko:

Though I'm not holding my breath, Spirrwell does seem to have a bit more potential than you normally see around here. He seems to be really serious about wanting to take up coding, and claims he has 2D programming knowledge. He better make something out of it. :)

This post has been edited by Radar1013: 20 August 2010 - 09:23 AM

0

User is offline   Spirrwell 

  • tile 1018

#10

View PostRadar1013, on Aug 20 2010, 01:22 PM, said:

Don't you guys think we should be a bit more supportive of a guy who's trying to take up coding, unlike anyone else over here? This young man might be the prodigy we've been waiting for, and will in time give us 7.1 surround sound support in EDuke32, and many other things we've wanted for so long! :wacko:

Though I'm not holding my breath, Spirrwell does seem to have a bit more potential than you normally see around here. He seems to be really serious about wanting to take up coding, and claims he has 2D programming knowledge. He better make something out of it. :)


Yeah I've been trying to study C++ ever since I found a Quake server that featured a mod that I loved, although at the time I could hardly understand it, I was only eight, but six years later I'm able to fully understand quite a bit, now that my vocabulary has expanded as well as my math, I'm better able to understand things in C++. Now although I have some knowledge of 2D programming, I find it obscure, as for right now, I'm only able to work with bitmaps and such for sprites, backgrounds, and such. No matter how hard, I will try my best to understand 3D programming. As for Eduke32, I either need some extra libraries, or I need a new compiler, as I was unable to.

This post has been edited by Spirrwell: 20 August 2010 - 12:38 PM

0

#11

View PostSpirrwell, on Aug 20 2010, 04:36 PM, said:

Yeah I've been trying to study C++ ever since I found a Quake server that featured a mod that I loved, although at the time I could hardly understand it, I was only eight, but six years later I'm able to fully understand quite a bit, now that my vocabulary has expanded as well as my math, I'm better able to understand things in C++. Now although I have some knowledge of 2D programming, I find it obscure, as for right now, I'm only able to work with bitmaps and such for sprites, backgrounds, and such. No matter how hard, I will try my best to understand 3D programming. As for Eduke32, I either need some extra libraries, or I need a new compiler, as I was unable to.

This has been my fav toy to work on FPS, 3D/2D platformer, etc... all in one engine.
And not too bad of a learning curve either.

http://unity3d.com
0

User is offline   Spirrwell 

  • tile 1018

#12

View Postcanada4duke, on Aug 20 2010, 04:58 PM, said:

This has been my fav toy to work on FPS, 3D/2D platformer, etc... all in one engine.
And not too bad of a learning curve either.

http://unity3d.com

Yeah it has the base Unity for free, but if you want everything else, You'll be out a few thousand. Yeah I'm fourteen, I'm not going to be able get a loan for this.

This post has been edited by Spirrwell: 20 August 2010 - 02:30 PM

0

#13

View PostSpirrwell, on Aug 20 2010, 06:29 PM, said:

Yeah it has the base Unity for free, but if you want everything else, You'll be out a few thousand. Yeah I'm fourteen, I'm not going to be able get a loan for this.

http://unity3d.com/unity/licenses

Free version of unity gives you everything the full version can do except a few advanced shading/special effects.
The free one supports publishing to web plugin, pc, mac
Of course you have to be ok with the Unity logo on game start up.
Don't believe me, download it, try the default island level that comes with it and see
0

User is offline   SwissCm 

#14

idtech3 (Quake 3) would be pretty good. Also, idtech4 (Doom 3) is due to be released when Rage is.
0

User is offline   Metalwolf 

#15

View PostSpirrwell, on Aug 20 2010, 04:36 PM, said:

Yeah I've been trying to study C++ ever since I found a Quake server that featured a mod that I loved, although at the time I could hardly understand it, I was only eight, but six years later I'm able to fully understand quite a bit, now that my vocabulary has expanded as well as my math, I'm better able to understand things in C++. Now although I have some knowledge of 2D programming, I find it obscure, as for right now, I'm only able to work with bitmaps and such for sprites, backgrounds, and such. No matter how hard, I will try my best to understand 3D programming. As for Eduke32, I either need some extra libraries, or I need a new compiler, as I was unable to.
Good luck Spirrwell!
I would join you in your knowledge quest, but thoughts of going into Law Enforcement occupy me as of late. Perhaps I shall too create virtual worlds one day! :wacko:
0

#16

View Postcanada4duke, on Aug 20 2010, 10:58 PM, said:

This has been my fav toy to work on FPS, 3D/2D platformer, etc... all in one engine.
And not too bad of a learning curve either.

http://unity3d.com


haha shit happens xD
0

#17

View PostJhect, on Aug 28 2010, 01:06 PM, said:

haha shit happens xD

????????????????????
0

#18

View Postcanada4duke, on Aug 30 2010, 12:21 PM, said:

Stage 1: Post Spam
Stage 2:????????????????????
Stage 3: PROFIT!!!!!

Sorry couldn't resist :wacko:

No really how is this coming along Sprilwell? It sounds hard. Well done.

This post has been edited by blackharted: 31 August 2010 - 04:11 AM

0

User is offline   Omni 

#19

View PostSwissCm, on Aug 26 2010, 06:36 PM, said:

idtech3 (Quake 3) would be pretty good. Also, idtech4 (Doom 3) is due to be released when Rage is.


Rage has a release date of mid September 2011.
0

User is offline   Spirrwell 

  • tile 1018

#20

View Postblackharted, on Aug 31 2010, 08:08 AM, said:

Sorry couldn't resist :wacko:

No really how is this coming along Sprirwell? It sounds hard. Well done.

It's not really that hard, I can retain information really well once I learn it. Doing the math, game developers can make a quick $40 million a month depending one the price of the game, how good it is, and how many copies are produced.

Edit: Where can I get idTech 3 I've been looking around I can't find a download for it, is it just source code or something?

This post has been edited by Spirrwell: 01 September 2010 - 04:36 PM

0

User is offline   Jinroh 

#21

View PostSpirrwell, on Sep 2 2010, 07:45 AM, said:

It's not really that hard, I can retain information really well once I learn it. Doing the math, game developers can make a quick $40 million a month depending one the price of the game, how good it is, and how many copies are produced.

Edit: Where can I get idTech 3 I've been looking around I can't find a download for it, is it just source code or something?


From Right Here:
Quake III Source (IDTech3)

This post has been edited by Jinroh: 01 September 2010 - 05:47 PM

0

User is offline   Omni 

#22

View PostSpirrwell, on Sep 1 2010, 03:45 PM, said:

It's not really that hard, I can retain information really well once I learn it. Doing the math, game developers can make a quick $40 million a month depending one the price of the game, how good it is, and how many copies are produced.

Your thinking of what are now AAA games with large teams, long development times and a lot of overhead to pay. Now I am not trying to say indies can not make money but it has a harder market to crack and its not the same market.

Quote

Edit: Where can I get idTech 3 I've been looking around I can't find a download for it, is it just source code or something?


Yes it is just the source code, but you can look at games that have been designed off of it as examples of what good teams can do.

IE: Everquest, Warsow(I guess this would go in the indie/fan category), + many many many more.
0

#23

View PostJinroh, on Sep 2 2010, 02:47 AM, said:



Yep and:

RTCW: ET Source
RTCW Multiplayer Source
RTCW Single Player Source
GtkRadiant Source
0

User is offline   Spirrwell 

  • tile 1018

#24

View PostOmni, on Sep 2 2010, 02:06 AM, said:

Your thinking of what are now AAA games with large teams, long development times and a lot of overhead to pay. Now I am not trying to say indies can not make money but it has a harder market to crack and its not the same market.

Well Ken Silverman made Build and he was just in high school. But, yes I see your point.

Also, thanks for the source code, I'll take a look at it later, I'm busy, 9th grade for me starts in six days.
0

User is offline   Psycho87 

#25

You cannot compile the Duke3D 1.5 source code with MSVC as it was coded for the Watcom C compiler, and more importantly, for DOS. Also, if you are
only interested in modern computer graphics, forget about the original Duke3d. The techniques used by the BUILD engine are outdated (But may still be
interesting to play with).

Following is a list of resources I think will be helpful. No Direct3D though, as I am an OpenGL programmer myself. Direct3D is only supported on Windows and
on the XBox, whereas OpenGL runs on a wide range of platforms and systems, which is important to me as I do most of my programming in GNU/Linux.

Math:

Algebra: http://en.wikibooks.org/wiki/Algebra
Trigonometry: http://en.wikibooks....ki/Trigonometry
Linear Algebra: http://en.wikibooks..../Linear_Algebra
Calculus: http://ocw.mit.edu/resources/res-18-001-ca...-2005/textbook/

C++:

Sams Teach Yourself C++ in 24 Hours: http://www.amazon.co.uk/Sams-Teach-Yoursel...s/dp/0672326817

SDL (Simple DirectMedia Layer):

http://www.libsdl.org/
Using SDL with OpenGL: http://gpwiki.org/index.php/C:SDL_OGL

Basics of modern 3D graphics:

http://en.wikipedia....i/Rasterisation
http://en.wikipedia.org/wiki/Shaders

OpenGL tutorials/demos:

http://www.codesampler.com/oglsrc.htm
http://www.lighthous...om/opengl/glsl/

OpenGL specifications:

http://en.wikipedia.org/wiki/OpenGL

OpenGL 2.1 Supported Cards: Radeon HD 2350, GeForce FX (with driver 175.19), GeForce 6000 series, GeForce 7000 series, GeForce Go 7000 series, Quadro FX 4000, Quadro FX 350, Quadro FX 550, Quadro FX 560, Quadro FX 1400, Quadro FX 1500, Quadro FX 5500, and all later cards.
Released July 2, 2006.

OpenGL 2.1 Specification: http://www.opengl.or...21.20061201.pdf
GLSL 1.2 Specification: http://www.opengl.org/registry/doc/GLSLang...Full.1.20.8.pdf

OpenGL 3.2 Supported Cards: Radeon HD series; GeForce 8000, 9000, GT 100, GTX 200, GT 300 and GTX 400 series
Released 3 August 2009 and updated 7 December 2009.

OpenGL 3.2 Specification: http://www.opengl.org/registry/doc/glspec3...re.20091207.pdf
GLSL 1.5 Specification: http://www.opengl.or...pec.1.50.11.pdf

OpenGL 4.0 Supported Cards: Nvidia GeForce GTX 400 series, ATI Radeon HD 5000 series
Released 11 March 2010

OpenGL 4.0 Specification: http://www.opengl.org/registry/doc/glspec4...re.20100311.pdf
GLSL 4.0 Specification: http://www.opengl.org/registry/doc/GLSLang....00.9.clean.pdf

OpenGL 4.1 Supported Cards: Nvidia GeForce GTX 400 series
Announced 26 July 2010

OpenGL 4.1 Specification: http://www.opengl.org/registry/doc/glspec4...re.20100725.pdf
GLSL 4.1 Specification: http://www.opengl.org/registry/doc/GLSLang....10.6.clean.pdf

Graphics Programming Books:

GPU Gems 1: http://developer.nvi..._gems_home.html
GPU Gems 2: http://developer.nvi...ems_2_home.html
GPU Gems 3: http://developer.nvidia.com/object/gpu-gems-3.html

Advanced Graphics Programming using OpenGL: http://www.amazon.com/Advanced-Graphics-Pr...r/dp/1558606599
Shaders for Game Programmers and Artists: http://www.amazon.com/Shaders-Programmers-...t/dp/1592000924

OpenAL (Open Audio Library):

http://connect.creat...al/default.aspx
http://en.wikipedia.org/wiki/OpenAL

OpenAL 1.1 Specification: http://connect.creativelabs.com/openal/Doc...ecification.pdf
OpenAL Utility Toolkit Documentation: http://connect.creativelabs.com/openal/Doc...y%20Toolkit.pdf
OpenAL Programmers Guide: http://connect.creativelabs.com/openal/Doc...mmers_Guide.pdf

DevMaster OpenAL tutorials: http://www.devmaster...les.php?catID=6

Some Open Source Engines:

Quake engines: ftp://ftp.idsoftware...idstuff/source/
ioquake3 Engine: http://ioquake3.org/
Darkplaces Engine: http://icculus.org/t...ght/darkplaces/

Cube Engine: http://cubeengine.com/
Sauerbraten/Cube 2 Engine: http://sauerbraten.org/

Ogre3D: http://www.ogre3d.org/
Irrlicht Engine: http://irrlicht.sourceforge.net/
Crystal Space: http://www.crystalsp.../main/Main_Page

Interesting OpenGL demo 'Ruin Island' with Source Code: http://www.geeks3d.com/20100423/ruin-islan...ll-source-code/

This post has been edited by Psycho87: 12 September 2010 - 07:32 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options