Skip to content

nicolas92g/Cproject2i

Repository files navigation

Cproject2i - C project for ESGI


This project is a small 3D game made with C and OpenGL.
This was developped on MSVC compiler of Visual Studio 2022 and not tested on any other environment. To save the games, the game need a Mysql Database with the name 'Cproject2i' on localhost, database.sql is the script to create this database


clone this repos with :

git clone --recurse-submodules https://github.com/nicolas92g/Cproject2i

pull new Renderer versions with :

git submodule update --remote

Libraries needed to compile this project :

  • glfw 3
  • glad 4.6 core
  • freetype 2
  • stb_image 2
  • libmysql 6.1.11
  • libcurl with https support

Additionnal files to add for compiling :

NasaApodApiKey.h ( Where NASA_API_KEY has to be replaced with your NASA apod api key that you can get on : https://api.nasa.gov/ )

#pragma once
#define NASA_APOD_API_KEY "NASA_API_KEY"

DatabaseLogin.h (where root and root have to be replace with your local mysql login)

#pragma once
#define DATABASE_USER "root"
#define DATABASE_PASSWORD "root"

About

C 3D Game using NASA API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages