man.....i have tried my best to understand that...but i couldn't.....and time is against me....this assignment is due to be submitted next week and this is my final year..i have a lot of work to do...
Type: Posts; User: MdeeY
man.....i have tried my best to understand that...but i couldn't.....and time is against me....this assignment is due to be submitted next week and this is my final year..i have a lot of work to do...
i don't know how to do it......can u do it for me please!!!!!!! u have a better knowledge of Java
this is my Game code https://www.dropbox.com/sh/329uiet38jv529r/Uxo0e07Ygf
thanks man! :)
yeah someone gave me this code on Dream.in.code website....he said this would be easier and he think is similar to what my game needs.........https://www.dropbox.com/sh/j6seqhl3l4l30vh/wFrgXXnd1y
ok....i'll share some Client server code with u.......them u tell me which one u think i should use ok?
--- Update ---
https://www.dropbox.com/s/8rpkav84h5rh809/Client.java...
mean Multi-threaded Server?
import java.io.*;
import java.net.*;
public class TCPClient {
public static void main(String argv[]) throws Exception {
String sentence;
String modifiedSentence;
...
yes i have........
i already have a Server/ Client application lots of them........even GUI but i don't know how to modify the code to word with the server/client..........i can show u the server/client code if u want ?
Yes....i think so :)
i want them to communicate using TCP/IP........i want Client one to control Blue Space ship and Client two to control Red Space ship....so i want Client one to send the spaceship state( integer...
i wrote Space ship multi-player game in java.... in which player one controls his space ship using W,A,S,D and player two I,J,K,L....and i use timer and velocity to control the animation of the two...
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...
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...
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 :)