Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 04 Oct 2012
Offline Last Active Today, 11:26 AM

Topics I've Started

Other uses for matrices in games?

06 August 2014 - 07:31 AM

I was thinking, what are the not so obvious ways for using matrices in games? We all know of matrices to be an integral part of 3D space transformation. But since a matrix is but a block of numbers, there must be interesting ways of using it for other things, specifically in games. Please share your thoughts. :)

Universal OpenGL Version

26 February 2013 - 06:42 PM

Developing a game with OpenGL, which OpenGL version would have no problem running on most computers? For both Hardware and Platform (PC/MAC/LINUX).

Some say 2.x because it's older and everyone is capable of running older versions with what ever hardware they might have.
Now wouldn't 3.x be much better in terms of performance, better tools and cool effects with programmable pipeline?
I'm a bit lost on this subject, heard that Mac can't even go beyond 3.2, and what about Linux?
Any feedback would be helpful, thanks smile.png

ElapsedTime Movement?

07 October 2012 - 10:01 AM

Many years of programming and I never actually used a proper elapsed time functionality, which promises to run and move game objects in pixels per second rather than pixels per frames.

My question is where do you actually add elapsed time to? Is it every single object that you move? (which sounds like something you will eventually miss) or is it only on the main loop?

My example...?

[Engine] -> Game(delta) -> Player(delta) -> moveRight(delta) - > x += speed*delta;
[Engine] -> Game(delta) -> Enemy(delta) -> jump(delta) - > y -= jumpValue*delta;
[Engine] -> Game(delta) -> BackgroundManager(delta) -> moveBackgrounds(delta) - > for each(bg in bgList) bg.x -= speed*delta;

Am I thinking correctly or..?
Any interesting tutorials someone can link me to?