Giter Site home page Giter Site logo

teamhypersomnia / hypersomnia Goto Github PK

View Code? Open in Web Editor NEW
916.0 20.0 41.0 166.76 MB

Multiplayer top-down shooter made from scratch in C++. Comes with an in-game Editor!

Home Page: https://hypersomnia.xyz/

License: GNU Affero General Public License v3.0

C++ 77.87% C 1.97% Lua 18.34% GLSL 0.22% HTML 0.09% CMake 1.30% Shell 0.14% PowerShell 0.03% Python 0.01% Dockerfile 0.02% Io 0.02%
game c-plus-plus free-software top-down-shooter shooter-game 2d-game cpp multiplayer multiplayer-game indie-game

hypersomnia's Issues

create entity-specific callbacks

either through callback_component with registering enums or std::function or scripting

will come in handy with stupid interactions like rotating an entity to face crosshair

create high-level input interface

redesign entity systems to add directly from type info

remove virtuals that take type_pack as argument - it's inflexible and we can not even properly construct the components

also add an opportunity to construct components on adding - maybe placement new would solve the issue of construction/destruction

consider adding a virtual destructor to base component class - if its POD, compiler should optimize out vftables

introduce interpolation in delta accumulator

should introduce interpolation if we're going to do networking and heavier physics

resources:
http://gamesfromwithin.com/casey-and-the-clearly-deterministic-contraptions

do future step instead of interpolating with previous state: (thought: could be additional component type "futurephysicsstate" or arrays of two elements and a function touching only one at a time)

take information on how to implement double states here:
http://gamesfromwithin.com/casey-and-the-clearly-deterministic-contraptions

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.