Coder Social home page Coder Social logo

Comments (6)

plattysoft avatar plattysoft commented on June 20, 2024

Hi,

Can you post the stack trace of the crash?

By looking at the code everything looks right, and the examples work fine with similar code, so without the stack trace I don't think I can do much.

You said snowflake is an image, that is fine. It must be either a BitmapDrawable or an AnimationDrawable, so shapes or other xml drawables will crash, but that should not be your problem (actually you don't need the snowflake in the xml, just inside the drawables folder).

The other possible problem is that emiter_top_left is null, but you said it is there, so not much else can go wrong...

from leonids.

bartando avatar bartando commented on June 20, 2024

Here is the stack of trash

https://dl.dropboxusercontent.com/u/65953495/log.txt

from leonids.

plattysoft avatar plattysoft commented on June 20, 2024

Mmm, a divide by 0. This is clearly a bug, but I'm not sure when I'll have time to fix it.

One more question: Are you using the latest code or the jar file?

Anyway, in the meantime, you can bypass this bug by doing

.setSpeedModuleAndAngleRange(0f, 0.1f, 179, 180)

Instead of:

.setSpeedModuleAndAngleRange(0f, 0.1f, 180, 180)

I remember fixing this or a similar divide by 0 issue, will need to check in which version the crash appears.

from leonids.

bartando avatar bartando commented on June 20, 2024

Am i supposed to choose between jar or the code? I thought both are needed

Ok i did it with the jar and it works pefectly. Thank you .. i was bit confussed ... now you can close and thank you for your help... :) πŸ‘

from leonids.

plattysoft avatar plattysoft commented on June 20, 2024

You can either add the jar file OR checkout the project to add it as a library, you don't need both.

Apparently this is an issue introduced recently, so I'll keep it open until I fix it again.

Thanks for the report!

from leonids.

plattysoft avatar plattysoft commented on June 20, 2024

This has been fixed on master

from leonids.

Related Issues (20)

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.