Code Monkey home page Code Monkey logo

lacadia's Introduction

lacadia

Rewrite of my 2D game lacadia (C# using monogame) into a 3D game in C using GLEW and GLFW

I'm writing a majority of the engine. Using GLEW and GLFW for windowing/opengl helper functions, and lodepng for loading/using pngs. Other than that everything is written with a lot of help from online stuff.

external/

Contains all external libraries that are used.

shaders/

Contains the shaders that are used with the game. These are copied into the output directory so the executable has them

src/

Contains the source of the game

src/enemies/

Contains the code for the enemies of the game

src/game/

Contains the code for the game util structures and functions such as game_object, game_world, spells, effects, etc.

src/players/

Contains the code for the various playable characters in the game

src/util/

Contains the code for various utility structures such as camera, array_list, set, vec3, mat4, object_model, etc.

main.c

The main entry point to the program. Handles setting up glfw, glew, shaders, camera, handles the input, and handles calling the various update functions for game_world, etc.

Building

Windows

> cd lacadia
lacadia > mkdir build
lacadia > cd build
lacadia/build > cmake ../ -G "Visual Studio 12 2013"

Then open the visual studio solution file it generates and build it with that.

Unix

Not tested, but the cmake build should work. I make no promises about glew/glfw though.

lacadia's People

Contributors

coreylowman avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.