I am developing android game using opensource cocos2d-android-1 library available here . I also developed demo application using this tutorial.
Now I want to do further development but I am not getting any documentation for this library and how to use library. If anybody knows any blog, forum, documentation for this library project please suggest me.
I recommend you use cocos2d-x instead. It is also a port of cocos2d-iphone but with more platforms, a better documentation and a wider community than cocos2d-android (but still not as good as cocos2d-iphone).
It's probably a bit more painful to start because you need to understand how to run native code on android but you probably won't regret it when you decide to port your game on another platform.
many example is available on the github for cocos2d-android and documentation is not in large scale but you can handle most of the things from the test sample which is available in the cocos2d-andriod . if you getting any problem ..post here to get the answer or help..
Related
I have a few questions about webRTC on android. I can say I'm new about android and webRTC but I can also say I made tooo much research about webRTC on android. But still have a few questions. (some of them because of I'm new, and some of them because of I'm okey but not fully)
I'm trying to make an android app which is going to communicate between web browser (first choice is chrome) and android device directly (p2p we can say). So I made too much research and I found webRTC is good for me. Do you advise me something other or is it okey you think? (also I am going to code a plugin for chrome).
Nearly every document says 'android is not directly support webRTC'. So I need something to provide me webRTC on android. What it is? Is it native android that I have to code? Is it native (NDK) library that I have to include my project? Or is it a java lib? Or should I go for cordova/crosswalk or sth like that? I researched all but didn't find something can help me. Yeah there are documents about it but not enough..
Some of documents says, I need chromium. But why and how? They show me lots of linux terminal commands and even there is no a line java or C or C++ code. Even some terminal commands and links that they give is not working.
I read/found/tried these things as a result of my research:
Apache cordova
Crosswalk
http://www.webrtc.org/
https://github.com/webrtc
http://webrtc.github.io/samples/
http://simonguest.com/2013/08/06/bui...t-for-android/
http://orcaman.blogspot.com.tr/2014/...tc-source.html
https://github.com/pchab/ProjectRTC
https://github.com/pchab/AndroidRTC
and something more..
in a nutshell I need help. Please give me your hand. Thank you. (because I'm really very helpless and tried to do my best)
Thank you.
As others have suggested, I recommend checking out g.co/webrtc. As I understand it, your goal is to make Android connect to a web browser using WebRTC. There are two (three) ways you can achieve that.
You can just use Chrome, Opera or Firefox for Android. All these browsers support WebRTC, and it allows you to use the same code for your web app, as for your Android app. With the new Add to homescreen support, as well as support for push notifications from web apps on Android, this could be a very good solution for you.
You can use the Android native WebRTC library, available from WebRTC.org. As mentioned in my article, I recommend using the pristine.io compiled library, available from MavenCentral.
If you can limit your application to Lollipop, you can use WebView, which support WebRTC now iirc. I don't know much about it though.
And the best resource for getting help is discuss-webrtc. It's a lot more active than StackOverflow.
Can someone give me a simple example since I'm trying to learn it but haven't seen examples for Android, for iOS plenty though. I want to create one so it is easier to debug my collision area's. Thanks in advance
I don´t know it this helps you. I use Cocos2d-x. This library is the same that cocos2d-android, but:
Works in C++, it is faster than Java
Is multiplatform, can compile in iOS and Android, and HTML5
Exist a big community whose hold the project, and cocos2d-android doesn´t have more updates
Exist This link with a lof of tutoriales to start.
I am trying to learn to create 2D games on android, and I have heard that andengine is one of the best tools for that. I tried using it, but unfortunately there I have encountered numerous issues with andengine having little documentation, and no stable place where I can learn things. So my question is that what would you recommend to a completely newbie developer? Should I try learning andengine, or learn things the hard way? And can you please provide some good links to learn? So far a lot of links I found were quite old and would not work properly all the time.
Thanks to anyone for their help.
Also just to clarify, I am middle skilled in 2D game development (especially in java and C++), so I know the basic structure, my main issue is making things run on an android since I am completely new to android itself.
With andengine, your best bet is to download, compile and run the sample games and examples. From reading through and understanding the source code for those, you'll learn how to use it. The examples in particular are effectively documentation, they're very good!
Are there any decent Android NDK examples and tutorials out there? Where can I find them? If there are any geared more specifically towards game engine development (as I am looking to convert mine over to android) that would be most helpful.
There was a blog post a while about android game programming on the official blog. Also Quake was ported to Android using a mix of Java and Native code and has been open sourced. Not sure how good it is from a tutorial standpoint but looking at real code always helps me more than following a basic tutorial.
check out : http://www.mobisoftinfotech.com/blog/tag/android-ndk-tutorial/
Here is one complete documentation.
http://java.sun.com/docs/books/jni/html/jniTOC.html
I was wondering if there is any 3D scene graph toolkit available or at least in development for Android? I could not find anything, assuming that all existing solutions for Java won't run on the Android platform.
I played around with the simple but quite powerful JPCT library that is supported by quite an active forum. The author has ported the libary to Android, and shows some nice demos on his site.
http://www.jpct.net/jpct-ae
You might look into JMonkey Engine. They are working on an Android version:
http://www.jmonkeyengine.com/forum/index.php?topic=13643.0
http://jmonkeyengine.com/blog/blog/2010/02/10/android-support-confirmed-for-jme3/
Have you tried out JavaFX Mobile? http://java.sun.com/javafx/index.jsp
I'm looking for one as well. I came across this today, but I have no idea if its actually any good -- the company site looks kinda sketchy!!
http://www.artfulbits.com/Android/aiCharts.aspx