Git Product home page Git Product logo

gecko2d's Introduction

Gecko2D

A Cross-platform Game Framework

Gecko2D is a flexible and powerful cross-platform game framework that will allow you to create games easily and deploy it to browsers, mobile devices, desktop, and even consoles.

Under the hood, Gecko2D is an Entity-Component-System framework built on top of Haxe and Kha which allow the best performance and real cross-platform compilation, using Javascript and WebGL when compile to browsers, and C++ when compile to mobile using metal or opengl, to desktop using opengl, directx or vulkan, and consoles with their own drivers.

This framework aims to be a solid foundation for all your games, allowing you to port your games to others platforms using the same source code, saving time and money.

Dependencies

  • Git
  • Node.js >= 9

How to install

npm install gecko2d -g

Documentation

More info: https://nazariglez.github.io/Gecko2D

gecko2d's People

Contributors

andreasschuele avatar b4dger avatar nazariglez avatar

Stargazers

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

Watchers

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

gecko2d's Issues

Touch Manager

Add a new manager for touch events (or merge with mouse manager?)

Fix trimmed sprites

Trimmed sprites needs to set the right size whenever the trim change. (maybe rect needs an observer).

Interaction Manager

Add an interaction manager to manage the mouse events in the scene graph.

Add cameras

Add cameras, which needs to render as a entity, multi-camera to coop modes, etc...

Mouse Manager

Add a mouse manager and check events in the scene graph.

Add RenderTexture support.

Improve the generateTexture method in entity to draw objects in images and put in textures to render.

Storage System

Use localStorage in html5 and files in native targets. (Kha has something related)

Add BitmapText

Add support for bitmap texts (fonts loaded from images)

Add screen modes in html5

Pass to game an options as screenModes to resize the canvas.

In native targets as cpp needs some work to check the screen resolution to use the screen size without go to fullScreen mode.

Better api for asset's loader

Rework the api, or at least remove the callback with errors and add one callback for each response. (Something like Jquery xhr request with their success and error callback)

Remvoe "disable" from platforms

Using a flag in the config as "disable" was a silly choice, better compile with a specific platform and use html5 as default target.

Fix ScrollingSprites dimensions

Using big textures with scrollingSprite the dimensions seems wrong to me. I think it's an issue with how to the size and scale of the texture are rendered.

Add support for trimmed and rotated altas

Fix and improve the render methods drawTexture, drawSubTexture and drawScaledSubTexture to use with atlas (from texture packer) rotated and trimmed.

This methods must do the same as drawImage, drawSubImage and drawScaledSubImage.

captura de pantalla 2017-11-25 a las 19 24 35

Inline in release mode

Some functions which are inlined now must be inlined just in release mode, because in debug mode it's easy to debug if the functions are as "functions". But in release mode could be good inline to achieve better perfomance.

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.