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
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 3 years ago.
Improve this question
I built a Java game for a CS class. The code can be found here. The main class is Game.Java found here. I have a simple static website hosted on GoDaddy found here. I would like to allow a visitor to my website to play the game on a web browser I don't have a server yet, so I'll buy a basic
VPS through GoDaddy. Besides that, what's the best way to go about it? I think Applet is no longer supported by Chrome. Is Java Web Start the only way now? I would prefer if the visitor doesn't have to download anything. Any supporting material or YouTube video would be helpful as well.
Java is no longer supported by any modern browser, so the only way people will be able to play your game is to either include a client-side, JS/WASM-based library that sets up a complete JVM and then running the game inside of that on your page, or by giving people a link to your game's .jar file, so that they can download and run it on their own computer.
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 2 years ago.
Improve this question
so I've been coding in java for the past 2 years, mainly making mods for Minecraft. Recently though I started making discord bots, and I've never really done anything with Java outside of Minecraft, and was using JDA(Java Discord API), and i realized how fun it was. I was wondering if any of you guys knew of some API's i could use to do some cool stuff with :D
If your looking to toy with some nice REST api's to interact with I could definitely suggest looking towards Amazon Web Services, or any of the Google API's such as Google Maps, or even Facebooks API.
Cheers and happy coding! :)
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 writing the code to access and download data from some web sites using HTMLUnit.
I was wondering whether a tool that could help me exists. I think maybe to a visual tool, something that lets you express the path you want to follow on the web sites visually and generates the Java code.
I'd like something for HTMLUnit, but I'm open to other solutions.
Writing screen-scraping code gets very repetitive :(
I used to work at screen-scraper. Not sure if it's quite what you're looking for, but it's definitely a powerful tool for building web-scraping scripts.
Not exactly visual tools, but maybe you could use something like JMeter or The Grinder for recording navigation scripts of web pages. They surely are easier to use than writing all the input requests by hand in HTMLUnit.
There is only one tool that does exactly this - and does it very very well - but it's highly expensive, since their technology is amazing. Some of the biggest companies uses this. I think you might be able to get a free trail, if you want to try it out. http://kapowsoftware.com/
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 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