#How to make a likes variable, every time anybody presses it goes up by 1?
1 messages · Page 1 of 1 (latest)
Create a global variable named likes (with the numbers type)
Make a like button and give it the tappable component
And make a script for the button
When tapped
Set (likes) +1
And make a text where you wanna display it
And give it the when generating objwct component
And add this script
Infinite loop
Set (text)=text = (likes)
And here you go
I know but I want to make it that when other players, like in different servers, when they press it everybody can see it increase
Idk how to explain
But basically it changes everytime somebody presses it even in different servers
Np
You need this?
hmm ok
Yea I think something similar to this but which one would it be
its system menu
maybe get score
I’ll try
you need to create ranking with a score
and then take score in singlplayer game
i didnt know you can take values from ranking lol, just found it today
this is the coolest feature in je
Thanks for the idea
👍
I tried but unfortunately I can’t get the total of all scores uploaded to the leaderboard
I checked, and its impossible to take this information from ranking, you right
Try to search in 4x editor version
save a player variable in the cloud and then make a button increase it by tapping it
how to make it that it goes up when other people press it too
how tho
extracting scores and uploading them
yea I tried but
I want it to show the amount of likes so how do I do that
place a text in the map and then add this script:
when obj. is created
inf. loop
set (self) text = variable
ok
Sike
I already said its not possible
I remember u donated me 2500 gcoins
what's ur user?
Patrick Bateman