Exploring Terrain Generation Algorithms
I’m exploring #programming a bunch of #terraingeneration #algorithm, to see how they work and which ones look nice. So far I’ve tried out the Midpoint Displacement and Diamond Square algorithms…
4 posts tagged Algorithm
I’m exploring #programming a bunch of #terraingeneration #algorithm, to see how they work and which ones look nice. So far I’ve tried out the Midpoint Displacement and Diamond Square algorithms…
How did the 1880 US Census and the end of World War 2 lead to the invention of the computer? What was it that kickstarted the Information Age? Come with me as we find out how the need to count everyone in 1800s America directly lead to the modern information age and all the technology we take for granted.
Game controllers on computers are somewhat irritating to manage compared to a console. Has the user plugged in an XBox controller? A PS4 controller, or have they obtained some random USB controller they found on eBay?
Coping with this in SDL was difficult, with SDL just telling you “button 13 pressed” or “joystick axis 4 moved”, which is great except all your code really wants to know is “did the user just press the A button?”.
SDL_GameController fixes all this, and it needs better documentation, so this is my attempt at providing some useful information.
Back in the mists of history, sometime around the 90s it was quite common for games and demos to display text on the screen. Since we’re talking about old computers with barely any usable RAM, the text was stored as images. A giant single image with every character placed within it. To display words programmers had to be a bit inventive. That’s the topic of today’s post.