Code Monkey home page Code Monkey logo

ecsrx.monogame's Introduction

EcsRx.Monogame

This is the Monogame flavour of EcsRx!

License Nuget Version Join Discord Chat Documentation

What is it?

It is an ECS style framework which puts architecture, design and flexibility above most other concerns.

It builds on top of the existing EcsRx framework and adds conventions and bootstrappers for Monogame specific scenarios.

Getting started

As with all EcsRx engine integrations you will need to create your own application instance (EcsRxMonoGameApplication), and then you just use that instead of your normal Game instance, like so:

static void Main()
{
	// No longer need this, as we use applications with EcsRx
	//using (var game = new Game1()) { game.Run(); }

	using(new DemoApplication()){}
}

WHAT HAVE YOU DONE WITH MY Game

There is still a Game instance under the hood, but we abstract it away, so in almost all scenarios you wont need to touch the game as you will treat the Application as your entry point.

There are custom versions of most common monogame objects that you can inject into any of your classes, such as:

  • IEcsRxContentManager
  • IEcsRxGame
  • IEcsRxGraphicsDevice
  • IEcsRxGraphicsDeviceManager
  • IEcsRxSpriteBatch

Docs

There is a book available which covers the main parts for the core EcsRx framework which can be found here:

Documentation

Will add monogame specific documentation within this repo as time goes on, but for the moment hop on discord to know more.

There is also a demo application within the Roguelike2d folder (its not a roguelike2d example, it is just a placeholder).

ecsrx.monogame's People

Contributors

grofit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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