Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to develop games on android, am good with java.
i already tried using bitmaps and canvas to cook up a sample game, just a ball bouncing in the screen, but had issues with placing more items and stuffs.
I was told to go learn c++, can't i use java to build it? and if so how can i get API and documentation to help me in game development?
(need help thanks.)
You really don't need to know c++ to be able to program games on android. Go follow this tutorial and learn OpenGL ES 2.0:
http://developer.android.com/training/graphics/opengl/environment.html
This will help you in being able to learn shapes and then show you how to animate your shapes. For your purposes, I would say this is a great start.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to develop a logic for tic-tak-toe game using JAVA language(Standalone program only, no UI).
Concept is, game will play between human and machine(Artificial Intelligence).
can you please guide me.
Thanks in advance :)
Regards,
Subaan
tic-tak-toe is so computationally simple, you could just search the whole problem space exhaustively using mini-max.
Here is a post I found using google search detailing how to do this in java. I reviewed the article and it includes :
detailed code of how to get it working
great images of how to imagine and picture the computation
step by step conceptual walk through of how the problem can be solved
it is command line, like you asked
For game playing, the minimax algorithm is usefull. You should be able to find plenty of imformation about it.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I just wrote a Java program for a game and I was wondering how I could get the same game to run on Android using Android Studio.
I noticed that Android does not support JFrame, though. What is the Android equivalent to JFrame?
In Android what you would usually do is subclass Activity if you want to make a "screen" and View if you would like to make a UI widget.
But before you subclass any of them you should know that while they have some similarities to JFrame, they are VERY different and there are a lot of Android specific stuff you need to know about before you start using them. I would start by taking a look at managing activity lifecycle.
For an example of a way to make simple 2D game in Android, take a look at this.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
After having created a bunch of utility apps and having familiarity with Java, I am curious about going into simple game development. I found out the there are game development frameworks available but I was wondering if that is the "correct" method of doing it even though Java is easy to me.
If you like Java, you'll like C#, as it is very similar to Java/C++. As such, you should probably look into Unity 3D. It's a pretty good game engine with which you can use C#, Javascript, or Boo to create nice little 2D or 3D games. It is multiplatform, so you can create games for Android, iOS, Windows Phone, or a bunch of other things.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
How long would it take to learn making an app with Android? Not a crap app but something useful etc.
I know Java up to databases and making a GUI and splash screens etc.
But I have never made games or animations in Java.
Then I learned JavaScript and canvas and have made games and applications.
Based on this how long would it take as I would be willing to learn it as we will be thought apps in college next semester and would I know enough Java?
Learning Android development basics would not take too long if you have a good grasp of OOP concepts in Java. The official resources provided by Official Android Documentation is good enough for you to walk through and start developing.
After all, learning on how to program is all about understanding the concept, not memorizing every existing syntax.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
What's the best way to run into android game development with OpenGL ES? I tried some tutorials, but all they assume that you are already familiar with OpenGL(using c++). So, if I want to use OpenGL ES I need to learn it with c++?
This book is pretty awesome for learning Opengl ES 2.0. It does a great job of teaching the ins and outs of opengl es in a platform agnostic POV. From that point the OpenGL/interface examples for the android sdk/ndk should get you where you need to go!
I would highly recommend looking through the source code for the open-source ReplicaIsland Game