Giter Site home page Giter Site logo

burnert / ion Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 9.62 MB

A C++ game engine, created with simplicity in mind.

C++ 96.38% C 0.52% Batchfile 0.01% Lua 0.41% GLSL 0.41% HLSL 2.00% Python 0.26%
game-development game-engine cpp 3d-graphics directx11 opengl4 directx10

ion's Introduction

Ion

A C++ game engine, created with simplicity in mind.

The main focus of this engine is to create retro style games quickly.

It is also our, not yet existing, studio's in-house engine, that we will use to create our games.

Clone

If you want to clone the repo, use the following Git command:

git clone --recurse-submodules "https://github.com/Burnert/Ion/"

You can also use this batch script:

@echo off
set /p branchname="Enter branch name to clone (press ENTER to clone master branch): "

if "%branchname%" equ "" (
	set branchname="master"
)

if exist Ion\ (
	rmdir /s /q Ion
	echo Removed the old Ion folder.
)

echo Cloning branch %branchname%...
git clone --recurse-submodules -b %branchname% "https://github.com/Burnert/Ion/"
if errorlevel 1 goto lCloneError
echo Repository has been cloned successfully.
cd Ion
goto lGenerateSln

:lCloneError
echo Could not clone branch %branchname%.
pause
goto lEnd

:lGenerateSln
set /p vsversion="Enter Visual Studio version (2019 or 2022): "
if "%vsversion%" neq "2019" if "%vsversion%" neq "2022" goto lGenerateSln
echo Generating Visual Studio %vsversion% solution...
call GenerateVS%vsversion%.bat < nul
echo Visual Studio %vsversion% solution has been generated successfully.

:lChoice1
set /p choice="Would you like to open the solution? [Y/N]: "
if /i "%choice%" equ "Y" goto lOpenSln
if /i "%choice%" equ "N" goto lEnd
goto lChoice1

:lOpenSln
echo Launching solution...
start Ion.sln

:lEnd

To use it, save it in a directory as a .bat file. It will create an Ion folder next to the file and clone the repo into it.

The script will DELETE the Ion folder, if it already exists. Don't use it, if you've made any changes in your local repo!

Build Instructions

1. Project files

Project files are generated using Premake5.
To generate project files run the appropriate script (ex. GenerateVS2019.bat).

2. Build

Use your IDE to build project binaries.

Two relevant files are generated when building:

  • Ion.dll
  • { ApplicationName }.exe

Ion.dll is the engine binary. Each library used by the engine is linked statically into this file.
{ ApplicationName }.exe is the application executable.

This will most likely change in the future, because it's painful to work with sometimes.
Either static linking will be used for applications, or the engine will be an .exe file and the application will be a .dll.
Or it might even support both ways, but not the one which is currently used.

Binaries are located inside the Build folder in the root directory of the project.

3. Run

Use your IDE to run your application.

Getting Started

Initial project setup is shown in IonExample project. The main file is Example.cpp.

For now that's all there is. I'll write documentation as I go. ๐Ÿ™ƒ


There is no license at the moment, because the thing is not even close to being ready.

That being said, you cannot copy the source code, use it in your projects, nor redistribute it.

You can play around with it locally, and that's about it.

It WILL change in the future.

ion's People

Contributors

burnert avatar kasztelanisko avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ksiciarz1

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.