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

  • over 5 years ago: thutterer liked Voxel exploration game
  • over 5 years ago: KGronlund started Voxel exploration game
  • over 5 years ago: KGronlund added keyword "3d" to Voxel exploration game
  • over 5 years ago: KGronlund added keyword "opengl" to Voxel exploration game
  • over 5 years ago: KGronlund added keyword "games" to Voxel exploration game
  • over 5 years ago: KGronlund added keyword "c" to Voxel exploration game
  • over 5 years ago: KGronlund originated Voxel exploration game

  • Comments

    • thutterer
      over 5 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
      over 5 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
      over 5 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...


    Improving picotm by tdz

    Picotm is a system-level transaction manager. I...


    netlink interface for ethtool by mkubecek

    There seems to be an overall consensus that the...


    dmidecode: no more open-coded printfs by jdelvare

    There's a long standing request to extend the o...


    make "predictable network interface names" more predictable by mkubecek

    Since the so-called "predictable names" for net...


    ethtool ops for netdevsim by mkubecek

    This can be seen as a subproject of [ethtool ne...