I'm looking for a graphics library for Java [closed] - java

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.

Related

Can I use Python for Android development? [closed]

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
Can I create simple programs for Android using Kivy or do I have to learn Java?
By simple, I mean some graphics (some rotating lines, a timer, a highscore), a memo etc not real-time games.
I've created this kind of programs for Windows/Linux and I'd really like to extend to Android.
On Google, most of the answers say that I should learn Java, whereas the remaining answers say that Python is pretty good. I also asked this question on chat, and some said 'yes', while others said 'no' and finally someone said "All programming languages get to be translated to JavaScript, so it is not much of a difference".
No. And may be Yes. Let me explain.
No:
The app will not look native if you use Kivy
There will be a lag in startup
You can call native Java API using Pyjnius but sometimes it won't work fine or you will need to work very hard to get simple things done.
Because you can not use the native UI, crafting a good looking android app might be a lot of work.
Yes:
You can build an app that works
Many games and apps don't use native UI but they are still very usable
You can use projects like Plyer and Pyjnius to get the common android functionality
Kivy might be an excellent choice for games
My recommendation:
Please do check out the apps and games built with Kivy on Play Store. Play with them on your phone or tab. See how they look and feel. Checkout the Kivy docs and see what they offer.
PS: I am a big time Python fan and I do like Kivy. I hope and believe that it will offer better widgets and UI integrations in the future. I wish Kivy offered something like NativeScript where I could use Python to create native widgets.

Decision Trees: Recommended Libraries [closed]

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
I want to know, if there are recommended libraries for decision trees.
For me best laguages atm are Java (easiest) and PHP (long term-usefulness).
I need them for a thesis at university and want to use the code later on as a webservice. The problem itself is not important and could be solved in various ways. But as a condition/constraint I have to use decision trees.
And I searched for quiet a while, but nothing really smashing turned up. So I decided to ask you.
As I said, Java would be easiest for me. And so would be Java-like languages (C++,...). PHP would be most useful as I want to use pieces of that code later on a server. Also frontend programming would be much easier ;-)
Other hosting-supported languages would be ok, too, but I'm not yet familiar with them.
The functionality doesn't need to be very complex as the problem isn't that based on decision trees. It would be nice if I could load the structure (kind of nodes, costs, units) via i.e. XML and than load a configuration-set with dedicated numbers for each node/transistion.
But I'm wondering, if it's maybe easier to implement that stuff myself.
I would be very pleased, if you can recommend something. (And for future investigators other languages wouldn't bother ;-) )
You should look into the Weka API: https://weka.wikispaces.com/Use+WEKA+in+your+Java+code
They have an abundance of decision tree algorithms: ID3, CART, ...

making games in C++ or making games in java? [closed]

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 programming games in java, because i really love java and it's much more easier, but i keep seeing c++ games, c++ engines on the internet. It looks like video game world turning around c++. But still i don't like c++.
I know, there is too many librarys and engines for c++, java has less.
So, i was wacthing videos about GDC and new game engines and the idea of start making games in c++ came my mind but like i said; i dont like c++.
I just wanted to ask should i keed going with java or should i move to c++? and why?
Btw, i'll game developer, it's not just hobby.
I suppose the best thing you can do is ask yourself if you currently feel limited by Java. You mention that there are lots of C++ libraries out there. If you're having trouble finding Java libraries to do the things you're looking to do, but can find plenty of C++ libraries that would have done what you wanted, it would probably be worth switching.
On the other hand, if you're not felling held back by Java, and you're able to get things done, switching to C++ isn't going to be needed. Other people 'seeming' to use C++ isn't a reason for you to leave Java if you like and are comfortable with it.

Web Based 2D Game - Which engine? [closed]

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

How do I tween in Java? [closed]

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

Categories

Resources