The Freelancer Community Site by Team [RIP] » Board index » The FLC Public Forums » Freelancer Tutorials




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Trying to learn C++
 Post Posted: Sun Aug 16, 2009 8:32 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Jul 25, 2009 6:41 am
Posts: 93
Does anyone know any good c++ tutorials, ive gotten past the early beginning the "hello world" n such, and im in the IF Else logics, switches n such.

Gimme a holler if you have any good pointers or suggestions


Top 
 Profile  
 
 Post subject:
 Post Posted: Sun Aug 16, 2009 8:01 pm 
Offline
Member
Member

Joined: Sat Apr 11, 2009 12:51 am
Posts: 68
I would be inclined to go for this one:-

http://www.cplusplus.com/doc/tutorial/

BUT - I am a near-total newbie so don't follow me blindly! :D

_________________
RRJDS GUILD
www.rrjds.com


Top 
 Profile  
 
 Post subject:
 Post Posted: Mon Aug 17, 2009 3:18 pm 
Offline
Member
Member

Joined: Tue Feb 26, 2008 11:46 am
Posts: 79
Good luck, it's not really difficult once you figure out whats going on...


Top 
 Profile  
 
 Post subject:
 Post Posted: Tue Aug 18, 2009 5:41 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Jul 25, 2009 6:41 am
Posts: 93
Hey Solrus!

Being an acomplished programmer/tool maker as you are, i have a few questions :)

what languages/programs do you use when writing your programs/code?

what c++ compiler do you prefer?

Do you know "Microsoft visual C++ 6.0"?

.....and is it anygood?

have you got any other advice or pointers for a wanna be programmer/game creator ?

also im looking for bigger (than the small code examples) acessible C++ code examples or programs
,so if you got any links up your sleave then please post :) thx m8


Top 
 Profile  
 
 Post subject:
 Post Posted: Tue Aug 18, 2009 2:05 pm 
Offline
Member
Member

Joined: Tue Feb 26, 2008 11:46 am
Posts: 79
I use Visual Studio 2005, C++

6.0 is just fine for getting started, there is a free version of VC 2008 though, go to the Microsoft site and search for it there. To use the latest version of DirectX you will need 2005 or later.

For game development, check out gamedev.net or codeproject.com, there is also Gamasutra.com but I haven't been there in a long while. It really depends on what you want to learn.

To find good source code to play with, I would suggest you visit sourceforge.com, most of the stuff there is released under the GNU license.

The final part, practice, practice, practice....


Top 
 Profile  
 
 Post subject: game engine parts
 Post Posted: Wed Aug 19, 2009 5:02 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Jul 25, 2009 6:41 am
Posts: 93
More questions for mr. Solrus

Dude, know that i got your attention, can you tell me a bit about your experiences with the different game engine parts?

Have you ever built a game from one of the open source engines?

Which engine would you say was good and easy to start with for your first game?

Have you ever put together a complete game engine?

If so what "Renderer" do you prefer?

Can you tell me a bit about your experiences with gamephysics?

...I hope this is not too many questions, thx in advance. Ras


Top 
 Profile  
 
 Post subject:
 Post Posted: Wed Aug 19, 2009 11:36 am 
Offline
Member
Member

Joined: Tue Feb 26, 2008 11:46 am
Posts: 79
To answer your questions...

'Have you ever built a game from one of the open source engines?'
Nope, I write all of my own code.

'Which engine would you say was good and easy to start with for your first game?'
I would suggest you try Ogre, it's open source and well supported.

'Have you ever put together a complete game engine?'
Yep, I'm working on my third engine now, www.galaxyempire.com

'If so what "Renderer" do you prefer?'
DirectX since I'm only developing for Windows based machines.

'Can you tell me a bit about your experiences with gamephysics?'
Game physics are quite complicated, especially if you aren't good at math. Just starting out I would suggest you get on Source Forge and get one of the many available physics classes. I've written all of my own stuff since physics is one of my hobbies. To roll your own class you will need to study many areas such as gravity, collision rebounding, inertial mass handling and much much more....

Hehe, btw, it's Solurus not Solrus ;)


Top 
 Profile  
 
 Post subject:
 Post Posted: Thu Aug 20, 2009 1:54 am 
Offline
Member
Member

Joined: Thu Aug 20, 2009 1:20 am
Posts: 4
Tutorials: http://www.freeprogrammingresources.com/cpptutor.html

Book: http://www.amazon.com/3D-Game-Engine-Pr ... 591&sr=8-1

This is one of a set of books for the game developer, there are several.

I would recommend using this only as a learning tool, as the engine in it was old when I bought it years ago.


Top 
 Profile  
 
 Post subject:
 Post Posted: Mon Aug 24, 2009 5:43 pm 
Offline
Member
Member

Joined: Mon Aug 24, 2009 5:16 pm
Posts: 1
Well, if you need anything write at my ICQ (pm for it if you want) I am programming in C++ quite... first you should try to make some really stupid, but simple apps. Don't mean making hello world stuff again and again but working with classes, fields etc.

for those you don't need any engine...

get VS 2008 Express C++
http://www.microsoft.com/express/download/#webInstall

Then get some nice book.. try searching for:

- Learning C++ in 21 days
- Thinking in C++

There is also one great publication "Mistrovství v C++" but it's in Czech so you probably won't read (maybe it's somewhere in english I don't know saw it only in this version, the exact transl. is "Mastery of(in?) C++" )

When you got one read it all and make their exercises. I don't want to say anything on online tutorials but if you take book and tut you will see difference on your own :) At least, it's paper and you don't have to switch windows :P

To the questions for Solurus, I'll answer from my view:

1. No, but I tried (succesfuly) modify Freespace 2 code

2. I would write my own because my first game will be really simple and engine would just blow my mind away :D

3. If you take my age of 16 the answer NO is reasonable, but I'm looking forward working in those areas :) But wahtever I built my very own calculator which got much of improvments and can not be compared with windows calculator (for more pm me I'll maybe share you some code for educ. but it don't lie within this topic much)

4. The question is .. for what:
- DirectX for Windows for sure
- OpenGL for anything else
Note that you can build OpenGL apps for windows too but DirectX is just too great ;)

5. Well there are non.
Not because I don't know about it but it doesn't fir in anything I made for now. Lancer, if I can, I'll correct you. You don't need math, you need the formulas from physic mainly. The computer will compute everything, BUT you need math at second place surely, because all programing is about algorythm and those are areas of logic -> math. So well you need to know all 3 :)

Then it's just easy to make gold ball and use:

m = Ro * V
F = m * g

And you get the gravitation force. You'll just specify constants and set your only value, the volume (which can be again calculated with math formula from radius :D )

So if you want help pm and I wish you all good. Happy playing with C++ :)


Top 
 Profile  
 
 Post subject:
 Post Posted: Wed Aug 26, 2009 3:17 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Jul 25, 2009 6:41 am
Posts: 93
Nice one dark raven

how about posting a link to ur calculator?

Or even better.....the code?

i understand if its a private project..

thx dude.


Top 
 Profile  
 
 Post subject:
 Post Posted: Wed Aug 26, 2009 3:19 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Jul 25, 2009 6:41 am
Posts: 93
ONE MORE IMPORTANT QUESTION:

Which C++ compiler is the best?

Is it/or is there a good freeware compiler out there?

Is Visual Studio 2008 express the top of the line freeware C++ compiler?


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 11 posts ] 

The Freelancer Community Site by Team [RIP] » Board index » The FLC Public Forums » Freelancer Tutorials


Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron