This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

ELInquisator
ELInquisator presents ...

2017/6/19

RealtimeConnection

This is the proof of concept for a server client connection.
I apologize in advance for the program being german. Start it twice (once per computer or two on one) and press play on each one. Now just click on the animal in the center and choose server first at one of them and for the other one client. Note that as client you will get asked for your servers ip-adress. If you are running both on one device you will have to insert localhost there. Now the server can steer the animal wich the arrow keys and the client should imidiately see the movement.

I have used that concept on a chess game which I will put online if somebody requests it.

Have a nice day.

(the URL is a link to my german class project about the book called emilia galotti)

1119 views / 424 in the last 7 days

Tags: with-source

open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

No Comments

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.