How can you make a Shop for a game like cookie cliker

520 views
Skip to first unread message

Mackinzie Kelly

unread,
Jun 22, 2014, 12:10:52 AM6/22/14
to mitappinv...@googlegroups.com
If you know that will help me out a lot thanks 



-David

Enis

unread,
Jun 22, 2014, 12:58:44 AM6/22/14
to mitappinv...@googlegroups.com
Don't understand... what do you want to know David.  Shop for a game?

Taifun

unread,
Jun 22, 2014, 11:06:32 AM6/22/14
to mitappinv...@googlegroups.com
Google Play in app purchase is not supported

to star an issue means, to click onto the star in the upper left corner of the issue to vote for it and to get an email in case there are news

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         

Mackinzie Kelly

unread,
Jun 22, 2014, 12:05:37 PM6/22/14
to mitappinv...@googlegroups.com
No like a upgrade shop. to upgrade your points.

Taifun

unread,
Jun 22, 2014, 12:10:58 PM6/22/14
to mitappinv...@googlegroups.com
sorry, what is an upgrade shop? you might want to explain a little bit
Taifun

SteveJG

unread,
Jun 22, 2014, 12:41:30 PM6/22/14
to

You want the player of your game to 'buy' points and images within your app, I imagine ... like in Dungeons and Dragons or other turn based games and Cookie Clicker?

You will have a list of objects you can 'buy', probably selected  in a ListPicker , depending on how many points the user has accumulated in the game?  If the user has enough game points, he can buy some but not all of the objects?

Tell us more about how you think the 'buying' should work ... step by step.   ...and someone will provide some suggestions.

Regards,
Steve

Mackinzie Kelly

unread,
Jun 22, 2014, 1:55:03 PM6/22/14
to mitappinv...@googlegroups.com
Yes that is the game i want to make i am all most done i just need the saveing and upgrade shop the upgrade shop will be (Ex: you tap once gives you 2 Coins and when you buy something out of the shop it will make you get 4 coins more. and the price raises once you buy one upgrade thats what i need help with and the TinyDB1 And the TinyWebBD. thanks 

~David

SteveJG

unread,
Jun 22, 2014, 2:55:08 PM6/22/14
to
Thank you for confirming the Project.

Have you done the Colored Dots tutorial?   It shows how to work with the TinyDb.  http://appinventor.mit.edu/explore/ai2/colored-dots.html    Be aware, using the TinyWebDB will require you to have your own server.  Fusion tables, though not perfect, may provide an alternative way to store scores, the store items etc.    Have you done the Pizza Party tutorial?   It will get you started with Fusion tables...  http://appinventor.mit.edu/explore/ai2/pizzaparty.html

You will need to use lists.  A basic discussion is here:    http://appinventor.mit.edu/explore/ai2/support/concepts/lists.html

You will need code to provide the logic to let the app know how you will 'spend' coins ...You will most probably make extensive use of the If..then    else    or else if blocks.

My suggestion is to take this one piece of a time.  Save the app you have now as an aia to keep it save.   Then start several projects with different names to code the buying logic and a way to save information to the TinyDB.     Your project is not difficult but it is complicated.  Building parts, then later connecting them may save you lots of time.   It is easier to debug a small demonstration app then your main game app that may have many blocks.   Make a chart on a piece of paper showing yourself how you want your app to work; it will help you to design what you need to code.  Again what you want is complicated, not difficult if you have done the tutorials.

Try some blocks.  If you have questions, post them as a new thread and include an image of what you have done (jpg or png images are best) and you will get more assistance.

Good luck.

Regards,
Steve

Scott Ferguson

unread,
Jun 23, 2014, 8:05:30 AM6/23/14
to mitappinv...@googlegroups.com
Intro to > logic tests and conditions < using and, or, not.
---
Scott

Reply all
Reply to author
Forward
0 new messages