I am thinking of developing games in android using cocos2d-android in Java. But i want to develop games which will be cross-platform means they will also work for iPhone OS,etc.
I read that cocos2d-android api's have been derived from cocos2d-iPhone api.
I am familiar with C++ too.
Can anyone suggest some tools?
Any Suggestions are most welcome.
cocos2d-x is exactly what you want to use for developing games.
cocos2d-x is an open-source, C++ based, mobile 2D game engine, released under the MIT License . It aims to be multi-platform, lightweight, and developer-friendly, and is a child of the famous "cocos2d-iphone" project, doing its best to keep the primary features sync with it.
It works with Android NDK, iOS, Win32, airplaysdk(marmalade) and etc.
Related
We are a video game developing comapny that uses Unreal Engine 4 to develop games.
We have a client who has an application under development for both Android and the iOS on their own (we did are not the ones developing it for them). They are developing their application using React-Native.
We would like to develop a game for them using Unreal Engine 4. But, we would like it to be integrated into their application.
Is there a way to integrate a packaged game (Unreal Engine 4) apk into an application that is developed using React-Native?
Thank you
Unreal.js and Unreal-UMG seems the best fit for your needs. I had written Unreal.js in ncsoft and it is being maintained by my former colleagues on ncsoft.
Unreal-UMG lets you write UI logic with React and the rendering is being delivered by Unreal slate subsystem (All the features of UE are accessible).
If you are wondering about producing and releasing games built on unreal.js to the real market, it might be worth to watch this Video (although the vid is dubbed in Korean)
I think you can use the React-UMG module to a similar approach.
It's something related to unreal engine itself, as said here
And, you can use Unreal.js to something like this
I have searched in the web and found very few material on this question. I've heard of Unity 3D and know that there are other tools. But I would like to know if it is possible to develop games in Android Studio? I'm learning Android development and Java, therefore don't want to jump into other language and platforms. However, if it is not efficient way then which one you would advice? Where to start?
Yes it's possible. You can make your own game by using game engine that freely available for Android.
You can use LibGDX. For the tutorial with Android Studio, you can read here.
Visit Sample 2D game with LibGDX
Yes of course it is possible. But there are some things you should know. Games made without a game engine are usually not as good as you might expect. You define the interaction of the objects in the game with each other with simple codes, but there are collider structures developed for this in game engines. In addition, while adding effects to the game is easy with the game engine, doing this without the game engine is more difficult and does not show a stable working performance.
here are some 2D game tutorials you can do without using a game engine
game-1
game-2
My team has a project which has native app features
and some games within.
At first , I thought Unity3D is a good choice for us,
but I found that the battery drain is a problem.
Also,it's hard to refer to a native features of Android/ios in unity.
I want it to run the native part quietly and and to run the game part fast.
So is it possible that I develop this app basically
in Android/ios using Java or Objective-c with Marmalade or Adobe AIR?
You can not mix and match here. You need to either go full Cross platform or full native.
I follow this rule of thumb,
Whenever you are in doubt always go native.
You can have extensions and plugins to support native functionality in Adobe Air, Unity3D or marmalade. So there wouldn't be any issue with it. Since there's some game content, you should choose a game engine such as Unity3D to do this.
In theory each one of these options are capable of achieving this. It's upto you to find pros and cons of each.
We want to create a mobile game for Android and iOS. But we don't want to code it for iOS and Android seperatly via native codes. Is there any way to code it with something like OpenGL library separate from iOS SDK and Android SDK? If it is, is there any tutorial? I couldn't find.
SpriteBuilder is a development kit for creating 2D games in Objective-C. You can develop the app once and deploy to iOS with Xcode and to Android with Apportable.
Tutorials are available here.
There are actually libraries for that purpose such libGDX
It's not as simple as that. The easiest solution is to use special framework, like libgdx http://libgdx.badlogicgames.com/ (I'm nost saying it's the best choice, I have used it in the past and it worked fine however), unity or gamemaker
Maybe you could use a game-engine that deploys on multiple platforms. For example: http://unity3d.com/unity
My commercial product, which is not a game, but is very graphics intensive and uses three-dimensional techniques, uses OpenGL ES 2.0 and runs identically on Android, iOS, Windows, Linux and Mac OS.
The core code is written in C++. On iOS I use the free MetalAngle library to get around the fact that soon Apple will no longer support Open GL.
Is there a best/good way to go about cross-platform app development, like a game, for Android and iOS simultaneously (and Mac OS X)?
Just to simply develop an app that uses OpenGL and C/C++ only should be very simple, shouldn't it? As long as I didn't get into sound or even interaction at first?
I looked into the NDK, but there are all these warnings about how people shouldn't use it. I want to do everything myself as much as possible so I have not looked into things like Cocos2D ... is there any tutorial which just gets like an openGL "Hello World" going cross platform?
Thanks
Bob
Unity3d (game engine) is the best and easiest way to develop cross platform games. Due to the facts thats is supports many platforms.
The Platforms supported by unity3d are Android, Iphone, Mac & Window, web, Flash, Ps3, Wii, and even Linux.
The main benefit of using it is you do not have to rewrite your code (only some minor changes) to port it other platforms.
It supports C#, Javascript as well as boo for scripting.
The best thing about it. It has a strong support and great community to solve your problems.
You can create a cross platform Hello World in Unity3d in few minutes for various platforms like mac, windows, android, iphone, web.
I know it is not close (unity3d) as you want to pure coding enviroment but if your objective is cross platform games then unity3d is the best way (also the fastest).
Check it out http://unity3d.com/
I'm currently developing a multi-platform game (iOS,Android,Java-openGL,Flash and HTML5) using a google framework called PlayN http://code.google.com/p/playn/
It works great and have had a good feedback from the author when I hit problems