Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 08 Aug 2001
Offline Last Active Today, 04:22 PM

Posts I've Made

In Topic: Good C++ Learning Materials For A Beginner

12 August 2016 - 11:13 AM

If you are coding on Windows, the Intro to C on Windows from Handmade Hero will teach you all the stuff you need to know that the books don't teach you.


In Topic: Ide For Linux

05 August 2016 - 03:19 PM

+1 for QtCreator

In Topic: Compiling My Sdl C++ In Mac

26 July 2016 - 09:44 AM

The whole point of SDL is that it can compile and run on many different platforms.  But you have to use SDL for all the platform stuff.  If you didn't use SDL for the window, input, rendering, file I/O, and threading, then you will most likely have to refactor your code to use SDL for everything.  But like ApochPiQ said, without seeing the code it's really hard to tell.


I do know you can compile an SDL program from the command line on a Mac because I've done it.  There were a few difference, like OpenGL headers being in a different place, but those kinds of things are solved by adding some #ifdef calls to some header files.

In Topic: When you realize how dumb a bug is...

18 July 2016 - 12:44 PM

unsigned int x, y;
for( y == bmp->height-1; y >= 0; y-- ){

This one got me 16 years ago, I believe this one was my very first head banging frustration session we coders have come to embrace as an significant part of our life. (I was quite new to coding at the time.)



These bugs are the worst.  Just yesterday I wrote:

// squirrel script

local x = 42

if( x = position || falling ) {
   // do something

I just look right over the bug and usually don't find it until I start adding logging statements that don't make sense

In Topic: What Language Is Best For Game Programming?

07 July 2016 - 12:31 PM

So I've been thinking about game development, and have come to the conclusion that thats what I want to do with my life. Then, I decided that I should create one lol, and I looked at what I was going to be taking on, money, etc.


1. Please don't decide what to do with your life before you have tried it.  Never a good idea.

2. ApochPiQ's response is actually correct, so spend a little more time thinking about what it says.

3. You don't want to use different languages for different operating systems.


I get the sense that you do not have much programming experience?  How much programming have you done?


Making a game by yourself involves programming, game design, sound, music, art, writing, and a whole bunch of other things, so give it a try, but don't expect to make anything great the first time.  I do not know of ANY developer who's first game was any good.