How to make a auto clicker 2.0
the last tutorial i made wasn't that good at explaining, so this is the real tutorial.
so using html, we make a button onclick
in the(click to buy auto clicker!)is the text that show up on the button and the autoClicker(); is a var.
now moving on to java script
so first you need to make a var for auto clicker which is autoBuyable, like the one in the pic.
then you make function auto clicker
as you see in the pic you then write if (money >= 5000)which is the price of the auto clicker(you can modify it yourself) then you do autoBuyable. then you make it true which is something i am going to explain later, so you make it true. then if you want to add a pic, do document.getElementById('autoImg')auto img is the var i made for my code of course you can change any var if you want.
PLEASE UPVOTE THIS TUTORIAL IF IT HELPS
PS PLEASE CHECK THE CODE I MADE WHICH IS A MONEY CLICKER GAME AND ALL OF THIS IS IN HTML AND JAVA SCRIPT NO CSS
sorry if the photos are bad
try using markdown...itll really help this tutorial!
thanks i will [email protected]
Ok @RyanCheung1