GithubHelp home page GithubHelp logo

jccit / athena Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.06 MB

An experimental 2D game engine

License: BSD 3-Clause "New" or "Revised" License

C++ 75.27% C 0.93% CMake 19.05% Squirrel 3.97% Batchfile 0.79%

athena's Introduction

Athena

Build

An experimental 2D game engine

Building

  1. Clone repo
  2. Run git submodule update --init --recursive
  3. Create build folder and run cmake ..
  4. ???
  5. Profit

Supported Platforms

Windows (x64) Linux (x64) Web (via Emscripten)

athena's People

Contributors

jccit avatar

Watchers

 avatar

athena's Issues

Add a cheat mode

The console module has support for registering "cheat" cvars. We need a mechanism to enable a cheat mode to enable these commands

Multithreaded logging

Would be great to handle logging on a separate thread. There's no need for the game engine to wait for the console library to write the text to file before advancing a frame

Entity parenting

Entity parenting would allow an entity to be attached to another entity and travel with it as the parent moves around. In order for this to work, the following would need to occur.

  • Update the entity class to include a parent entity id
  • Write a function to calculate parent position + child position
  • Function on a parent that can return all children

Virtual filesystem

Add a virtual filesystem implementation using PhysFS. Prerequisite for mod support

Multiple mouse events are being handler per frame

It looks like we're receiving an SDL mouse move event for every pixel the mouse travels. We're then triggering the mouse move event in the engine for each of these SDL events.

This may cause performance issues since we're handling more events that we need to. It would be better if we could bundle these events together somehow

Collision system

Create a new system and component that can be used to handle collisions.

This would involve creating a collision system, collider component and onCollided script events.

  • onCollided event
  • Prevent collided entities from intersecting
  • Collision mask to allow for filtering

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.