Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 23 of 23

Threaded View

  1. #1
    Member
    Join Date
    Mar 2013
    Posts
    31
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Java<<Coordinates, Timer and Velocity send through DataOutputStream/DataInputStream help?

    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 space ships.......so i want to take this game to another level by create a network support for it Server/Client......i want to create Server to host two Clients and then from the Client send Coordinates, Timer and Velocity state to the server and then from the server to the other client.......i read some articles that this can be done using DataOutputStream/DataInputStream......but i don't know to implement it.....i really need some help with this.....any kind of help would be greatly appreciated.................

  2. The Following User Says Thank You to MdeeY For This Useful Post:

    gloria10 (May 23rd, 2013)


Similar Threads

  1. Reading the data from DataInputStream . help :(
    By cuihanluan in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 7th, 2012, 07:54 AM
  2. Java Coordinates
    By qspec in forum Java Theory & Questions
    Replies: 1
    Last Post: September 13th, 2012, 10:15 PM
  3. Java graphic coordinates out of bounds?
    By jnmcneel in forum What's Wrong With My Code?
    Replies: 4
    Last Post: May 24th, 2011, 03:28 PM
  4. Error by Using DataInputStream
    By pokuri in forum Collections and Generics
    Replies: 2
    Last Post: January 13th, 2011, 12:03 PM
  5. help with dataoutputstream
    By cool mr croc in forum What's Wrong With My Code?
    Replies: 0
    Last Post: January 9th, 2011, 06:57 AM