• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Help with scoring

Hello,

So I thought I would start to learn Android while I had some time and brain power free so I set myself a really simple goal of replicating a simple game and using that as a learning process. Now I am happy to share what I have learned so far and even my experience. Before I ask my question here is a little disclaimer.

Disclaimer: I have never coded Java and therefore Android takes me a while to get my head around. I am happy with the concept of object oriented code so at least I understand this. I also do not intend to make any money out of the project. It's a learning process.

So I wanted to replicate and make the "GameWatch" game "Fire". Now this is a Nintendo product and I realise that if I release this commercially they will probably send me a cease and desist but it's a simple game to replicate.

I stole the graphics from the interwebs with a mind to get an artist to re-do them for a final release and have a basic app up and running. All code is available on github The next task on my mind is to setup a scoring system.

I understand that I can use the AsyncTask (AsyncTask | Android Developers) to possible update the score and re-display it but cannot (at the moment) figure out how to get that task to re-draw the text in the view.

All suggestions/questions welcome, if you are a fellow dev and learning and want to know how I did anything I have done so far get in touch.

Love and rockets
- catharsisjelly
 
Replying to my own post? Oh yes I did that, I am sure you are as excited as I am when I tell you I figured out how to put a menu on my game yesterday, hurrah! Yeah I could not believe it either! So the git project will now have a branch with that in it, on the same branch I am going to try and add some lives and the logic of loosing them.

Still if anyone has built a scoring system for a game I still would appreciate your help.
 
Replying to my own post, surely not? Yep I am. Thought I would just tell you a little success. Yesterday I added a second Activity which I made into my Main Menu to start the game. Now this may not sound like much to you and was really easy to do once I figured out how to do it. Anyway thought I would share my little success. The git project will be updated with this, next on my list is to input some lives and the logic of losing them. When you loose all of them I will throw them back to the Main menu.

Anyway if someone has implemented scoring in a game I still would appreciate your help.

Love and rockets
- catharsisjelly
 
Back
Top Bottom