Android Game C++ SFML or Android Studios Or C# Monogame ? - Android Q&A, Help & Troubleshooting

Hello all ^^
Am a rookie programmer, and i want to make an MMORTS game like OGame but for Android. I am good at Oracle, SQL, Java and about average at C++ (with little over 6 months training in my college)
so i got a question please forgive me if i said something wrong or ignorant, cause am still a rookie just starting into the world if programming
the game will be pretty much like Ogame but with little animations (u know like blinking lights on buildings and some very basic and simple ship battle animation). Other than that most of the game will be text based just like Ogame
build buildings
research tech
build ships
farm others
harvest resources
should i use C++ with SFML(Simple and Fast Media Library) or should i start with Android Studio ? Or C# And Monogame ?
the thing is i want to implement in app purchases and ads and premier memberships.
can i do that in a game written in C++ using SFML and ported to android platform? or am i better off using Android Studio cause it will be easier to incorporate them into my game using Android Studio.
my concern about using Android Studio is i dont see it having a good 2D library, or atleast a capable one like SFML and one of my seniors said 2D libraries in android studio are primitive and a pain to use
please suggest me which one to pick ?
we are a team of 2 members
am the programer and one of my friend who is a rookie designer

Related

[Q] New to development!

Hey im a programming student in my second year and ive been wanting to play around with some android development (mostly because my school doesnt teach java or php. Im pretty experienced with visual basic and C#. But my questions is can someone help me out with a link to or something where I can take a look at some open source code for some android apps? It can be as simple as tic tac toe I dont car. Im just basically doing some research myself. Also is eclipse the best compiler for android development? Thanks
You can find quite a number of examples under 'Resources' on developer.android.com.
You may be interested to know that Eclipse is not a compiler, it is an Integrated Development Environment (IDE). What is better or not is largely a personal preference, but starting out you are likely to find more tutorials assuming you use Eclipse than anything else.
Source of pre-installed Android Appliaction is open. And you can program with eclips for Android App.
Sent from my LG-SU760 using XDA
Android is open-source, but not the apps.
You can run Eclipse, and create a new project from existing samples. You will be able to choose from a list (this samples come from the sdk, if you downloaded them).
There are some games (snake, ...) and demo apps like API demos.
And Eclipse is very good for Android development, especially if you use the plugin ADT tools.
I am more than happy to have all the eyes I can on my code. I would post a link, but (no rant here)...
AWOL: ArchWiki Offline
by
Tetractys Productions
Search for this on the Google App Store with search term "archwiki".
The code isn't great as I am a novice with both Java and Android, but you will find use of Activities, WebViews, Menus, using external Jars and perhaps a little more. If your scholarly background leads you to make a suggestion or two... please do.
Also... don't buy most of the books. They suck. The "cookbooks" seem pretty good and the Android Developer Documentation and Stackoverflow are your friends. I wasted enough money on Android books I will never read. Hope you don't fall for that too.
Rant:
10 post requirements encourages low quality posts. Perhaps its a good trade-off, but from where I'm sitting I'm drinking HaterAde.

Native C# Android?

Has anyone seen this?
http://blog.xamarin.com/2012/05/01/android-in-c-sharp/
This could be the bomb... coding in C# for Android natively!! Even maybe some of the good developers here at XDA could make a C# native Android ROM with a Dalvik machine for compatibility with non-C# market apps??
They have made tests and it seems that C# ROMs run like 5-8 times faster and leech much less power ...
Cheers!!!
Java and C# is brother actually. Both have virtual machines, both came from C++. But creating a new variation of one of these is so unreliable. Dalvik is Basically Java's clone but not very succesful clone. Mono is C#'s VM's clone and very reliable. Linux, Mac and Windows has Mono Ports (actually windows has .net framework) Mono is great but you know microsoft doesn't like UNIX like systems especially linux based ones. Thus C# programming could be harder for people. Also C# for phones could be awesome. Since 2000's We already have javaVMs on phones. Why Not C#. (python is good too but google wants a new language called GO)
Repeal said:
...Mono is great but you know microsoft doesn't like UNIX like systems especially linux based ones...
Click to expand...
Click to collapse
I think the problem is much greater with Google since they won't want a M$ programming language in their OS ... and that's a reason for which I'm sure they won't never support C# Android, but another thing are community ROMs.
Let time judge it.. but I think its good stuff...
Not only they do not 'want', they probably are not allowed as c# has patents. Look what is happening to google with java now owned by oracle..

Beginning making games/app

Hello,
i am new to android, but i have now a HTC One X.
My question is i want to learn how to make apps and games for android.
For now i want only beginning tutorials steps to follow.
I am going to Employee management ICT school, but next-year I get lessons in application development.
So if you start now, i can only grow for later.
So i want to know, what must i need to start, what kind of applications/dev kits etc. (price doesent mather)
and some steps in the good way.
Thanks in advance,
I suggest you to learn java very good. after you understand the OOP and other java principles, learn the Android SDK(if you understand the principles, its will not be difficult).
for java download Eclipse and java SDK.
find a good tutorial in your language about java. (becausse that you have Google)
good luck!
What kind of games are you interested in?
Are they 3d games or simple 2d games?
Which programming language do you know? c++ or java, maybe both?
Hmm, i dont have knowledge about java or something like that.
I prefer 3d games, i tought to use Unity3D ? is that good.
But if i learn some java it will be come good ??
When it comes to android, java is really helpful in overall.
If you want to make game 2D, you may make it only in java. Read about andengine framework. I think it's best free 2d framework.
For 3D games, it's good to use existing engines, also Unity3D (as i remeber, you should know c#), but there are many other engines (like j3Monkey). Some needs java some C.
Knowing only C/C++/C# will be really troublesome to create game for android.
android games need to know java, such as this for it makes the application
i agree, but...
you don't need to know java to make android game. It's undeniably helpful and makes life easier, but it's not strict requirement.
There are engines (i.e proton, but i wouldn't recommend it to use ) fully wokring in ndk and giving you - at the beginning of project - whole set of activities and methods required for proper working app.
aagames said:
i agree, but...
you don't need to know java to make android game. It's undeniably helpful and makes life easier, but it's not strict requirement.
There are engines (i.e proton, but i wouldn't recommend it to use ) fully wokring in ndk and giving you - at the beginning of project - whole set of activities and methods required for proper working app.
Click to expand...
Click to collapse
I am also interested in making games. Did you make a great one? Let me know :highfive:
wow... what an old post you dig out
but, yes. i did few:
A&A Games Google play games

[Q] Learning to develop Android app - should I learn Java first?

I learnt programming a long time ago (20 years ago) and back then I learnt C++. Fast forward to present, I have interest in creating an Android app and started doing some research. I bought some books and watched some video, downloaded Eclipse, etc.
Although I still remember some Object Oriented Programming concepts (Polymorphism, if-else-then loops, etc.), I never fully grasp some of the syntax presented in those study books / videos. This could be because I am a total noob when it comes to Java.
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
PS: I did bought some Java books but I don't think some of the things there are applicable to Android. For one, I setup Eclipse with Android SDK and although I can create some Android app (even have it run on my phone! YAY!), I could not figure out how to write, compile and execute Java app in my MacBook (keep throwing a bunch of exceptions).
lanwarrior said:
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
Click to expand...
Click to collapse
Of course. You need basic-medium java knowledge to develop your apps. About this...
lanwarrior said:
I don't think some of the things there are applicable to Android
Click to expand...
Click to collapse
It's not true. If something can be done in Java for PC, can be done in Android as well (in the same way, or using the Android way, easier and better, mostly times ).
Any recommendation on a good Java Book that:
- gets me up and running faster, since I am not focusing in developing a PC/MAC based Java app but Android app?
- Make use of Eclipse?
I suggest learning java first before you start app development so that you will understand what you are actually doing while writing the source code
Complete reference java is a good book to make your concepts crystal clear
for android app development tutorial you can refer thenewboston video tutorials and developer.android.com for understanding android os and API
Sent from my GT-S5670 using xda premium
How "deep" should I learn Java first?
I read some Jave books that covers really deep stuff that are over 1000+ pages, and there are books like the "Learn Java in 24 hours", etc.
I am just curious because I have read articles whereby people with no programming experiences had developed iPhone apps in months. I think Objective-C is harder to learn than Java because it does not have some of the great features like garbage collections, etc.
lanwarrior said:
How "deep" should I learn Java first?
I read some Jave books that covers really deep stuff that are over 1000+ pages, and there are books like the "Learn Java in 24 hours", etc.
I am just curious because I have read articles whereby people with no programming experiences had developed iPhone apps in months. I think Objective-C is harder to learn than Java because it does not have some of the great features like garbage collections, etc.
Click to expand...
Click to collapse
Throwing an Android app together is relatively easy, especially if you've got prior programming experience. Between the plentiful tutorials and stackoverflow to help with specific semantics, it's pretty straight forward to get what you want done. However, there's a big difference between getting something done, and getting it done efficiently - that's where having a fundamental grasp of the underlying language comes in handy.
When I was starting out I grabbed a couple different books, from basic Android programming to Advanced Java. I found Learn Java for Android Development to be a very decent read, and it was great for getting me up to speed on Java quickly, without going through basic coding principles I already understood from using other languages (or burying me in deep Java mechanics that I didn't really want or need).
--
Jason
rossja said:
When I was starting out I grabbed a couple different books, from basic Android programming to Advanced Java. I found Learn Java for Android Development to be a very decent read, and it was great for getting me up to speed on Java quickly, without going through basic coding principles I already understood from using other languages (or burying me in deep Java mechanics that I didn't really want or need).
--
Jason
Click to expand...
Click to collapse
Thanks for the recommendation on the book. Seems like a perfect book for me!
lanwarrior said:
I learnt programming a long time ago (20 years ago) and back then I learnt C++. Fast forward to present, I have interest in creating an Android app and started doing some research. I bought some books and watched some video, downloaded Eclipse, etc.
Although I still remember some Object Oriented Programming concepts (Polymorphism, if-else-then loops, etc.), I never fully grasp some of the syntax presented in those study books / videos. This could be because I am a total noob when it comes to Java.
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
PS: I did bought some Java books but I don't think some of the things there are applicable to Android. For one, I setup Eclipse with Android SDK and although I can create some Android app (even have it run on my phone! YAY!), I could not figure out how to write, compile and execute Java app in my MacBook (keep throwing a bunch of exceptions).
Click to expand...
Click to collapse
I think u are on the right way.
Please go into android directly.
Do you have a specific idea what you want to create? If no, Get one. I had no idea about Java and Android, only knew visual basic and some c#, but I had an idea what I want to create. And this way i started watching basic tutorials and got some basic information how to do stuff(intents, the thing with the contexts). For me personally, learning the Java stuff was easy, as its really close to what i knew(and you know some c++, which gives you the basics). Simply read a little bit about the control structures and classes and Start making your app. And if you want to know how something works, Google it!
Btw: i am really young, so this shouldnt be a Problem for somebody older.
Gesendet von meinem SM-N9005 mit Tapatalk

Making mobile or PC game

Hi. Does anyone here know about making games either for Android or for Windows or for both? I was always such a gamer addict but eventually I stopped playing because I feel like i played so many games that they dont work for me anymore haha. So I was thinking of creating my own game as I have ton of ideas.
But Im quite inexperienced in game development. I know a bit of programming but not sure how to proceed further so I have an moving object in 3D space. Am also not sure which language to pick, people say Java is good because if you code game in java then it will run in every kind of device.
Shireenzo said:
Hi. Does anyone here know about making games either for Android or for Windows or for both? I was always such a gamer addict but eventually I stopped playing because I feel like i played so many games that they dont work for me anymore haha. So I was thinking of creating my own game as I have ton of ideas.
But I'm quite inexperienced in game development. I know a bit of programming but not sure how to proceed further so I have an moving object in 3D space. Am also not sure which language to pick, people say Java is good because if you code game in java then it will run in every kind of device.
Click to expand...
Click to collapse
First of all game development is not hard but will take you long time and that's why it's considered hard. Every little feature you code will take you long time, then you will have to interconnect them and ensure it works correctly, then polish each of these gameplay features as well as do perfectly good visual assets.
Secondly, please don't use Java. LibGDX is the only game engine (actually its library, not an engine) for Java and it's nowhere as good as popular game engines are. Java games can be compiled once and technically be run on any platform like Linux, android and windows in same time (there are often errors though). Now while this may seem like an advancement and really great thing to have, it's actually not. Because any popular game engine will let you code your game once, and then just compile (a matter of clicking one button) a individual game package to each platform like Xbox, android, windows, browser and the like. So the only difference here is that you have to compile the game few times but you still code it once.
The game engine I would suggest you is to use Unity. Unity is very easy engine that is suited for every kind of game. One more thing Id recommend to you is to learn from free tutorial instead of paid one. One of websites that teaches you for free is this gamedev blog - actually I'm in game development for quite long time but it still taught me things i didn't know about. If you have troubles following the tutorial then you probably should learn some C#.

Categories

Resources