Giter Club home page Giter Club logo

gdxmulticanvas's Introduction

GdxMultiCanvas

This project is just a simple test for having multiple canvases inside a Gdx application. It is a work in progress and it is not finished yet.

There is a single main class:

  • GdxTest

Uses my custom Application implementation, LwjglMultiCanvas. That application is based on a similiar implementation for SWT http://www.badlogicgames.com/forum/viewtopic.php?f=17&t=2588. It's using LwjglGraphics2, a minor modification of LwjglGraphics provided in the gdx-lwjgl-backed and AWTGLCanvas2, a minor modification of AWTGLCanvas provided in Lwjgl.

Details

  • AWTGLCanvas2

Instead of working on the AWT I modified and split it's behavior so it can be used in a regular thread and do active rendering.

  • LwjglMultiCanvas

The application can be created and new canvases can just be added and removed while running. It currently updates at a given rate using a Timer. A better main loop will be provided.

Help

Help is welcome!

Usage

A Netbeans project is already setup, you only have to run it. For other environments just make sure the provided jars inside the 'lib' folder are included.

License

I don't really care, do whatever you want with the code. I would like to have this included in Libgdx core API if it works. If it is mandatory to provide a license Apache 2 it is.

gdxmulticanvas's People

Contributors

tlazaro avatar

Stargazers

 avatar  avatar

Watchers

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