Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking into making a 2D game in Java and I've run into a problem with animation: how do I do tweening in Java? Are there any libraries or maybe something I can find bindings for?
Also, please understand that I do not want to simply move an image, I want to do morphing in a way that when making drawings for animation I can use a few keyframes to fill in the in-between frames to generate the animation.
I built an Universal Tween Engine for Java:
http://code.google.com/p/java-universal-tween-engine/
Tweens can be applied to every object (no just graphics objects, everything!), every object attribute can be tweened, and it supports every Robert Penner easing equation too.
Also, the engine is optimized to not instantiate anything at runtime (except during initialization), so it can be used for Android games without fearing the garbage collector.
The timing framework is what I think you are looking for.
Also I can well recommend the book Filthy Rich Clients if you are it to writing rich apps.
An alternative is also the jgoodies:Animation library
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking to develop a little Java piece that can capture an image using a digital camera and I can't find a suitable API - I know this is duplicating similar questions but they are old, and after finding lots of old old threads everywhere complaining about the lack of an API I am asking again to see if anybody knows of where this may have been developed - and offered free of course (mine is just a personal project - no distribution).
I want to capture still images from a digital camera, or a DSLR - I have applied for Canons SDK but I do not think it will be approved as it will not be benefiting them at all.
The image must not be a screenshot of a feed retrieved from the camera - I want to capture a native image using the shutter of the camera - and retrieve it in the app for processing - this way I do not get an awfully grainy image, I get one at full quality.
I have been looking into a few API's but if they are not extortionately expensive (JTWAIN), they simply do not do what I want (JFM).
So, are there any out there? Am I just looking in the wrong places?
apparently Xuggler seems to do the job, you can use it with or without maven or even build it yourself, even ant is possible. There are quite a few tutorials on the subject, even on SO
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for a library that will allow me to work with sound. This is just something that occurred to me and the problem is that in a large music collection I need to find tracks similar to another reference track . The simplest of things would be to find tracks with the same/almost-the-same tempo . Is this possible and are there any tools available for this ?
Finding music which is similar to other music is quite a complex field, and will probably require quite a bit of work if you're willing to spend quite a bit of time. If Java is your language of choice, then you could have a look at coMIRVA which will let you compare music based on timbre. From my experience, doing comparisons on that single dimensions isn't always good enough, but it is at least a start.
There's always the other path, which is to use an already existing commercial offering such as the Echo Nest and BMAT. I don't know what they cost, but it's probably quite pricey. However, these are products that have taken years to develop so I assume they must at least provide some sort of value.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
My task is to make a 2D 8-bit game with a couple of friends. All of us are fairly novice programmers, and only I have any experience with graphics programming (just a little though), so this will mostly be a learning experience for us. So, I have a few questions...
What is a good graphics library for our needs?
Does Java have any native graphics capabilities or do I have to use
additional libraries? If yes, how are they?
Is Java a good choice for writing a game in? (we don't have to use
Java)
Will any graphics library allow you to make animations or any sort or do you actually have to code that kind of thing?
Thanks for your time.
Java2D: http://java.sun.com/products/java-media/2D/index.jsp
If you are not making serious game, try processing
http://processing.org/
althogh it's designed to make visual and interactive product, I think it is worth considering.
The ACM (http://jtf.acm.org/index.html) library is good for basics.
Java has some native graphics, but libraries are far better.
Java is good for games (far better than python even with PYGame). If your game is complex, then you definitely want to use C(++).
There are libraries that allow animations, although you could just program it yourself.
As previously mentioned, Processing is good for non-serious applications. But if you want a full-fledged IDE then you definitely want Eclipse.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a good way of dynamically displaying graphs in an Android application. Is there a tool for it?
There are many opinions to do graphing. If you want static graphing you can use these API's/code samples.
AChartEngine
Draw a Graph
Charts4j
AndroidPlot - one of the best looking ones, does dynamic plots too and is now open sourced.
TeeChart
So many others to choose from but most are static and non of these can handle real time data plots, i.e. ECG wave forms. One example you might want to look at is the Tricorder android example. Problem it is really complex to setup and if you just want the graphs, there is so much code to rip out. It can be done but I even noticed there is a lag the longer you run the program.
So far the only way I have found a real good dynamic graphing, is to do it yourself and use the SurfaceView and then draw usin the path.lineTo() see below for previous SO answer for this solution.
SO example
Try GraphView
https://www.youtube.com/watch?v=lokgFp9h85o
I used these video series on GraphView to plot real time graph from data coming from adruino .
I use the library MPAndroidChart (https://github.com/PhilJay/MPAndroidChart), is the best library for this kind of things in Android.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'd like to develop a web based 2d game, similar to flashgames.
It should supports Sprites etc., so that it's really easy to do the graphic stuff. I don't have flash, so are there any reliable (JavaScript) engines maybe, with active Users?
...Or could I use Java instead, build an offline game and afterwards, make it playable in a webbrowser with a certain plugin? That would be really nice.
A good 2D library in JavaScript is http://gamejs.org (I'm the main dev) - it supports sprites, collisions, etc.
If you are already familiar with Flash ('similar to flashgames'?) then you might want to try http://easeljs.com
Finally, here's a pretty complete but probably overwhelmingly long list of JavaScript game engines: https://github.com/bebraw/jswiki/wiki/Game-Engines
If you want to use Java would a Java Applet be the technology you are searching for.
I dont think that JavaScript would be a good choice as soon as it gets a bit more graphic intense