My HTML,CSS, JS project #2
The code is ugly I know, but Its my second time making something with CSS, HTML, and JS.
Please let me know of any ways to make the code look nicer
The code is long and ugly looking, please let me know how I can fix that.
If you want I will add more buttons
I am open to adding more buttons to make the game last longer
-BobTheTomatoPie
ahh, very interesting. Where can I buy this machine that bakes pies within a second, and can use pies as currency? also why is everyone making clickers?
they are useful for learning html, js, and css
@awesome10
@BobTheTomatoPie oh ok yeah i guess that's true there's buttons and a bunch of js and yeah i get that...
@awesome10 I should also join the trend...
I would love to see a squid clicker @DynamicSquid
And most of all [email protected]
@DynamicSquid oh no but what clicker do I do? :(
I would love to see a squid clicker @DynamicSquid
@BobTheTomatoPie AhAAA! so that's where he got the idea
lol yep i inspired him @firefish
@BobTheTomatoPie If i remember correctly I was making my clicker while he was making his
hmm i remember i made mine at the time when they were popular on repl and then told dynamic squid to make one, you may have just been going along with the trend @firefish
@BobTheTomatoPie I was doing exactly that. Here is the clicker but it's bad so uh yeah
i think ive seen it but ill check it out @firefish
Cool! You should add a big tomato as the background image lol! 🍅
Lol idk how but ill look into it @Bookie0
Thanks!! @Bookie0
Oof i tried it and it looked ugly @Bookie0
Oh ok nvm @BobTheTomatoPie maybe if you find something else =)
NICE!
By the way, I've hacked it. Here is the code for hacking all of it!
Click really fast
By the way, it is suggested that you set speed to .01, cause that is the fastest you can go.
setInterval(b1,<speed>)
Get any amount of pies
pies = <number>
All the other buttons for upgrades
Get lots of Pie Stands, while setting their cost to 1 pie
setInterval(()=>{cos=1;b2();},1)
Get lots of Ovens, while setting their cost to 1 pie
setInterval(()=>{cos1=1;b3();},1)
Get lots of Bakeries, while setting their cost to 1 pie
setInterval(()=>{cos2=1;b4();},1)
Get lots of Viking Oven, while setting their cost to 1 pie
setInterval(()=>{cos3=1;b5();},1)
Get lots of Factory, while setting their cost to 1 pie
setInterval(()=>{cos4=1;b6();},1)
Get lots of Fire Pit, while setting their cost to 1 pie
setInterval(()=>{cos5=1;b7();},1)
Get lots of Commercial Building, while setting their cost to 1 pie
setInterval(()=>{cos6=1;b8();},1)
Get lots of Pie Labratory, while setting their cost to 1 pie
setInterval(()=>{cos7=1;b9();},1)
Get lots of Spaceships, while setting their cost to 1 pie
setInterval(()=>{cos8=1;b10();},1)
Get lots of Tomato Pie God, while setting their cost to 1 pie
setInterval(()=>{cos9=1;b11();},1)
Note: Setting the price to 1 does not make a difference, because you do not pat for the upgrades.
Using all this, i just got to INFINITY.
Consider using a framework for making HTML5 games. I would suggest using either Phaser3 (for making arcade/platformer type games) or using ImpactJS (for those longer top-down kind of games).
okay, thanks for the advice, im more interested in making web pages tho @RayvelArjoon
You have short comments. Add some comments underneath each function that you create so that it's easier to return to later
I WANT MO BUTTONSSS!!!!!!!!!!!!!
adding a save feature would also be cool :)
alright, idk how to save but ill add some more buttons some time @DynamicSquid
@BobTheTomatoPie this game distracts me from actual work
thank you, that was the purpose of it @DynamicSquid
@BobTheTomatoPie I like it!
Thanks!! @DynamicSquid
@BobTheTomatoPie quick question - how'd you display a js variable in html?
invite me to a repl and ill show you @DynamicSquid