Skip to content

RonildoSouza/Curupira2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curupira2D

Build and Publish

Simple helper library to development 2D games with MonoGame using ECS (Entity-Component-System) game architecture.

Basic Using

using Microsoft.Xna.Framework.Graphics;
using Curupira2D;
using Curupira2D.ECS;
using Curupira2D.ECS.Components.Drawables;

namespace Sample
{
    public class Game1 : GameCore
    {
        public Game1() : base() { }

        protected override void LoadContent()
        {
            var scene = new Scene();

            var characterTexture = Content.Load<Texture2D>("character");

            var characterEntity = scene.CreateEntity("character");
            characterEntity.AddComponent(new SpriteComponent(characterTexture));

            SetScene(scene);

            base.LoadContent();
        }
    }
}

Third Party

Name Link
MonoGame https://github.com/MonoGame/MonoGame
Aether.Physics2D.MG https://github.com/nkast/Aether.Physics2D
TiledLib.Net https://github.com/Ragath/TiledLib.Net

About

Simple helper library to development 2D games with MonoGame using ECS (Entity-Component-System) game architecture.

Topics

Resources

License

Stars

Watchers

Forks

Languages