You can't pass anything between Scratch and PHP, but you can embed them. On the page for the project you want to embed, click "embed" on the right side of the screen, and then highlight the text under the "As an applet" label.
Offline
thanks very much for your help does that mean the game will be embedded as a java applet (or does applet not necessarily mean java .....sorry kind of new to this)
in which case it might it be possible in theory to pass parameters through the Java Facebook API things like score, name etc?
Offline
jude01 wrote:
thanks very much for your help does that mean the game will be embedded as a java applet (or does applet not necessarily mean java .....sorry kind of new to this)
in which case it might it be possible in theory to pass parameters through the Java Facebook API things like score, name etc?
I think the Java Player just reads the Scratch Project and plays it in a Java environment, so I don't think that the variables in the Scratch project (e.g. score, lives) would be converted to variables in the Java applet, so I think that it would not be possible to use them in the Java Facebook API. What were you planning on doing, making a highscore board?
Offline