This event/competition/challenge is started by me (@KingGuin87) and all the currencies, rewards, and prizes are handled by me, not Hopscotch. You can find other similar self-started events in Competitions & Events, or even start one yourself. Because this is started by me, Hopscotch and the forum leaders are not involved or responsible in any of the transactions here.
Welcome to the single object contest!
In this contest you try to create a game by using only one object!
Of course you are allowed to use clones, but you do have to use only 1 object.
I don’t know why, but I always create an entire menu (level selection, shop, credits, etc.) by only using one object and lots of clones lol.
The rules are pretty simple, but if you have questions please ask me!
Okay so well you see…
It’s kind of embarrassing, but I have like…no idea how variables work…
They’re the very thing that can get a game running, right?
I still need to learn, and I will learn!
Here’s how to get a simple tapper up and running:
Create a variable.
Create an object.
Add an “If object is tapped” event.
Scroll to the variables section in blocks.
Add an “Increase variable” block.
Change its parameter to “1”.
Create a blank text object.
Add an “If game is playing” event.
Add a “Set text” block.
Set the text to your variable!
Okay thank you, but
Even if I know what to do, I don’t know how it works
That’s what I have to learn
If I don’t know how in the world it works, I’m not gonna be able to to use variables in other future events, because I won’t know what to do
But thanks anyways!
Alright, here’s a rundown of what a variable is.
A variable is something that stores a value.
Say, if you set a variable to “lemons”, then you set an object’s text to that variable, it will display “lemons”.
This works for numbers too! For example, the former clicker game!
You can also increase variables using other variables!
For example, you can set var “1” to var “2”. Therefore, the two variables will be the same.
That’s where the name comes from: “variable”. They can be changed, they’re changeable.
Here are a few things you can do with variables.
You can store a certain score
You can store a price
You can store a value
You can increase it for every character processed in a strand of text if you’re making a typewriter
You can check for a certain number of total clones
You can search for a certain clone (using clone index, which displays which clone number an object is. For example, clone index 0 is the original object and clone index 17 is the 17th created clone. Destroying a clone will not reduce the clone index of the next clone created.