that's what i don't knw brother......what kind of message to be sent and what respond ? u can take a look at my Assignment question all these are there maybe u can understand...
Type: Posts; User: MdeeY
that's what i don't knw brother......what kind of message to be sent and what respond ? u can take a look at my Assignment question all these are there maybe u can understand...
i know what i want the program to do........one server two clients....the server does nothing but host the two clients receive their coordinates x and y, velocity and Timer then then broadcast to...
if u r not busy how about u do it for me please? i knw is something that u can do blind folded but is taking forever to do it.....cos i lack java knowledge..........i beg u dude
i have uploaded a video of my program.....can u please take a look at it for me ? Need help adding client/server app thread and serializable - YouTube
these are the two codes i want them to be serialized between the two clients through the server
int cordinate_x = x;
int cordinate_y = y;
int cordinate_x0 = x0;
...
The Server should be able to send ( co-ordinates, space ship crash and exit communications; concurrent controls)
--- Update ---
which i believe they are all integers.....
is not only X and Y........the space ship (player 1 ) is driven with W,A,S,D keys W to accelerate......A to turn left......S to decelerate....and D to turn right............so the objective now is...
Firstly I know coordinates is probably the wrong terminology? I'd assume i'd simply be passing the x and y variables, but coordinates describe it better I feel.
Now I need to have a Server which...
ok.....i get it......
public void keyPressed(KeyEvent e)
{
}
please point me to the right direction.....give me some guides or examples
what kind of drivers Norm? i normally run the client/server program from Command prompt in Windows......run the server first then client.....and then they both send/receive message vice...
yes......code #9 is the client/server program i coded.....so i need u to help me to make the #9 work with #7 two clients should be able to control their space ship over a network in realtime while...
ok.....i edited it :)
import java.io.*;
import java.net.*;
class TCPserver
{
public static void main(String args[]) throws Exception
{
String line;
String mySentence;
ServerSocket service = new...
//Import PACKAGES
import java.net.*;
import java.io.*;
import java.util.logging.Logger;
import javax.swing.Timer;
import java.awt.event.*;
import java.awt.*;
import java.util.*;
import...
ok i understand.....what does SSCCE stands for please ?
--- Update ---
I'm new here Norm please help me........the Program is school assessment and is due to be submitted in 1 week...
Yes i have written the program everything is work...i can drive the spaceship on one computer but i haven't implemented the network part.........if u have skype or any other IM we can chat and i will...
Hello Folks,
my name is MdeeY......i am new to this forum i just registered......i really need some help with 2d game TCP multiplayer.....the is about Spaceship Multiplayer i want to use TCP...