Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

C++ Game Develpment

Thread Tools
 
Search this Thread
 
Old 18 August 2011, 05:00 PM
  #1  
J4CKO
Scooby Regular
Thread Starter
iTrader: (1)
 
J4CKO's Avatar
 
Join Date: Jan 2003
Posts: 19,384
Likes: 0
Received 1 Like on 1 Post
Default C++ Game Develpment

My middle lad is interested in Game Development and has got a work placement with a local games developer, its in January and I want to get him to a point where he understands, and gets the best out of the placement.

They use C++. now I work in IT but I have never done any C++. I know there are game devs on here so was wonderign what tools he would need to get started writing C++. ok, I know he wont be doing game development but just a way of getting the constructs of the language and a feel for it, he has used various level designers but not done coding, he may not end up doing that as there are loads of other jobs but I think its a good start.

Is Visual C++ a good place to start ?
Old 19 August 2011, 10:29 AM
  #2  
urban
Scooby Regular
iTrader: (1)
 
urban's Avatar
 
Join Date: Mar 2002
Location: Never you mind
Posts: 12,566
Received 1 Like on 1 Post
Default

I haven't done any C++ for a very long time.
Get him familar with object oriented programming, because that will potentially be more challenging than the actual language I'd imagine.

Last time I done games programming was back in C64/Amiga days.
To be honest I never really enjoyed it that much
I always tinkered with assembly language and jumped at the job opportunity(as any young buck would)
But when a game takes you approx 2 - 3 months in the same place doing the very same thing day in day out, it soon becomes a bit of a let down
Old 19 August 2011, 10:34 AM
  #3  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

If he's going to write games, his c++ is going to have to be guru level.

Visual C++ is an excellent place to start to use the language. game shops might use other dev environments and compilers, but for the moment this is moot.

how's his mathematics? essential for 3d engine dev

He will have to learn to code for multi threaded processes, so this is beyond your design pattern object orientation. what i'm trying to say is, he needs some proper guidance not to get into bad coding habits, otherwise it's like trying to correct a sh!tty golf swing.

is he going to uni?
Old 19 August 2011, 10:59 AM
  #4  
Coffin Dodger
Scooby Regular
 
Coffin Dodger's Avatar
 
Join Date: Feb 2006
Location: Bring back infractions!
Posts: 4,554
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by urban
I haven't done any C++ for a very long time.
Get him familar with object oriented programming, because that will potentially be more challenging than the actual language I'd imagine.
Echo that sentiment, getting the right mindset for object orientated programming is far more important than the actual coding itself. Syntax is easy to learn No idea if they use it in the gaming world but have a look at Unified Modelling Language (UML), http://en.wikipedia.org/wiki/Unified_Modeling_Language Nice graphical technique for designing and understanding OO developments.

As for actual coding, pretty sure M$ do a freebie version of Visual Studio, good place to start messing around:-

while( 1 )
{
printf( "You suck!" );
}

Old 19 August 2011, 11:01 AM
  #5  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

If you are using Visual C++, make sure that you don't use any of the Microsoft/Windows libraries (MFC etc). Makes it a nightmare to move the code to other platforms.

If he currently knows nothing about OO coding, then I suggest he starts with something like Java or C# to learn the concepts with. There's a lot of stuff in C++ that has very little to do with OO, and that can get very complicated very quickly (templates spring to mind)...

Last edited by Iain Young; 19 August 2011 at 11:02 AM.
Old 19 August 2011, 11:13 AM
  #6  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

like they don't have templates in c#?

the game shops will have their own libraries.
Old 19 August 2011, 11:40 AM
  #7  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

True, (if you count generics - so does Java) but the C++ ones are far nastier

Last edited by Iain Young; 19 August 2011 at 11:42 AM.
Old 19 August 2011, 12:59 PM
  #8  
acstua
Scooby Regular
iTrader: (1)
 
acstua's Avatar
 
Join Date: Jan 2011
Location: Essex
Posts: 1,002
Likes: 0
Received 0 Likes on 0 Posts
Default

as chef said maths are a large part of games programming

not sure if id go the visual C++ route, but then i never used it a great deal
i went: really old stuff -> C, C++, Java

A friend of mine on the same course did the same basics, and then after the 1st degree did a computer games course in Oxford, after all that he now works for a finance company coding and doing very well out of it

the games market is bloody hard to get into!
Old 19 August 2011, 04:31 PM
  #9  
DanPhillips
Scooby Regular
 
DanPhillips's Avatar
 
Join Date: May 2000
Posts: 225
Likes: 0
Received 0 Likes on 0 Posts
Default

Have a look at Microsoft's XNA if you have a 360 or a PC with an ok graphics card.
It has lots of tutorials (even example games!) and is C# so he'll get some relevant skills (Most games companies currently program their tools in C# which is probably where they'll start him...or working on UI )
If you sign up for it I believe they point you in the direction of a free copy of visual studio...

PM me if you want further info, I have a few years experience working in the games industry

Cheers

Dan
Old 19 August 2011, 08:59 PM
  #10  
Rob Walker
Scooby Regular
 
Rob Walker's Avatar
 
Join Date: Nov 1999
Location: Stockport
Posts: 474
Likes: 0
Received 0 Likes on 0 Posts
Default

I'd have a tinker with Processing.. http://processing.org/
Very easy to get stuff moving around the screen without having to worry about setting up graphic modes like DirectX or OpenGL... The language is pretty much java so a lot of the skills learned will be transferrable to C/C++ as needed.. Plenty of tutorials on there too..
I wouldn't dive straight into C/C++ first.. stuff like allocating memory and pointers can wait, although if you do visual studio express is free.
Also wouldn't be worried about hardcore maths or multi processor coding yet.. need to learn to run before you can walk..
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Wingnuttzz
Member's Gallery
30
26 April 2022 11:15 PM
Littleted
Computer & Technology Related
4
17 February 2016 11:37 AM
lozgti1
Non Scooby Related
8
28 September 2015 03:49 AM
alcazar
Computer & Technology Related
7
17 September 2015 10:08 PM
Littleted
Computer & Technology Related
2
14 September 2015 08:20 PM



Quick Reply: C++ Game Develpment



All times are GMT +1. The time now is 08:43 AM.