I have a feeling this question must have been asked elsewhere but I still can't figure this out. My question is two-fold:
Can Cocos2D-Python be used to create games for both iOS AND Android?
Or am I stuck with Cocos2D-x with I'm looking for that
cross-platform feature?
(Depending on the answer to #1) Do I have to install Android studio, Xcode and any other relevant IDEs to do the job? I'm asking this because I personally enjoy working with just text editors and command prompt.
Although I have no problem with switching to Cocos2D-x, I'd like to know what my options are before I make the commitment because Python is the only language I know right now. I am using 64-bit Windows 10.
Any help is appreciated. Thank you.
1) Based on the info at cocos2d homepage cocos2d-python only supports Mac, Win and Linux and not ios/android. Cocos2dx however supports mobile versions as well but it uses c++
2) You can work entirely on using the cocos cli which comes bundled when you install cocos2dx so you don't need to install any IDEs. Personally I used nvim so pretty much any editor works.
Related
Now I know this question pops-up frequently, but since I could not find a satisfying answer yet, I'm gonna ask here again:
I'd like to setup a cross-platform project for cocos2d-x using cmake.
My intention would be to have the general setup in my CMakeLists.txt files and be able to use this setup for Windows and Mac development at the same time, so I would easily be able to test our progress on Windows Phone, Android, iOS (iPad), Blackberry, etc.
I don't want to drag and drop files to XCode every time I need to deploy the game on the iPad when I applied changes to my Visual Studio solution and vice versa (when a colleague made a change to the XCode project).
Now I found the ios-cmake project hereand the android-cmake here.
Are they any good, i.e. are they still maintained and any good for developing with cocos2d-x?
Has anyone of you gathered any experience using cmake for cocos2d-x development or is there another common way to handle that kind of cross-system development with cocos2d-x? (I know there is the python script for the initial setup, but as I said, i need it to keep the project maintained at any time).
Thanks in advance!
A year ago, Reuben Bond made a fork to crosscompile cocos2d-x, you can see it Here. Exist a pull request supported by the official cocos2d-x project Here 3 months ago for Linux only, and another with windows Here.
I'm interested on cross-compiling and I hope cocos2d-x V3 support it.
I want to make a game with my friends on iOs, Android, WP operating systems. We decided to use a cocos2d-x and develop the core of the game on C++. What will be the right way of developing so that we can write the game all together simultaneously but just build the project differently on every platform. We thought of writing the core of the game in C++ in Visual Studio, but there is the problem: How can we test it fast on every platform? How people usually develop multi-platform projects?. Also we would really like to hear some recommendations about the source controlling of the whole project. Thank you in advance.
Best way to develop a game on Cocos 2Dx is to
Develop Complete Game for one platform most probably iOS or Windows.
Port your game to other platforms.Fix minor bugs that occurs.
You can use GitHub to Work in groups.
Make sure you test your apps on devices because some features are
platform specific like ads etc.
For source control you have several options such as Git or SVN. Personally I quite like Git as it doesn't require a central server as it is peer to peer. That means if it all goes wrong with your host you still have a full copy. In terms of good and repository hosting I would take a look at https://bitbucket.org/
To test on iOS I believe you'd better got a Mac instead of windows box.
I have searched several times to find a PhoneGap tutorial which is based on Windows environment but whichever tutorial I'm getting is based on Mac OS. I Have just started using PhoneGap for Android application development to use it as a plug-in for a barcode scanner app. I am working on Windows 7 environment and using Eclipse. So, I need a tutorial which is based on Windows as I am a beginner. Any help would be appreciated.
I've checked http://www.vsnomad.com/ which is suggested by #Craig, just now. But unfortunately, first of all it is a trial basis extension and second, a sign up is required. So, is there any alternative to this?
I'm working on windows server 2008, I used these couple of tutorials (it doesn't matter that much which environment you are using as long as you use eclipse).
http://www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-eclipse-for-android.html
http://mobile.tutsplus.com/tutorials/phonegap/creating-an-android-hello-world-application-with-phonegap/
If you want to use Visual Studio then I would recommend looking at www.vsnomad.com which will greatly simplify PhoneGap development on Windows.
I'm facing a dilemma: I have a solid ASP.NET development experience in C# and looking to start mobile development. I have done research and know that there are some hacks for getting a development environment for iOS on windows, and recently after Apple lifted ban on 3rd party dev apps, Adobe Flash CS5 can be used to package iOS apps. I do have some prior experience with Flash and AS2.
So my question is: should i use Flash CS5 for iOS and MonoDroid for Android or should i just get Mac and learn Objective C for iOS and learn Java for Android? What would be the most practical solution?
Thank you in advance
EDIT: In the end, after trying out both Java Development in Eclipse against Android SDK and Mono for Android, I decided it's best to write Android apps in native environment. Eclipse FTW! As for iOS, I think it will also be best to use native Mac tools and Objective C.
While there are ways to get around using Objective-C for iOS development, I'm going to recommend that you learn it anyway. You need a Mac to deploy anyway, you might as well use it to develop as well.
Objective-C is bloody bizarre when you first start using it, with its strange square brackets and odd ways of doing things. However, once you've spent some time writing code in it, a change happens in your brainmeats and you suddenly realize that this is really an elegant way to work. Xcode is also quite an excellent IDE.
You can start with the iPhone Applications Programming lessons on iTunesU from Stanford. It's free, and covers what you'll need to know pretty throughly.
Worst case, you've learned a new language, and how Apple thinks iPhone apps should be developed. Even if you ultimately use something else, that understanding will help you out long term.
Take a look at monotouch & MonoDroid (Coming Soon), it still requires a mac. But you can open your solutions in VS2010 and use resharper, and just use the Mac for deploying and building. Take a look at this Here to open monodevelop solutions in Visual Studio.
http://monotouch.net
For Android, I would recommend learning Java. I just started working with Android in Java on my Windows machine after developing some ASP.NET sites. I'm familiar with Java, but the syntax is so similar to C# that it's very easy to understand and pick up. So far it is more difficult figuring out and remembering the details of the architecture of mobile applications as opposed to the language. It also helps that there are a number of good books and online resources for converting from C# to Java and vice versa.
Update: I found a good post over on programmers.stackexchange.com that talks about C# vs. Java for Android development with good discussion on the pros and cons of switching: https://softwareengineering.stackexchange.com/questions/33076/as-a-c-developer-would-you-learn-java-to-develop-for-android-or-use-monodroid-i
#Dimitri I was almost your identical skill set when iOS 2.0 was released. I decided to try and learn Objective-C and now its my language of choice. Its a bit different to start with but most of the changes are simple to learn. Whether you are programming for iOS using Objective-C or something like Monotouch either way you have to learn the frameworks. If you use Monotouch you will never be able to be on the bleeding edge of the iOS enhancements. Using Objective-C you will be able to use the latest beta APIs and ensure your apps work right. You will need a Mac to deploy to the App store so just bite the bullet and get a Mac. Get a MacBook Air 13"
I went the route of Monotouch for iOS and Java for the Android. Unfortunately, Monotouch still requires a Mac. I am currently participating in the MonoDroid beta, which looks pretty promising too. It's all a matter of taste. I should also note that, for the most part, HTML/Javascript is a nice way to get portable apps in some circumstances. I would expect HTML5 apps to become even more viable as tooling improves.
I choose to use the Mono, MonoTouch and Mono for Android technology stack from Novell. When coupled with a micro framework like MonoCross (open source in Google code) it helps me write applications for both iPhone and Android devices while leveraging a shared code base for much of it. I would highly suggest the same route, it has allowed me to implement numerous solutions for small businesses and enterprise customers alike.
I didn't have the ASP .NET experience like you, but I was a Pocket PC/Windows CE developer so C# and the .NET Framework were also my strongest tools when I started on journey towards Mono many moons ago.
You can do iOS,Android and Windows using Xamarin.
Android and Windows can be done easily but doing iOS on Windows was tough so far like networked mac is required for debug and development but things have changed now.
Microsoft has introduced Xamarin Live Player using which you can debug,develop and deploy the app completely in windows without the help of any Apple system but to sign and release the app to appstore you will need Apple System though
Was wondering if anyone knew of some third party android development toolkits.
I have found Basic4Android.
Was wondering what other options are available.Language does not matter.
Thanks
Qt for Android (Alpha version) got launched last week.
Motorola has a custom dev environment built on top of eclipse (MOTODEV). It is not Motorola specific and you can use it for regular development. I have been playing around with it for a week and it is much more convenient than the standard Android Eclipse plugin.
EDIT: Forgot to mention there is AppInventor (currently in Beta) which is a drag and drop development environment from Google. It is a useful tool if you want to get a feel for development or you are developing just for your phone. It does not generate Java code (as yet) and there some restrictions on it like only single screen apps are supported. It has got a healthy community and lot of college students (in the U.S) seem to be using it.
MonoDroid is also another development stack for Android using C# and .NET API's. You can use Microsoft Visual Studio IDE to develop applications using MonoDroid.