making games in C++ or making games in 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 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.

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, ...

A simple client/server app [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'm fairly new to Java coding (and to programming in general) and I'm studying a lot to catch up and having been through a lot of fundamentals (the language, OO concepts, Genrics, Concurrency,Collections etc..)and my future goal being Android programming, I'm trying to get started with networking (simple apps, just to get the grasp of it, and I know it's alot of stuff).
So, I set off trying to convert my simple tic-tac-toe GUI game (with a little bit of swing and Java2D) into a server/client game but I soon understood that it's a daunting task, at least without networking knowledge.
So, I know this may be a wrong question,or the wrong place, but please, could someone point me to where I can start to achieve my goal (it being a simple client/server application, I don't care if it's a simple messaging app or a useless minigame). I'm not interested in multithreaded servers or stuff like that, just the basics that can get me to code something actually working!
thanks a lot, please help me!
Luca
Take a look at this question:
Java: Best Place to Begin Learning Basic Networking
I've never done networking in Java, but my suggestion would be to read, read, read about networking in Java. Learn the appropriate libraries, learn how they work, what people have done with them.
First figure out what kind of app you'd like to build and then don't touch a line of code until you have a good idea how that type of app would be built, which means a lot of research.
Here is how to make a client / server app from Oracle with a working example: http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/hello/hello-world.html

I'm looking for a graphics library for 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 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.

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

Categories

Resources