So I was thinking about how people make really cool RPGs and other games on Scratch that can easily become 100% better if more then one person can play. So I started working down the idea and I guess I can say it is done. Hope you like it .
Entering a Server:
First off, there will be a new section, Online. So first you would click on the online tab and find the block, Server can hold [blank] number of people. You would basicly use it as you would in any script. You would make, When Green Flag is Pressed, Forever, Server can hold [blank] number of people. Automaticly, the game will sort you into a random exsiting server or if they're all full, a new one would be made.
Sprites for a Server:
The sprites will be the same but there is something new. Instead of the regular options in the Control section, there will be some new ones. Example, when [space] is pressed by [2nd] player (the second player that entered), do so and so. This can be used for amazing uses. Maybe even a Scratch Cup 2010 .
Exiting a Server:
Once you exit the game either by closing the window or so on, that game will sort you out of the server creating an empty spot. Here's something to keep in mind, take for an example, 3rd player exits, does 4th player and so one go down 1 number? No. The game will continue as regular and the game tells you what player you are when you enter anyways so it doesn't matter if you become the new 3rd player but yet confused that you're not 6th.
Things need from the players:
When a player exits, the owner of the game is going to have to script what happens to the sprite. My suggestion is to make a new block, when player exits, then the owner can script from there making an incredible game.
Potential Lag?:
There won't be much lag besides the loading at first because it has to load all the servers deciding. It shouldn't take too long though because the game is only doing a scan over the servers to see which is empty. Besides that, it wouldn't be any lag.
Toggling Servers:
But what if your game isn't based on servers? Will as long as there are no Online Blocks in the scripts, then there you go, no servers!
Thanks for reading my idea, once again, hope you like it .
Offline
Well, you can program stuff like this using Mesh, or BYOB... (look for BYOB 3 - Discussion Thread in All About Scratch). BUt you need something like Hamachi (look for it on google) to connect to computers outside your network, Scratch itself can't do that.
Last edited by The-Whiz (2010-06-28 21:53:59)
Offline
That would be SO cool! it could help me and werdna123 With a project we're making! you could do something like this!<when green flag clicked> <set{ multiplayer }to( on
Offline
@The-Whiz, true, Scratch can't handle everything...
@superpikachu, thanks for supporting.
Offline
For 2.0, all the projects will be on the same server, according to Andres.
Offline
superpikachu wrote:
That would be SO cool! it could help me and werdna123 With a project we're making! you could do something like this!<when green flag clicked> <set{ multiplayer }to( on
same here dude i found this online super mario 64 game and that was 2player and you had to use ONE pc to even have a multiplayer game!
Offline
See, this has been suggested over and over again... About 1/16th of the suggestions are probably about online capabilities.
One of the main reasons, aside from the minimal power of the Scratch application and servers, is that it's just too hard to understand... Once, I tried teaching my mother about the mechanics of the Web... The technical stuff, you know? She didn't understand it at all. And if a 50-year-old woman can't understand it, how do you expect a 10-year-old with very minimal programming experience to do so?
Now, if the Scratch team somehow manages to make it really simple to understand, then I definitely support
Offline
coolstuff wrote:
See, this has been suggested over and over again... About 1/16th of the suggestions are probably about online capabilities.
One of the main reasons, aside from the minimal power of the Scratch application and servers, is that it's just too hard to understand... Once, I tried teaching my mother about the mechanics of the Web... The technical stuff, you know? She didn't understand it at all. And if a 50-year-old woman can't understand it, how do you expect a 10-year-old with very minimal programming experience to do so?
Now, if the Scratch team somehow manages to make it really simple to understand, then I definitely support
first off my mom is 40 and she knows about this stuff angry
and second i have alot of skills with programing!
Offline