I wanna build a web game like: cookie clicker. But I just learned basic Html/Css. What am I need to learn?
For further actions, you may consider blocking this person and/or reporting abuse
I wanna build a web game like: cookie clicker. But I just learned basic Html/Css. What am I need to learn?
For further actions, you may consider blocking this person and/or reporting abuse
Paul -
Paul -
WEBDEVTALES -
Eleftheria Batsou -
Top comments (4)
JavaScript.
1 line cookie clicker:
Probably Javascript. I had a class that did some small games using JavaScript and P5 that culminated in an underwhelming pinball game. Alternatively if you want to start with a ready made engine Godot is fun to work with, too. If it's a simple clicker game though, I think something more lightweight like js would be easier to work with, as you can focus on the language and not get caught up in the editor. P5 has a live editor as well, which is great for toying around with new ideas.
You need to learn a bit of javascript, especially tracking the mouse click events and incremental functions for scoring and rewards. I made a project cpstest.pro that simply counts clicks and calculates click speed. You can go there and view source code to understand the working. I hope it'll help you with your cookie clicker.
Two way to do something like this: