[Q] Need advice: creating a game - Android Software Development

hi guys,
me and a couple of my friends have recently started development of a game for android, and I wanted to ask some experts here for advice regarding game development (especially for android)
Its suppose to be a "light" RPG
we have decided to do it in 2D - sprite based, because of the limited storage on most android phones.
one thing that we're mostly concerned about is IF and HOW its possible to create "dynamic sprites" ( I don't even know if that's the correct term)
we have game characters that we'd like to equip with certain items and clothing - but we wouldn't want to create a new sprite for every item and item-combination, because it would just be way too much
for example we'd have:
- regular character sprite
- character with sunglasses sprite
- character with hat sprite
- character with sunglasses and hat sprite
and if he had 2 different characters, the number of possible combination would double
isn't there a way to just create the sunglasses-sprite and "put it on" the regular character?
if yes: how?
and how exactly should we approach the whole thing in android?
I hope there are some more experienced people to help us out

Yea, this is pretty straight forward.When you're drawing on your canvas you'll just draw your base character first then all his accessories. I would make place holders for where these accessories will be and have like a character object class that have function calls to set or remove accessories, and also of course the draw() function.
Sent from my SGH-T959 using XDA App

Related

Free applications as per request

Hi all
I am a software developer and I am interested in developing smartphone applications on my spare time (and I have a lot) for free.
What I need is ideas…. Meaning, me my self has HTC Diamond and all of my application needs is modest but I am sure that you guys probably have more needs then I do and …. My be you can help me help you … so bring on the ideas (… just not themes and all of this kind of applications).
Thanks
csharpcoder4u said:
Hi all
I am a software developer and I am interested in developing smartphone applications on my spare time (and I have a lot) for free.
What I need is ideas…. Meaning, me my self has HTC Diamond and all of my application needs is modest but I am sure that you guys probably have more needs then I do and …. My be you can help me help you … so bring on the ideas (… just not themes and all of this kind of applications).
Thanks
Click to expand...
Click to collapse
Very good.
Okay, I've got a request:
I need a little program, which is the same like BluePower which switches BT on when connecting to AC but a little bit more extended.
So, 2 things are very needed:
1. A popup which asks if BT should really switched on (YES/NO; Standard: YES)
2. This prog should recognize if a BT-device is connected so BT should stay on when loosing AC-Power
That's for now
-Lycox
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
photo uploader
hi, i'm looking for a program to upload, pictures/photo's/video to my own website. like, you make a picture and then you can select to upload it to your own specified website. maybe also the posebillety with gps position and some comments. don't know if it's possible.
pls think about it!
grtz heyk
hey i m looking for photoeditor for elfin can u made it
Really cool would be, to have an small app like g-profile, which for example turns on wi-fi on an fixed placed at an fixed time.
for example i come home, it recognizes this gsm singnal, and wi-fi turns on.
or i get to work, its not yet my breakt and it turns the volume to just vibra. than my break starts and volume turns up.
gprofile can do such thing but just with one reason, gsm OR time, i would need both
i want if you fancy making a simple but functional hard key program swapper so i can change the hardkeys setting easily to other programs.
thanks for the offer wish I could do this.
I wouldlike to log calls in contact notes like agendasfusion.
callcalendaris close but buggyand logsonly incalendar.
a weather app like weatherpanel where wallpaperis live radar
a calculator app with running tape, and a transparent keyboard
looks like youre gonna be busy!
i was thinkin recently of working with someone to make some palm pre-like apps
the fluidity of the apps on that device ive seen in preview vids and the wonderful use of the small screen real estate (no top and bottom bars, minimal buttons), is something that is almost necessary on screens like my htc touch (same screen size as the palm pre)
so, i would provide all the graphics for these apps, just need a developer
i think so far pocketcm contacts has contacts/sms covered.. very smooth scrolling, with a skin i can acheive the same simplicity and great use of fullscreen view on a small screen as i whippd up in this photoshop mockup:
i think what winmo needs is a good email interceptor app.. there are none that are skinnable to the extent of pocketcm contacts or as fluid, and then an image viewer (see palm pre screenshots of that app here -simple but very useful-:http://www.engadget.com/photos/palm-pre-official-ui-shots-1/1290333/ you can find videos all over) and a similar calendar app
most needed is the email app
if you could develop trust me.. you would have an insane following of obedient users
weve been looking for one for a long time, but its never come thru
if you make it, ill provide graphics!
think about it
htctoucher
What about a application, an actual good and working application that lets you create group distribution lists for email groups in your contacts similar to how the blackberry allows you to do it from their contact list and be able to use the group listing whether creating a new email or forwarding an email. I am shocked that this issue hasn't been addressed sooner.
dexstar said:
i want if you fancy making a simple but functional hard key program swapper so i can change the hardkeys setting easily to other programs.
Click to expand...
Click to collapse
Try http://ae.inc.ru its called AE Button plus and its free
Woah man ur gonna be real busy
I like to be simple so........how about an application that will turn a picture into the real thing, like sayyy; Jessica Alba
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
+1k
Complete lack of integration between calendar + contacts and email + contacts is very disheartening!
My problem is that I do a lot of presentations, and all the presentation pointer/remote apps out there cannot meet my needs in terms of simplicity. All of them require me to run a server app on my PC.
I have used one in Palm that emulates a bluetooth HID keyboard/mouse, meaning it can do anything that your mouse or keyboard can do. The app requires to have virtual keys for Ctrl, Alt, Del, Function keys.
Link to the BlueRemote software
http://www.palmgear.com/index.cfm?fuseaction=software.showsoftware&PartnerREF=&siteid=1&catid=16&area=software.category&searchtitle=Wireless%20%2F%20Networking%20%2F%20Communications&searchterm=&step=1&orderby=sales&direction=asc&userid=0&prodid=124035
Suggestion
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
Maybe a suggestion, in Microsoft Office, If we copy/paste or drag-drop email to Calender, then it becomes an appointment.
Maybe this could help you in some thinking...
ASh
Papi Jump
Hi!
My idea is to make a game, similar to Papi Jump (a great game for iPhone) - you can see the game on this link: http://www.youtube.com/watch?v=vQxltToeNXo . It's an arcade game - you control a jumping ball with tilting your device.
It would be great if could make this game work for Windows Mobile.
Since we're all tossing stuff into the "wishing well", I can add something too
An application that would scroll RSS feeds on Home screen in Manila.
Of course, such an app isn't hard to make, the RSS Hub saves its channels into simple files - the problem is how to incorporate it into Home screen.
Well, I got an idea for that as well! Recently a small program called Personalizer showed up that enables us to change the network provider name into anything we want - that would be the perfect place for RSS scroller to show up! And since there already exists a way to modify this data, I suppose it would be possible to use Personalizer as backdoor for the feeds to show up in that text filed!
Even if they wouldn't actually "scroll", I think they could be made to change every 4-5 seconds.
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
+2
Or how about a Config-Editor for FingerPoint? ( http://forum.xda-developers.com/showthread.php?t=499734 ) - so there's no more need to edit the XML Config File manually?
How about an application that reminds you to drink water and tracks how much water you have drank per day. As everyone should know, the average male should drink 3 to 5 liters of water everyday and ladies should drink 2 to 4 liters.
How about a litle app that:
1-Reminds you to drink
2-Allows you to input how much water you have drank (when reminded or manually)
In the long run, you could monitor how much water you consume on a monthly,qaurterly ,biannually and yearly basis.

[Ideas] Windows Application Skinings [Long - Rant Material]

Hey guys,
I've hadmy HD a while and think it is by far one of the better phones I've used. Though like many reviewers and people have said the interface could do with a face-lift of sorts.
It just occured to be that maybe this would give the HD more appeal and with XDA being the largest resource of designers and coders for Windows I don't see why it can't be done.
Basically here are a few of my ideas, not all of them are applicable and I'm not a programmer as such and nor do I know the major workings of Windows mobile and I know there are alternative applications for these things but some of us just want a new skin not a new program.
Ok let the ideas flow:
SMS/MMS: This one I truly find depressing. I don't feel there is a need for a seperate program but if someone could just skin the display it would make sending messages that extra bit more 'entertaining'. I know people here dislike the iPhone I don't blame them but just have bubbles around threaded messages could really make a difference and improve communication. If I recall a lot of these edits can be doen through XML files. I've seen a cab which increases the size of the message box so it looks like atleast some change is possible. So adding more colour and imgry I think would be of benifit here.
Calendar/Tasks: Both I feel could do with a major new modelling but I use Calendar Touch so I've found my alternative. Though I think just making the display match Outlook on the PC a bit more of just making the buttons and fields bigger if possible would make the applucation more usable.
WMPlayer: I've tried MortPlayer and Pocket Player, the former crashed my HD as it wouldn't unistall so I had to hard-reset and the latter I left was good but just needed to appear more complete (some menus didn't match the styling of the player skin - also very confusing to use at times). Enter good old WMP, I enjoy using the skins already available, but the menus are still small and the fact I have to click the song then 'Play' I think is backwards, where on earth is double click! Is it possible to skin the menu to be bigger and look more user friendly?
These are obviously my thoughts and opinions but what I'm look/hoping for is for someone to code something that modifies these problems. Ofcourse this is open to discussion and people please do discuss.
haha, I had the exact same idea. I thought of some htc style cover for the wm interface and new apps for sms, notes, calendar etc.
going to move my thread to this section, will probably get more attention.
WONDERFUL!
It's good to see people with on a similair though pattern.
Any views, opinions or ideas?

WM Morse keyboard or SMS Client (developer wanted)

There are a few morse keyboards out there but nothing I can find for Windows mobile.
I’m hoping that someone special can provide some input into developing a dit dah SIP for WM. I’m also hoping that there are enough people out there who would be willing to donate to this project / developer. I certainly would.
There are some existing apps for other platforms:
iditdahtext for the iphone
http://iditdahtext.com/iDitDahText.html
I believe this uses multitouch technology; not something that would be available/required on WM. I believe the developer has no plans to port this to WM
I have also found a reference to an Android app
http://simoncook.org/blog/2010/04/random-morse-code-keyboard/
Other XDA references:
http://forum.xda-developers.com/showthread.php?t=583903
http://forum.xda-developers.com/showthread.php?t=799217
The closest thing I’ve found for WM is MorseSMSer. This is not a SIP but simply an SMS client.
http://rapidshare.com/files/116167287/MorseSMSer.zip
I believe the development of this app has ceased.
Also just found for WM
http://utilaplic.webs.com/
Please don’t reply with question like “why would you want that?” People want things for different reasons – be cool and accept it
Thanks
WM Morse keyboard
Reserved for me!
I had a app that converted any text to morse i will look to see if I still have that app later but your idear sounds great
Dude that keyboard looks awesome. I hope you will find the devs.
anywhere else
Anybody know anywhere else I can make this request?
well... do you want a real SIP or just an application can be ok for you ?
by the way, what do you intend to do with your text, just sending SMS, MMS,... ?
morse kb vs sms
Hi Corwin9s
I was really looking for a real SIP so that it can be used in all applications (SMS, Word etc) but I guess I would mainly use it for SMS
MorseSMSer does work but it crashes if the focus isn't in the right place (e.g. after deleting a letter). I contacted the developer who advised that development had ceased. I offered to buy the source but I didn't hear from him again.
I've had a play with the android Morse keyboard on an emulator and I think it's brilliant. Although it does imply that “word suggestion” is available but I can't get it to work. I would really like word suggestion. This may seem silly when using Morse input but however I input the text my spelling is still awful. (This is typed out in word!)
I guess that I would at least want an SMS client that didn't crash.
- / .... / .- / -. / -.- / ...
£ $ €
Can anyone help with suggestions of where to turn to for a SIP or SMS client
£ $ € on offer for a solution.
Thanks.
WM Morse keyboard - font
While looking for a font for my favorite today clock (PocketDigitalClock),
I found "Radios in Motion" font. It comes in an easy type that contains the letter it represents.
http://www.1001fonts.com/font_details.html?font_id=1184
I have used it in Word Mobile , but be carefull where you place this file.
I keep it on the sd card\My Documents. If you place it in the device folders, you may end up with this font in things like comm manager..
I had to hard reset to correct that.
So backup before you copy this font to ppc.
Hope this helps.
font
Hey cac2us, not quite what I was looking for but thank you very much for taking the time.
Regards

[Q] Advice regarding optimizing app performance since it consists of lots of views.

Hey guys, I'm an amateur at android development and this is my first app. I'm trying to make an app which you could basically think of like a book. It will consist of verses from a certain scripture one verse per screen, the screen will have the verse in it's original language "sanskrit", and these three things: 1 it's meaning in english, 2. it's meaning in hindi, and 3. the word meaning of each of the sanskrit words in hindi and english. I want these three things inside a tabhost.
Now the scripture has like 500 verses divided into 18 chapters. Each verse is like 10 words long. So there will be like 500 different views (if that's the right word for it... what I mean is 500 "screens" if that makes any sense) What I've done till now is, I made a sliding drawer that would take you to one of the 18 chapters. Now choosing one of the chapters will take you to a fragment, in which there will be a viewflipper, and it will consist of the verses in that chapter and a title page for that chapter which will consist of links to each of the verses. (I've done everything upto here there's just one sample chapter and 2 sample verses and it works fine) Also in the actionbar there will be a dropdown menu kind of thing clicking on which will give a list of verse numbers, and you can navigate to any verse from there. (I haven't done that yet)
So the thing is, 500 verses, 500 "views" (if i'm using that correctly) I don't know if that will make the device slow or what. I wanted to know am I using the right tools for it? Like the sliding drawer, fragment, tabhost, viewflipper? And the way I've structured the app, what do you feel about that? Will doing it differently could make it faster? I haven't had any problem yet with 1 chapter and 2 verses, I'm going to try adding a bunch of sample chapter and verses and see how it affects the performance. Still I just wanted to know ahead of time if I'm making any huge mistake in using one of the tools that I'm using.
I'd really really really appreciate if someone would take his/her time and give some valuable advice. Thanks in advance.
EDIT: So initially I was planning to have minSdkVersion = "11" and targetSdkVersion = "21", but if that would be impossible due to the large number of verses, I might reconsider that. And I'm using Eclipse to code, and AVD (Android Virtual device) manager to test the app.
EDIT: Also, using maybe sqlite to get the verses (I've just heard a bit about it never used it), would that help?
I'm just replying because I would like to know the same thing...
It shouldn't make your app slow if you're managing View's lifecycle properly. Basically you need to make sure that you're reusing views instead of creating new ones, same thing for Fragments (take a look at android.support.v4.app.FragmentStatePagerAdapter).
surlac said:
It shouldn't make your app slow if you're managing View's lifecycle properly. Basically you need to make sure that you're reusing views instead of creating new ones, same thing for Fragments (take a look at android.support.v4.app.FragmentStatePagerAdapter).
Click to expand...
Click to collapse
Okay so you mean when one navigates to a view it should not create a new view but it should reuse the existing ones? I actually made the sliding drawer (which navigates to the chapters) from a tutorial titled "android sliding menu using navigation drawer" (can't post links since me a newbie here ), I hope they managed View's lifecycle properly. And I'm using ViewFlipper to navigate between verses in individual chapters. So I hope that would be okay.
And I haven't used Sqlite but I vaguely know what it does. Will using that to extract the verses from a database then displaying them be of any help? Would it make the app any faster?
Thanks a lot for your help man, really appreciate it. :good::good:
kumar935 said:
So I hope that would be okay.
Click to expand...
Click to collapse
Just give it a try, man. You will never know till you have it tried. Implement, test, improve. Don't be a victim of premature optimization . Good luck!

[Q] Help with code that retrieves character info for RPG style games?

Hello, I'm new to java coding and would like some help.
I want to make a simple RPG card collecting style game (like Brave Frontier, Defender of Texel, Blood Brothers, etc) for Android. Right now I'm focusing on how to write a code so when you click the character's icon in your inventory for example, it will bring up a new page with the full character sprite, stats, lore, etc. I figured it would be redundant to write a code specific to every character, so I thought it would be possible to make a "universal" code that works with all characters.
So for example, you assign an ID to a character, and when you click on the icon(a button), the code retrieves the ID and brings up the character's information.
How would I go about doing this? If I am using this method, will I also have to create, for example, a text file for each character with its stats and other info? If not, what is a way I can store the character info?
I am not looking for someone to do the coding for me; I merely want to be pointed in the right direction. Thanks!

Categories

Resources