Potato Farm Debugging!

debugging

#1

I need help with my potato farm game. @OMTL @POMTL @TheCoders
(I’m sorry if I am breaking a guideline or I tagged you twice or three times)


I have quite a few variables in this game and I plan on making copies of their variables for each potato. The way Iceant the game to work is randomly every 2,500-5,000 milliseconds, the specific potato will appear, when it is clicked, it will increase your score by one and the potato will disappear. I need to copy this code for each potato! But I get so confused with the variables! I need some help and I will make sure to give credit to anyone who helps!


#2

A list of variables:
Variables Currently In The Game:
Potato Count(The number of potatoes in inventory)
Potato 1(The variable showing when potato 1 is available to be tapped)
Tapped 1(The variable that activates after potato 1 is tapped)
Potato 2(Same as potato 1 but for potato 2)
Tapped 2(Same as potato 1 but for potato 2)
Diverse potatoes(An upgrade that has not been added into the game yet but will increase the value of potatoes)
Upcoming Variables:
Duplicates of each variable for each of the other 7 potatoes!


#3

Anybody?
(Starts tagging friends)
@Gobli09
@WynterDiamond
@Dylan329
@Petrichor
@DMF
@glam_unicorn
@Explorer_
@MiNi
@Rawrbear
@CodeHelp
Help me with this game!


#4

YO sup scotch tape


#5

(Throws a table)
(Throws a house)
(All aimed at Glamper)


#6

Can we actually get to the debugging part of this conversation?


#7

I’ll try to find all the bugs when I get me iPad


#8

Thanks friend who doesn’t call me annoying names!
And literally, Glamper, why don’t you call ScotchHopTeam Scotch Tape? Like really?


#11

I am flagging you…I want to debug this game but you just messed up this!


#12

Gobli plz flag the post it is off topic!
@Gobli09 plz flag the posts that Glamper made! They are off topic!!!


#13

What? XD

I think we should think more on the debugging and not on Magic scotch tape xD


#14

the one about scotch tape and camping/glamping or which other ones?


#15

The two most recent ones.


#16

Sorry @glam_unicorn , I’m going to flag you for being off topic…


#17

Tapped 1 and 2 are unnecessary.


I think I fixed the first and second potato.


#18

Instead of tagging OMTL or POTML, use CodeHelp.


#19

Did that help, @HopscotchRemixer?


#20

Thank you so much @sophia71205 I will give credit in the next version of the game!


#21

Wait, I actually helped? That’s new. You’re welcome.


#22

@sophia71205 @HopscotchRemixer there is a simpler way were you only need the potato count variable.
https://c.gethopscotch.com/p/yvlzi696i