Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 08 Jul 2009
Offline Last Active Aug 13 2012 01:46 PM

Posts I've Made

In Topic: Thanks Game Dev

12 August 2012 - 07:23 AM

Machine code.

But with more seriousness, if you are going to make a triple-A game, C++ is most likely the way to go.
Until then, you should use other more sane languages.

In Topic: Screen Coordinates and (0,0) Position

07 August 2012 - 03:33 PM

All matrix operations are removed in ES2, but the idea is the same - send your own projection matrix.

As to integer positions, use glVertexAttribIPointer (note the I).

In Topic: Loading Dlls as mods (Similar to idtech and source)

07 August 2012 - 02:15 AM

To replace data files, I'd go with with something like PhysicsFS.
They have this exact example on their main page I believe.

In Topic: Collision detection / response for enclosed 3d levels

02 August 2012 - 06:02 AM

Wall sliding is done by moving the colliding object along the collision normal until he stops colliding.
I assume any physics engine gives a collision listener which also feeds the collision "force", which is just the penetration vector's length.
You can use that to apply your own response, but remember to check the normal's direction, or you'll slide down on ramps too.

In Topic: Question about GLEW.

02 August 2012 - 04:36 AM

For some reason I don't understand, no one introduced a window-less OpenGL context, so you have to make a window.
If you don't want it showing, just set it to be hidden.