Is there a way to render game objects in android app by using game engine ?
I have tried using unity but the problem is that, it require to export app as jar and use that lib in game development.
What I am trying to accomplish is to develop app using android studio and render game components which are built using game engine.
so Is it possible to do that and if yes which tool to use?
Related
My son made a game using ecolapse(java) how can he make an app
Do i only have to load android plat form
Do i have to do the game again or just copy and past the code on the android platform?
Thanks
Background :
I'm currently making an Android Native game only using Java and OpenGL ES 3.0 and I wanted to make a simple Game Engine without copying my full Java project in C++ so I could have the same project on my Windows PC.
I would like to use some of my existing Java files my Android Studio Project is using, and to run them on a different window context on my PC. I would certainly make some separate Classes to set a OpenGL window and to have a main function.
My questions are :
What API should I use to create an OpenGL context in Java?
Will the included libraries in my Android Project Files (like android.opengl.GLES30) be found if I used a different IDE (like IntelliJ)?
I want to develop a game for Android that involves using the camera, reading files on the device, reading contacts, etc.
Can I perform these operations if I use unity for development or will I have to go with native java?
Or can I start off with unity and then import the project into Android studio and then add those features?
The game would be a story based game. So it's just 2D with a low poly art style.
(I have quite a bit of experience with app development but this is my first time trying to develop a game.)
This is quite a broad question because there are pros and cons against both. Unity is a powerful game engine and can be used for all kinds of games but if you want to do stuff like reading contacts, you'll have to write your own plugin to connect the native android.
There are examples of such plugins here
But you'll really have to do more investigation yourself.
Straight to the point, Im trying to run a small program of unity within an android application created on android studio.
The android application has its own functionality. Eg. after opening the maps API(in android studio), I want to click on a location and then want a small program of unity scene(augmented reality) to start. I want help and I don't have any idea how to do this.
This is the unity application that I want to integrate within my android App. I want to make a unity plugin that can run within an android application instead of creating the entire application in unity.
https://www.youtube.com/watch?v=gNwduUQrlJs&t=6s
I'm afraid you can't do that. What you can do is to create another unity application which will have just the functionalities you want after clicking map location. If you install such app on your Android device, you can then trigger opening this unity app from your Android app by using custom uri schemes. But there is no way to create Unity 'plugin' to launch within android application.
I want to make an app (not a game) for both Android and iOS. I have used LibGDX to make a game before and I like this because with one Java code it makes the app for both Android and iOS. However, I want to make an app that is not a game for iOS and Android with one Java code. Is my only solution to use the game engine LibGDX to make the app or is there another was I can do this.
I want to use one code in Java on a windows computer to make the app.
Intel has recently introduced INDE Multi-OS Engine early access programm: https://software.intel.com/en-us/intel-inde-multi-os-early-access
It allows to write you app for both Android and iOS in Java. Good technical overview is here: https://software.intel.com/en-us/blogs/2015/07/30/multi-os-engine-of-intel-inde-technical-overview
It let's to create Java applications in Android Studio for both iOS and Android platforms with a possibility to share logic between them.
Also there is a way to develop an app on Windows-host with Mac build server in LAN.