Giter Club home page Giter Club logo

creature_libgdx's People

Contributors

kestrelm avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

denisk20

creature_libgdx's Issues

HTML5/GWT: ./gradlew html:superDev build fails.

Errors in ... src/com/google/flatbuffers/Table.java

  • [ERROR] Line 50: The constructor String(byte[], int, int, Charset) is undefined
  • [ERROR] Line 59: The constructor String(byte[], int, int, Charset) is undefined

Errors in ... src/MeshBoneUtil/Creature.java

  • [ERROR] Line 128: The method copyOf(float[], int) is undefined for the type Arrays
  • [ERROR] Line 191: The method copyOf(float[], int) is undefined for the type Arrays

HashMap.Entry is not public

There are some places where HashMap.Entry interface is referenced; however it won't compile since HashMap.Entry is package-local. Consider replacing with Map.Entry.

Android OutOfMemoryError

When running test project from https://github.com/denisk20/libgdx-creature-example on Android device I'm getting an error:

10-22 12:19:52.629 18941-18962/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 48-byte allocation.
10-22 12:19:54.066 18941-18948/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 48-byte allocation.
10-22 12:19:55.518 18941-18962/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 112-byte allocation.
10-22 12:19:56.976 18941-18962/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 78-byte allocation.
10-22 12:19:58.405 18941-18962/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 112-byte allocation.
10-22 12:19:59.830 18941-18948/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 64-byte allocation.
10-22 12:20:01.286 18941-18962/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 68-byte allocation.
10-22 12:20:02.735 18941-18948/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 48-byte allocation.
10-22 12:20:04.766 18941-18962/com.gdxcreature.android E/dalvikvm-heap: Out of memory on a 112-byte allocation.
10-22 12:20:05.822 18941-18962/com.gdxcreature.android E/AndroidRuntime: FATAL EXCEPTION: GLThread 4266
10-22 12:20:05.822 18941-18962/com.gdxcreature.android E/AndroidRuntime: java.lang.OutOfMemoryError: [memory exhausted]
10-22 12:20:05.822 18941-18962/com.gdxcreature.android E/AndroidRuntime:     at dalvik.system.NativeStart.main(Native Method)

The package is broken

Please consider putting all files into appropriate package for the ease of usage. Better yet, please consider putting the sources into a libgdx gradle project with a simple example.

Many allocations occur on each frame

It seems that Quaternions are created on each frame draw causing garbage collector execute often. This is likely the source of frame drops.
image
Let me see if it's an easy fix, if so I'll provide a pull request.

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.