Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 Nov 2004
Offline Last Active Jan 15 2012 07:26 PM

#4903101 Variable index

Posted by on 15 January 2012 - 07:26 PM

You can do something like this:

#define Global 5;

float g[Global];
int t = Global;
int z = Global;

#4854908 Creating a 2D engine from scratch...

Posted by on 28 August 2011 - 07:14 PM

I'm actually doing it right now, I went the whole 2D from scratch. It definitely is way more work and takes way more time than I thought. 2nd go round I really would like to just use an already existing engine.

But I am learning... ALOT.... very time consuming.

Anyways, If you are totally new to this, I would start with http://nehe.gamedev.net if you want to go the opengl route.

Some people might reply his code is old and outdated, but you can still learn from it. Unfortunately, I don't know of any other active sites that has tutorials as in depth as nehe.

http://www.gametutorials.com used to be free, now you have to pay for it.