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 9 years ago: thutterer liked this project.
  • over 9 years ago: KGronlund started this project.
  • over 9 years ago: KGronlund added keyword "3d" to this project.
  • over 9 years ago: KGronlund added keyword "opengl" to this project.
  • over 9 years ago: KGronlund added keyword "games" to this project.
  • over 9 years ago: KGronlund added keyword "c" to this project.
  • over 9 years ago: KGronlund originated this project.

  • Comments

    • thutterer
      over 9 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 9 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 9 years ago by KGronlund | Reply

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

    Similar Projects

    Vulkan Widget for GTK by yudaike

    [comment]: # (Please use the project descriptio...


    Vulkan Widget for GTK by yudaike

    [comment]: # (Please use the project descriptio...


    WebGL Game ⚽ by jarodriguez

    Project Description

    This project aims ...


    A quantum physics experiment puzzle (designed with Google's CP-SAT solver) by moio

    [![link to video player demoing the result](htt...


    Port some classic game to Linux by MDoucha

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


    Extend GObject based introspectable API to libzypp by zbenjamin

    [comment]: # (Please use the project descriptio...


    Extract generic testing framework from Linux Test Project code base by acervesato

    Project Description

    The Linux Test Projec...


    Deep Packet Inspection: compare the performance between libnetfilter_queue, NF_HOOK and eBPF XDP by nguyens

    Deep Packet Inspection: compare the performan...


    Vulkan Widget for GTK by yudaike

    [comment]: # (Please use the project descriptio...


    The Missing Middle: Add an intermediate brightness setting for auxiliary LEDs in Andúril 2 by gkenion

    [comment]: # (Please use the project descriptio...