Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.
/ ice-engine-3d Public archive

[CLOSED] A 46h made, Linux 3D engine with OpenGL created during the Montreal Creative GameJam 2018

License

Notifications You must be signed in to change notification settings

geekymoose/ice-engine-3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ice Engine 3D

screenshot

A 46h made, Linux 3D engine with OpenGL created during the Montreal Creative GameJam 2018.

Description

This is a 3D game engine made from scratch during the CreativeJam 2018. We had 46 hours to create a full game, and here is barely the engine. There is a little demo though! Run the given executable and test it (Linux only). You don't have much other goals than moving around... (Best gameplay ever!) But wait, everything was made from scratch! (Or almost, we use OpenGL with glad, glfw, and glm. Fortunately, we were not required to create the computer by our own)

You may enjoy the beautiful handmade lighting (Phong Illumination algorithm). The physic engine runs at 45fps. The rendering loop, on the other hand, runs as fast as possible. This is a very good news if your living room is cold, since the engine will use 100% of one CPU to heat your computer, and the room on the way. After a while, you may be able to cook some bacon on your computer, but we didn't try it in practice.

That was a really funny experience. Feel free to use this engine for you next GameJam (Though that would be probably a stupid idea!)

Features

  • Engine
    • Subsystems
      • TimeManager
      • MeshManager
      • TextureManager
      • InputManager
      • WindowGLFW
    • Camera
    • Game
    • Texture
    • Mesh
  • Gameplay
    • GameObject
      • Update
      • FixedUpdate
    • GamePhysic
  • Shaders
    • Phong Illumination (with PointLight)
  • Demo (move with AWDS on keyboard)

Demo

  • Move the light with A W D S on the keyboard
  • The walls push you away
  • The cubes under your position fall
  • There is literally nothing more to do (it's only a demo)
  • Press ESCAPE to leave the demo

Dependencies

  • OpenGL 3.3 (e.g., use glxinfo to check if supported)
  • glad (already in code)
  • glfw3 (already in code)
  • glm (already in code)
  • stb image (already in code)

Build and run with CMake (Linux only)

  • Requires C++11.
  • Requires pragma once support.
  • Requires CMake 2.8.2 or more (tested with 3.10).
mkdir build
cd build
cmake ..
make -j4
make run

# Or use the build script
./build.sh

# If OpenGL 3.3 is supported but not selected, you can force it with
MESA_GL_VERSION_OVERRIDE=3.3 ./build.sh

Screenshots

screenshots screenshots screenshots screenshots

Authors