Git Product home page Git Product logo

twoodeelegacy's Introduction

TwoodeeLegacy

Public codebase for Twoodee, an abandoned tile based engine in LibGDX and Java.

java_skvUHQW44f

Context

I orignallly made a project called "Terraria Clone" in order to learn LibGDX more and to learn how to handle a terraria based lighting. I ended up by making an dedicated algorithm for it and it ended up like this:

image

The code was good enough but was just a simple experiment. This project, called Twoodee (because of a lack of imagination) was an upgraded version but with bigger plans like networking, chunk based rendering, and other stuff. I did make a lot of it, and it has interesting features too (which I discuss below).

I created this github page in order to share the source code to some people that asked to see the code on the LibGDX discord server.

Features

  • Chunk based rendering
  • Basic UI elements with event listeners and much more
  • Box2d based lighting
  • Heavy CPU usage
  • Tile types and enums
  • Terraria based lighting with light influence
  • Autotiling
  • Multithreading (but still low fps)
  • Low memory usage

Abandon

I've abandoned this project and left it out here as an archive for those who need it, I do not see myself working on the code anymore as I struggled with optimization too much and ended up by giving up. I am looking forward to use another framework in C#, but with a better knowledge of tiled based games and even more features (that I promised myself of doing in this project that I ended up not doing)

Using this project

This project was written with IntelliJ Idea, I don't know about Eclipse, but I know that if you open this project in intellij, it should run just fine. There are some features that you can try like FUTURE lighting (edit it in WorldRenderer.java) or some other stuff here and there.

I cannot provide documentation of this "engine", but most of the code is written so I could understand myself and so you could (I hope).

You are completely free of using some of the code out here if you need (good luck with reading the code with my desperate optimization attempts) or redistribute, I don't really care. This project will stay archived.

twoodeelegacy's People

Contributors

realcoloride avatar

Stargazers

 avatar

Watchers

 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.