Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 23 Mar 2008
Offline Last Active Jun 23 2014 09:28 PM

#5135966 C++ OpenGL - Deprecated or not !

Posted by on 02 March 2014 - 08:35 PM

OpenGL 3.0 introduced what's called the "Core profile" that deprecates all of the fixed-pipeline functionality and state tracking. Some platforms require the use of it in order to use the "modern" OpenGL functionality like geometry shaders, etc. That said you can us the "Compatibility profile" and it's like nothing ever happened.^^


I would suggest learning the "modern" methods as they allow for so much more freedom and will let you play with the new hotness should you be ever be so inclined!^^ (Not to mention MUCH more performant)





Those may help^^

#5120848 Are there any good open source game editors out there?

Posted by on 03 January 2014 - 12:42 AM

http://www.blender.org/ ? It's a modeler, editor and engine^^

#5112840 Moving in the direction of rotation?

Posted by on 28 November 2013 - 03:39 PM


shipx +=  (float) (shipspeed * Math.toRadians(Math.cos(angle)));    

+=  (float) (shipspeed * Math.toRadians(Math.sin(angle)));

should probably be:

 shipx +=  (float) (shipspeed * Math.cos(Math.toRadians(angle)));    

 shipy +=  (float) (shipspeed * Math.sin(Math.toRadians(angle)));

EDIT: lol great minds. just a moment to late to be first with it =P

#5102555 Town Generation

Posted by on 18 October 2013 - 10:05 PM

What style are you looking for? I would probably start by generating the street layout and then placing buildings based on plot size... I don't know of many articles though... read a few a while ago and will look around for them, but in the meantime maybe that will be a helpful starting point^^;

#5101965 Just how complex are AAA games?

Posted by on 16 October 2013 - 03:59 PM

Define "complicated."

I've worked with Bullet (and a few other physics libs) and don't particularly remember anything egregiously scary about any of them.

I think he's talking about the internals not the surface level interface that your normally interact with^^

#5088030 C++ with SDL, help on how to create a 2D map

Posted by on 22 August 2013 - 02:32 AM

Google is your friend biggrin.png



I use this in my engine as well. It's a nice little framework^^

#5086937 C++ with SDL, help on how to create a 2D map

Posted by on 17 August 2013 - 08:59 PM

@theseven I believe @AllEightUp was trying to show you have to how he would "serialize" your data. Serialization is when you turn your in-memory data into file on the HD or SSD or Cloud Drive or whatever. SDL and OpenGL are both librarys and neither deal with data or data structures. I would probably either make a structure  called a graph (the boost library has a good one if you want to use that) and store the contents of the room in a struct/class in the graph and then you can setup your rendering from that.