2017년 7월 30일 일요일

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


If you know that will help me out a lot thanks 

--
Don't understand... what do you want to know David.  Shop for a game?

--
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
--
No like a upgrade shop. to upgrade your points.

--
sorry, what is an upgrade shop? you might want to explain a little bit

--

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.

--
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 

--
Thank you for confirming the Project.

Have you done the Colored Dots tutorial?   It shows how to work with the TinyDb.  Colored Dots for App Inventor 2    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...  Pizza Party with Fusion Tables for App Inventor 2

You will need to use lists.  A basic discussion is here:    Making Lists (App Inventor 2)

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.

--
Intro to > logic tests and conditions < using and, or, not.

--

댓글 없음:

댓글 쓰기