This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-12-28 09:32:39

jbthegreat
Scratcher
Registered: 2009-01-18
Posts: 64

Game Server

Well I made a Game Server to allow users to save my game using Mesh but I am posting this here for anyone who wants to use it.

View it Here

This is for people who don't know what Mesh means:http://scratch.mit.edu/forums/viewtopic.php?id=32046

It was made to save two variables in the game:239rjhe and Stars into the variables Sav_239rjhe and Sav_Stars but you can edit it to work with any games variables.

This is what the Broadcasts do:

ICG_MeshReady?:The game asking the server if the server is ready
Mesh_MeshReady:The server telling the game that it is ready
ICG_SaveGameMesh:The game telling the server to save the game
Mesh_GameSaved:The server telling the game that it has been saved

To load the values, I had the game read the Sav_239rjhe and the Sav_Stars sensor values.

Last edited by jbthegreat (2010-12-28 10:00:22)


http://i53.tinypic.com/2f04pdf.jpghttp://i52.tinypic.com/x2rrdu.jpg

Offline

 

Board footer