Hacker News new | ask | show | jobs
by snapdaddy 740 days ago
As others have commented, most people have specialised knowledge. For example, I've been programming professionally for about 30 years; let me share my knowledge of game programming:

Most people use Unity these days. I'm pretty sure it's in C#, and there was something about the licence recently that they probably backed down from. You can still write in c with OpenGL, but you will probably have to create your own game engine(?). You will need a game loop where you track the milliseconds elapsed each frame. Try not to stutter in your game loop. 16 ms. Oh, and double-buffering the output is probably a good idea.

See? Don't sound so smart now, do I?

1 comments

Nice guide, pretty comprehensive. I think it's Godot or something else these days. You don't have to care about milliseconds if you write a turn-based game, and anyway movie frames last for 42 milliseconds so I think going faster than that is overhyped. Sound is awkward to do because of communication between threads or something, don't know, will investigate one day.