The idea is to play around with a minecraft-like block exploration game, written from scratch in C using SDL2 and OpenGL 3.0. Minimal dependencies, probably won't be a game as such before the end of the week, but the goal is to have a world generated and to be able to walk around in it. Why? Mainly to refresh my 3D knowledge, catch up with what's happened since I last played with that stuff, and to have fun. :)

screenshot1

screenshot2

The project is now finished, at least as far as I got during this week. There is still a lot remaining to have a proper game.

I managed to get a basic block world running with infinitely generating terrain, loading as the player moves around. There is some basic lighting which is visible in one of the screenshots above.

During the process I encountered a lot of interesting problems, mainly reacquainting myself with 3D math and ANSI C (and GDB). The first screenshot above is the result of an interesting bug when adding the functionality to grab screenshots directly in the game. I thought it had a certain aesthetic appeal.

Looking for hackers with the skills:

3d opengl games c

This project is part of:

Hack Week 11

Activity

  • almost 10 years ago: thutterer liked this project.
  • almost 10 years ago: KGronlund started this project.
  • almost 10 years ago: KGronlund added keyword "3d" to this project.
  • almost 10 years ago: KGronlund added keyword "opengl" to this project.
  • almost 10 years ago: KGronlund added keyword "games" to this project.
  • almost 10 years ago: KGronlund added keyword "c" to this project.
  • almost 10 years ago: KGronlund originated this project.

  • Comments

    • thutterer
      almost 10 years ago by thutterer | Reply

      Cool. One of my maybe-projects is exactly like yours! Except that I don't have much knowledge to fresh up yet and that I started using freeglut, not SDL. Maybe I'll join and we (=you) can share tips and snippets remotely :)

    • KGronlund
      almost 10 years ago by KGronlund | Reply

      That sounds good! I have some sneak-start experimental code on github here: github.com/krig/roam

      I have discovered that I really need the refresher, so much math that I have forgotten. :)

      a screenshot

    • KGronlund
      almost 10 years ago by KGronlund | Reply

      I have been blogging with my progress here: http://koru.se/

    Similar Projects

    Port some classic game to Linux by MDoucha

    Let's pick some old classic game, reverse engin...