0:00 / 0:00
#spacenerdsinspace#gtk#gameengine
Six Years of Space Nerds In Space -- 2018-11-03
Stephen Cameron
1.8K subscribers • 1 video on Hallway
- Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
- A classic. People kept recommending it from 2019 to 2022.
- Presented by Stephen Cameron, creator of Space Nerds In Space
- May be out of date. Uploaded 7 years ago, in an area where tools change fast.
Intermediate. Assumes working knowledge.
5.7K views8 years ago2 recommendations
Game developmentProgramming languagesGame programmingUnity, Unreal and GodotC
Stephen Cameron showcases the progress of his open-source multiplayer space simulator game written in C using GTK over six years.
spacenerdsinspace.com spacenerdsinspace.com/donate.html Six years ago I started Space Nerds In Space as a hobby project. Look how far we've come.Why it's here
2 people recommend thisWhat people say. Recommended as an inspiring example of building a complete game and custom engine from scratch in C.
u/smcameronin r/C_Programming • Recommends
On “how do i make a game in C”
I've written a couple games in C. The first one uses only GTK and follows a philosophy of "If I can draw a line, then I can draw anything." It's an arcade game somewhat reminiscent of old arcade side scrollers like Williams Defender or Scramble.
At a very high level, set up an array of objects in your game. Each object has the ability to draw itself, and move itself. Each iteration of the game, move all the objects, and draw all the objects and sample user input. Set up a timer to iterate the game 30 or 60 times per second. Here's one game I wrote in C that works in this way: Word War vi If you dig through old commits in the repo you can follow the development from the very beginning,…