Cookie Clicker like game with auto clicker that adds clicks

431 views
Skip to first unread message

lolkiller266

unread,
Mar 6, 2016, 11:39:41 AM3/6/16
to MIT App Inventor Forum
So i am trying to make a game like cookie clicker. When you clicked 100 you can buy a auto clicker it should add clicks to a label automatically. i tried it with a do while loop but it doesnt work and crashes when i want to use the auto clicker
clicker.PNG

fishingjr

unread,
Mar 6, 2016, 3:04:46 PM3/6/16
to mitappinv...@googlegroups.com

edit...
sorry, I was getting clicker and clicks mixed up....



In your while test... your Global clicker will always be greater than 0.

Your not changing it in your while block


BOXERAJD

unread,
Mar 10, 2016, 10:10:55 AM3/10/16
to MIT App Inventor Forum
Use timer instead of while.
Reply all
Reply to author
Forward
0 new messages