Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 27 Jun 2006
Offline Last Active Jun 28 2013 03:15 AM

Posts I've Made

In Topic: Wavefront OBJ loader c++

10 December 2012 - 04:38 PM

To that end, skip malloc all together. Use new/delete.

vertexBuffer = new float[fileSize];
detete [] vertexBuffer;

Or even better:
std::vector<float> vertexBuffer(fileSize);

In Topic: Importance of technology choices

26 November 2012 - 01:43 AM

Because that's what I'd prefer to program in. I believe a good programmer can switch to a different language very quickly. Although that view might not be shared by others.

In Topic: Looking for open source shooter game to learn from and tinker with.

14 October 2012 - 10:17 AM

checkout this repo, svn://svn.icculus.org/fs2open/trunk/fs2open , it's the source code for FreeSpace2 with some community fixes.

In Topic: "Getters" and "Setters" - do you write them if you don't...

08 October 2012 - 02:00 AM

An object-oriented ball doesn't ever need something else to tell it what its size is. Nothing else needs to know its size. It knows how to collide with walls and paddles. It knows how to draw itself.

But wouldn't that break the SRP? You have a class that knows how to collide with walls and paddles, how to draw itself, what are it's physical properties. Isn't that too much?

In Topic: Which language?

02 May 2012 - 04:11 AM

I am willing to put a lot of work into learning so thats not an issue. I plan on going into Computer Science so will C# help me later in my career?

Also, what tools do i need to get started with C#?

C# is used mostly for business applications and game tools, although there are some games written in C# (eg. Magicka). To start with C# you'll want Visual Studio.