Global Variables?

ideas
#1

##Hi! This is a suggestion about a new feature for Hopscotch :D

Global variables would be variables that, if changed on one device, changes on all other devices currently playing the project. This would allow global leaderboards and even online games.

I’ve been wanting global variables/values to be added for a pretty long time, and here i’ll list some stuff i’ve been thinking about them.

First, I think they should be for subscribers only. I know it might be unfair but I think this would be better, since otherwise people might spam projects with global variables, not really knowing what they do. That might take up too much space in the servers. Adding this as a subscriber thing will hopefully also make more people get the subscription (_hint hint_ and allow for a cheaper price).

I also think these values should be limited to 1 per project. This would also be to not overload the servers, but you could make a “self” variable a global variable.

To make a global variable you would have, when pressing on a normal variable, an option below “Change Name”. It would say something like “Make Global”, and you should also be able to undo this.

What do you think?

  • I think this should be added
  • I’m not sure…
  • I don’t think this should be added
  • I have different ideas on how it should work (which?)

0 voters

I’d be glad if this was added, and it would probably be worth buying the subscription then, too :D

Official Mass Tag List

List (112 tags)
@BB-Box
@Allyb
@Artistic_cat
@ArtyAnimal
@AvocadoDont
@AwesomeNachos
@Awesome_giraffe
@BaconStudios
@BerryFOX
@BlastFusion
@BubblegumCupcakeMix
@ButterBark
@celine
@ChocolateFox
@CodePerfect
@codingkit
@ColourfulBlack
@ConnellCoder
@CreationsOfaNoob
@cupcakemaniac1
@Cutedolphin
@DatKawaiiPillow
@danaball20
@DECODECO
@DiamondDragon
@diss_track_queen
@DMF
@DragonMc
@Dylan329
@EmojiArts
@EmojisRUs
@Explorer_
@ExquisiteSoup
@FascinatingTreehouse
@FluffyMarshmellow
@FoodDelivery
@FreshGuppy
@FunkyGoldfish
@GiraffeProductions
@GLaDOS_On_Da_Forum
@Goobrgrlrye
@gryphonroadblocks
@happy12345678910
@HappyPerson
@Himynameismeredith1
@Houseelf87
@HRR1213
@IKeudin
@ILoveFashion12
@Jess888
@Jojo
@JonnyGamer
@KawaiiHotDog
@kenlauescuadro
@KoolM123
@Kosho
@kubajr
@KVJ
@LavenderArts
@LegendOfFriday
@Mei-The-Riolu
@MiNi
@Mothwolf
@Mr.rex
@Murphy1
@NeoPixel
@Petrichor
@Paige1212
@Paydent12
@PerfectPanda24
@PianoGorilla2006
@PIANOMAN
@Pink_Roses
@Periwinkle_Dolphin
@Potter_Head
@PumpkinGirl
@Puppylulu
@PurpleStorybook
@Rainboom
@Rider
@RubyStars
@RubyWolf1
@ScarySweetheart
@Sensei_Coder
@shamrockcat
@Silverdolphin
@Skyarmygenral
@SnowGirl_Studios
@sophia71205
@StarKid
@StarryDream
@Steelhooves
@StRiKe_Charler123
@Strongerthanyou
@Sugarisyummy
@Sweater
@TACOCODE
@treefrogstudios
@TrevCoding
@UnderagedCoder1
@Valgo
@ValueGamesStudio
@Vortex.inc
@waddlemarco
@WasIdealessHere
@WhiteFeathers
@William04GamerA
@Work_kids_coding
@Yellow_Mellow
@YuxinaYammy
@Zachyswag
@blog
Get the latest list here: "Official" Mass Tag List (OMTL)

36 Likes
#2

This is a very good idea

4 Likes
#3

Thanks!

3 Likes
#4

Sounds cool! I would like that

5 Likes
#5

This is an...amazing idea! It will change Hopscotch so much if it will be added! If they added it, you could make so many cool things! And, if THT decided to add multiplayer too (which is a suggestion that I have seen here on the forum), you could make multiplayer games with leaderboards (like soccer games, competitions live, tapper games and so much more).
@CreationsOfaNoob, this is one of the best ideas I have seen!

5 Likes
#6

Thanks! As I said, i've wanted it for quite a while.
If it gets added, i'm gonna make a multiplayer racing game :D

5 Likes
#7

That sounds cool!
You could also make your car simulator into a live game :slight_smile:
Diving simulator could be it too (both for competing and spectating)
Or make anything else into a live game. You have much games that could be turned into live versions (and other projects that could be it too).
Imagine if you could draw live...

5 Likes
#8

Yeah, that's some ideas.
I've been thinking about that game where you draw one part of a human, then your friend does another, then you next and so on. That might be hard though.

5 Likes
#9

I think 1 global variable is too little per project. Maybe somewhere between 10 and 20 per project? If you're clever about how you do things, you could make good use out of those.

Also, how would "self global variables" work? Not sure about that one...

5 Likes
#10

Great topic, Coan!!!

1 Like
#11

Wow! My friend was talking about this same exact idea a while ago!

3 Likes
#12

Yeah, I was mostly thinking that to make it hopefully more probable for them to add it.
Have you used global variables in Scratch?

2 Likes
#13

That sounds really cool and fun! Reminds me of when I heard a random idea in general from a talk which mentioned some kids making a site (for fun :slight_smile:) where people can add one word at a time/vote on one at a time to create a story (as you can imagine, it sounds like it gets crazy pretty quickly :laughing:)

Awesome proposal!

3 Likes
#14

Yeah, that game's fun!

2 Likes
#15

Yes I want this

2 Likes
#16

What would you do for kind of games or projects?
:D

3 Likes
#17

Voting games or online games :D

3 Likes
#18

I have used them in scratch before, but not too much.

2 Likes
#19

Like cloud variables in scratch? we need those...

2 Likes