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

Report as inappropriate.

qnanqing presents ...



this is the network game i've made!

this is the client, and it connected to server in my computer.

My IP address is in the code.

There is still many problem in this scenario. I asking to check it using greenfoot what is wrong.

the problem is:
the game is somewhat stop after sending its first datagram to the server (my server) (my friends used the jar files, so maybe it throws an exception)

after you press run, press any arrow key to show the rocket.

the client socket clings on port 9320, so you might have to open that port.
I think the game will not work on applet :D, open it with greenfoot

aah and the scenario using the stopped() method to close the DatagramSocket
so you must close it using pause not the reset button

3912 views / 382 in the last 7 days

Tags: space game shooter with-source online network

open in greenfoot
Your browser does not support the canvas tag.


someone is connecting!

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

Who likes this?

No votes yet.