Post new topic    
Liquid Metal Slime
Send private message
Will it be possible to make a highscore table in the future? 
 PostMon Jul 15, 2019 3:56 pm
Send private message Reply with quote
After reading through here ( https://rpg.hamsterrepublic.com/ohrrpgce/How_do_I_make_a_multiplayer_game%3F ) I had noticed that it mentions that keeping track of a highscore table might be possible in the future. I was thinking about this for a future idea for an endless-runner type game similar to flappy bird in which the game continues until you fail. It's not a necessary thing to have a global highscore table but would be cool.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
⍠ C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Metal Slime
Send private message
 
 PostMon Jul 15, 2019 6:48 pm
Send private message Reply with quote
That should already be possible with import/export globals. You could have a designated save slot for high scores and other persistent metadata like unlocks, and just export the globals to it. Then for your startup script, import globals from that file.

For high scores, you could just have a bunch of globals like "highscore1st" "highscore2nd" etc. and give them numbers. Doing strings for things like high score initials is also possible, but a bit awkward. You essentially turn a string into a range of globals, with each global holding the ASCII value of each character of the string in order. Got it working with a game I was working on a couple of years ago so if you need help with it I'll see what I can do.
Liquid Metal Slime
Send private message
 
 PostMon Jul 15, 2019 10:07 pm
Send private message Reply with quote
Foxley wrote:
That should already be possible with import/export globals. You could have a designated save slot for high scores and other persistent metadata like unlocks, and just export the globals to it. Then for your startup script, import globals from that file.

For high scores, you could just have a bunch of globals like "highscore1st" "highscore2nd" etc. and give them numbers. Doing strings for things like high score initials is also possible, but a bit awkward. You essentially turn a string into a range of globals, with each global holding the ASCII value of each character of the string in order. Got it working with a game I was working on a couple of years ago so if you need help with it I'll see what I can do.


Oh maybe wasn't clear enough, I mean global highscores as in the world. The thing I linked says it might be possible to do this in the future. I was thinking I'd love to do a highscore-type game if the scores would be submitted to a world-wide ranking.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
⍠ C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Metal Slime
Send private message
 
 PostMon Jul 15, 2019 10:09 pm
Send private message Reply with quote
Oops. Yeah, netcode isn't a thing yet, only James or TMC would know the status of it.
Liquid Metal King Slime
Send private message
 
 PostMon Jul 15, 2019 10:16 pm
Send private message Reply with quote
The main thing holding us back from this feature is that plotscripting does not support data structures yet

When it does, then the ability to make a REST call, get back json, and convert it into an object will be a more reasonable feature to add.
Liquid Metal Slime
Send private message
 
 PostTue Jul 16, 2019 4:14 pm
Send private message Reply with quote
Bob the Hamster wrote:
When it does, then the ability to make a REST call, get back json, and convert it into an object will be a more reasonable feature to add.



That's awesome! Thanks.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
⍠ C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Liquid Metal King Slime
Send private message
 
 PostTue Jul 16, 2019 8:29 pm
Send private message Reply with quote
next stop, turn based online multiplayer games!!
Liquid Metal Slime
Send private message
 
 PostTue Jul 16, 2019 9:24 pm
Send private message Reply with quote
Spoonweaver wrote:
next stop, turn based online multiplayer games!!


That’d be really dope, any sort of multiplayer online game whether turn based or real-time would be great。 I imagine real-time would be beyond the scope of the engine but even then I’d love to just see some simple data sharing.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
⍠ C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Metal King Slime
Send private message
 
 PostSat Jul 20, 2019 5:55 pm
Send private message Reply with quote
NotSpyware.RPG would like to know your location and access your cookies
Liquid Metal King Slime
Send private message
 
 PostSat Jul 20, 2019 6:42 pm
Send private message Reply with quote
SecurityHelp.RPG has detected 576 virus in your system.
Please send $100 in Cryptocurrency to BXSHSADSLH123JD
Once sent, the viruses will be removed.
Liquid Metal Slime
Send private message
 
 PostSat Jul 20, 2019 6:46 pm
Send private message Reply with quote
Gizmog wrote:
NotSpyware.RPG would like to know your location and access your cookies


...maybe ;)

If someone made a creepy game where the game mentioned your location that’d be potentially terrifying.

All to often when I download apps they ask to have access to my location when the app has no functionality requiring it.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
⍠ C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Liquid Metal King Slime
Send private message
 
 PostSat Jul 20, 2019 7:17 pm
Send private message Reply with quote
sheamkennedy wrote:

All to often when I download apps they ask to have access to my location when the app has no functionality requiring it.


Not that they tell you about anyways
Liquid Metal King Slime
Send private message
 
 PostSat Jul 20, 2019 7:50 pm
Send private message Reply with quote
Hmmm... would network access alone be enough to detect someone's location without actually connecting to a local GPS device? (which we have no plans to support)

I am going to say yes, sort of.

There are plenty of IP geolocation services that can guess your approximate location from your IP address, and I am sure there are some such services out there that are compatible with the type of simple REST/RPC support I envision implementing someday.

But it would rarely be able to get your location more accurately than what city you are in, and it would be easily fooled by countermeasures like VPN.
Metal King Slime
Send private message
 
 PostSun Jul 21, 2019 7:57 pm
Send private message Reply with quote
If I can find out what city, I can make "100 Hot Singles in your area! Check it out, Rhode Island, CT!" pop up ads. And sell pop up blockers! And shill NordVPN in my game!
Liquid Metal King Slime
Send private message
 
 PostSun Jul 21, 2019 10:30 pm
Send private message Reply with quote
Anything to get you out of retirement ;)
Display posts from previous: