Giter Site home page Giter Site logo

dkardel / swallowengine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibotha/swallowengine

0.0 0.0 0.0 3.49 MB

An Engine based on the Hazel engine by TheCherno

License: Apache License 2.0

Shell 0.03% C++ 90.79% Lua 3.14% GLSL 5.98% Batchfile 0.05%

swallowengine's Introduction

SwallowEngine

A Game engine based on the Hazel Engine by TheCherno

The Swallow engine is coded in C++ and is intended to be a cross-platform high-performance game engine.

Getting Started

to get started clone this repository and all submodules.

Update the premake5.lua in the root of the repository to fit with your project. By default the premake5.lua is configured to compile the engine with a sandbox application.

Visual Studio Open the scripts directory in the root of the repository and run "WindowsGenerate.bat". Ths should create A .sln file in the root of your repository.

Makefile On MACOS Open the scripts directory in the root of the repository and run "MACOSGenerate.sh". Ths should create A makefile in the root of your repository.

Prerequisites

No prerequisits apart from the submodules in the repository.

Installing

For your application to run you must:

Create a class that inherits from Swallow::Application:

sandboxApp.hpp

#pragma once
#include <Swallow.hpp>

class Sandbox : public Swallow::Application
{
public:
	Sandbox();
	virtual ~Sandbox();

private:
	Sandbox(const Sandbox &s) = default;
	Sandbox &operator=(const Sandbox &s) = default;
};

Create An instance of that class by overriding the application creation function:

sanboxApp.cpp

#include "sandboxApp.hpp"

Sandbox::Sandbox() {
}

Sandbox::~Sandbox() {
}

Swallow::Application* Swallow::CreateApplication()
{
	return (new Sandbox());
}

This should run an application window with a black screen. For examples on how to expand this applications funtioanality look into the layer system usage in the sandbox app.

Built With

  • C++ - The base language
  • OpenGL - Used for rendering
  • GLM - Used for maths functions
  • ImGUI - Used for debugging Gui elements

Authors

  • Isard Botha - Initial work - Ibotha

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Again. Thank you to TheCherno for sharing what he knows and giving me the understanding to build something like this.

swallowengine's People

Contributors

ibotha avatar wolfengames 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.