How do you use 3D graphics in Android Studio? [closed] - java

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 7 years ago.
Improve this question
I am wondering how app developers create games with 3D animations and graphics. Does anyone know how those games are made, and can it be done with android studio?

Yes, it can be done with Android Studio.
If you wanted to hand-code it, you would just create a GLSurfaceView, and draw objects into it. Here's a basic tutorial: Displaying Graphics with OpenGL ES
But, you would never hand-code it in real life. To make even a simple 3D game, you would want to use a game engine like Unity3D or jPCT-AE.
Any decent 3D engine will have tools for porting to Android. And many of them have communities that can offer support and troubleshooting.

Related

Java NetBeans Form Creator [closed]

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 7 years ago.
Improve this question
I am a C# .NET developer and I always use Visual Studio to create my applications. Now I am studying Java with the netbeans IDE and I have no clue of how to create a Form Application?
I have used Jform etc. But this is just annoying. I was trying for 3 hours just to relocate a button while resizing my window.
Does anyone have any suggestions on how to make this easier?
Unfortunately, IMHO, creating GUI applications in Swing is a pain, especially coming from .NET.
Whenever I need to create Swing apps I find it easier to just hand code it. Although it involves much more work than in .NET, and also has a pretty steep learning curve, I find I have more control over my code that way.
BTW, once you get the hang of how things work in Swing, hand coding is pretty manageable.
Good Luck!

Converting a java game on eclipse to android [closed]

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 created this game using java in eclipse (Kepler) JDK, but I want to publish it on android. I am completely new to this subject. I downloaded Android Studio as a friend suggested me to, and he told me that there were new libraries that i had to import. The game is quite complex and i imported a lot of things like color mouseevents sound and other various things , and I just want some guidelines on what i am supposed to change, or if its possible to run my game on android without changing anything from my java eclipse program.
thank you for any help in advance
You're going to have to rewrite the entire UI and input handling code. Android does not use the standard Java UI. You should start out by reading tutorials on basic android architecture, the activity lifecycle, and views.
Totally agreed with #Gabe Sechan that you have to rewrite most of the code which would be compatible with Android. One of framework which support Java language and used to create games(mostly 2D) for most of the platforms is Libgdx. You can go through that framework if it can help.

Converting iOs applications into Android [closed]

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
What is the most efficient way to convert iOs mobile application into Android? A friend and I are working on an app and we would like to know what is our options?
Can we translate line by line the code? What can we do?
There is no conversion technique that you can just run your pre-existing IOS source code through and get Android source code
Unfortunately, that means you guys are going to have to decide if it is really worth the time and effort on porting.
Here are some resources for further reading:
http://www.datasprings.com/resources/articles-information/guide-for-porting-an-ios-app-to-android
Porting ios apps to android
You can write the codes by c language which are not related to UI, and call them by JNI on Android. If you did it, I think you can keep a same copy on IOS.

How to move a programmed game for pc to android [closed]

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've developed a game on my computer in java, but realized it's not really a game I want to play on my computer but something I want on my phone (a samsung galaxy S3). Is there an easy way to make it an android application?
There are two cross platform projects I recommend for this purpose. LIBGDX, and PlayN.
You will be able to reuse some of your code, but will need to change any code using objects which do not exist for the android platform (java.awt.Point, java.awt.Rectangle, Graphics, Graphics2D, etc.)
I have used LIBGDX personally, and give it the highest recommendation. PlayN I have not, but have heard good things.

2D Game engine for android [closed]

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 am new on 2D Game development in android . I Heard about AndEngine, but i dont know how to use this . Please Help me
Help Will be Appriciated
I only used one of them and below its specialities(supports android) as I remember. Others which I dont know about:
Jogre -->I dont know if this supports Android, but trying does not hurt
env3D --> Supports android.
jake2 -->I dont know if this supports Android
jpct ---> Supports for android.
LWJGL --->a good base
You can access the Jmonkey Engine 3.0 to add it to your Eclipse projects or to just create scenes from ground up with its sdk.
You can do many things easily with its already-invented classes. You can apply many types of physics(event driven or time step), raytracing, building a 3D world with 3D object static or dynamically alterable. You can build custom shapes, even importing from manyfile types is made easy. You just need some time to create your game.
If you need custom mass-physics then you will need good opengl wisdom or opencl-cuda.
Jmonkey's engine lets you choose full-screen or windowed frame; anti aliasing(?X) or not; every resolution available; custom fps limiter; overridable simpleUpdate() and overridable simpleRender() methods to change 3D realm before it gets drawn.
There are types of light and shadow classes. Point light, spot light, directional light and appropriate shadow-casters of these. Also jmonkey supports Android.

Categories

Resources