Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Where Can i find some good Tutorials on how to...  (Read 1548 times)
0 Members and 1 Guest are viewing this topic.
Offline VIrtueeL
« Posted 2014-05-10 04:39:34 »



i want to have 2 dots on diffrent screen that can see etch other move

and i want to know this as well if anybody can explain to me

what are packets?
where is packet created?
how to i create it?
are Packet implemented in java or is it just the class name to make it easyer to read it?

sry bad eng!

i do devlogs and i do tutorials check em out
https://www.youtube.com/user/InidDevo
Offline quew8

JGO Coder


Medals: 29



« Reply #1 - Posted 2014-05-10 10:44:22 »

Tutorial: http://gafferongames.com/networking-for-game-programmers/
Whole thread full of tutorials: http://www.java-gaming.org/topics/networking-multiplayer/25054/view.html

Try using the search function once in a while.
Offline VIrtueeL
« Reply #2 - Posted 2014-05-13 09:27:05 »

for java not c#/c++

i do devlogs and i do tutorials check em out
https://www.youtube.com/user/InidDevo
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ctomni231

JGO Wizard


Medals: 99
Projects: 1
Exp: 7 years


Not a glitch. Just have a lil' pixelexia...


« Reply #3 - Posted 2014-05-13 09:34:44 »

Packets are usually sent based on IP with TCP and UDP built on top. It isn't a java framework, it is the way networks work. I would research Kyronet because you can choose how to send packets of data. The tutorials given to you are universal, not just for C and C#. It works the same regardless of language.

Offline VIrtueeL
« Reply #4 - Posted 2014-05-13 09:41:40 »

thanks ^^

i do devlogs and i do tutorials check em out
https://www.youtube.com/user/InidDevo
Offline Slyth2727
« Reply #5 - Posted 2014-05-13 12:48:59 »

Don't worry about your English, there's plenty of non-native speakers here Smiley

Packets are bits of data sent through a network using UDP or TCP. In java you can send many primitives through the built in Java sockets, ad I suggest you learn the built in Java methods first though because it's nice to know them. Then check out Kryonet as ctomni suggested.

Those links quew8 gave you are a great resource too.

Edit:
There's a great thread that's pretty much stickied on this board labeled UDP vs. TCP/IP, you should check that out too.

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Pages: [1]
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

radar3301 (11 views)
2014-09-21 23:33:17

BurntPizza (28 views)
2014-09-21 02:42:18

BurntPizza (19 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (27 views)
2014-09-20 20:14:06

BurntPizza (30 views)
2014-09-19 03:14:18

Dwinin (47 views)
2014-09-12 09:08:26

Norakomi (74 views)
2014-09-10 13:57:51

TehJavaDev (102 views)
2014-09-10 06:39:09

Tekkerue (50 views)
2014-09-09 02:24:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!