Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (799)
Games in Android Showcase (235)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 [2] 3 4 ... 10
 on: 2019-11-14 12:07:06 
Started by SkyAphid - Last post by princec
Can some kind soul enlighten me as to what these libraries do that you can't very easily be doing yourself but with less surprise and more control?

Cas Smiley

 on: 2019-11-14 10:49:33 
Started by FabulousFellini - Last post by CommanderKeith
Thank you Jon, that's interesting and I wasn't aware of that problem.

 on: 2019-11-14 10:28:47 
Started by SkyAphid - Last post by ral0r2
I'm by no far a network specialist and I think it someone depends on your requirements but for myself I found kryonet pretty good and straightforward.

The points you mentioned are somewhat true though I was also struggling with finding good maintained documentations.
But with the stuff you can find online you can go pretty far I think.

KryoNet also lists some alternatives as well. I`ve never heard about one of them though..


The project is similar to KryoNet. MINA's API is lower level and a great deal more complicated. Even the simplest client/server will require a lot more code to be written. MINA also is not integrated with a robust serialization framework and doesn't intrinsically support RMI.

The project is a minimal layer over NIO. It provides TCP networking similar to KryoNet, but without the higher level features. Priobit requires all network communication to occur on a single thread.

The project is a higher level library similar to KryoNet. JGN does not have as simple of an API.


 on: 2019-11-14 09:03:44 
Started by SkyAphid - Last post by VaTTeRGeR
Project Zomboid switched over to some Java-binding of RakNet, JRakNet looks pretty usable. Otherwise i would roll my own networking module with some threading and non-blocking ringbuffers (LMAX disruptor type).

 on: 2019-11-14 08:16:24 
Started by ForTheKillz - Last post by ForTheKillz
It works, thanks!!

 on: 2019-11-14 03:57:55 
Started by SkyAphid - Last post by SkyAphid
Hey guys.

So on the weekends I'm playing around with learning some networking. I've learned some basic networking with Java sockets and want to try to go a bit further down the road and make a simple little game. I'm wanting to essentially remake the first game I ever made in Java into a basic little multiplayer test (it was essentially a Megaman Battle Network game, specifically centered on the combat).

I've done my research and it seems that Netty is the most up to date and functioning API for Java for networking. That said, it's meant for very broad usage and I can't find any good examples of making a game client/server with it. I was wondering if anyone could direct me to some simple resources that makes some sort of Hello World for it that sustains a game loop? I'm looking to use TCP/IP for simplicity.

I looked at KyroNet, but it seems like it's being very poorly maintained and doesn't seem to be too well documented (I may be wrong here, this was just my impression when going through the git page). With Netty, I understand that it can be very complex, but if I have access to some examples of usage, I can probably make my own open source wrapper for it that simplifies it.

Lastly, if there's an even better and more up to date networking API out there, feel free to link it.

What I'm looking for essentially is something:
  • Fast and easy to setup (I'm limited on time for this project and can't spend a lot of time trying to decipher and bugfix other people's old code)
  • Decent documentation and examples that work out of the box

So far Java sockets have ironically been the easiest to use because there's a plethora of articles on it out there, but I really want to find something that's built with simplicity in mind so I don't have to spend a lot of time on architecture and can just focus on messing around and having fun.

EDIT: Messed around with KyroNet a bit and it seems it might be viable, but additional resources are still appreciated.

 on: 2019-11-14 00:54:28 
Started by FabulousFellini - Last post by jonjava

If you have any kind of traffic to what you're hosting you also won't be able to do it under normal circumstances. ISP's usually prohibit or at the very least throttle that kind of behavior (hosting) under normal user-land circumstances.

 on: 2019-11-13 23:40:04 
Started by FabulousFellini - Last post by CommanderKeith
Hi Goussej,
It's a nice guide, thanks for making it.
Just one thing I was wondering: where I live, almost all internet service providers (ISP's) give their customers dynamic IP addresses, not static addresses, which means it's impossible to connect your personal computer server in your home to your global web address since the IP address of your internet connection is always changing. Choosing a static IP address is usually quite expensive, certainly more than using a cheap VPN like RamNode or Linode.
How do you get around that or is it standard in France to get a static IP address so the problem doesn't exist?

 on: 2019-11-13 15:53:30 
Started by FabulousFellini - Last post by SugarBlood

It does not work and renders black
f**king f**k
f**kity f**king f**ky f**k
Why does it not work?

 Grin Grin

I guess that poem is doing what is poetry for

 on: 2019-11-13 14:41:54 
Started by ForTheKillz - Last post by KaiHH
So i replaced
GL32.glFramebufferTexture(GL30.GL_FRAMEBUFFER, GL30.GL_DEPTH_ATTACHMENT, texture, 0);
GL30.glFramebufferTexture2D(GL30.GL_FRAMEBUFFER, GL30.GL_COLOR_ATTACHMENT0, GL11.GL_TEXTURE_2D, texture, 0);
Is this correct?
No. Obviously, in the first call you were attaching a texture to the depth attachment of your FBO, whereas in the second call you are now using the color attachment 0. Those are two different things. You probably meant to use GL_DEPTH_ATTACHMENT in the second call as well.

glVertexAttribDivisor is only available since OpenGL 3.3. If you want to use OpenGL 3.1, then you can only rely on the extension GL_ARB_instanced_arrays being available. So test for this extension in the GLCapabilities object and if it is true/available, use it via ARBInstancedArrays.glVertexAttribDivisorARB().

Pages: 1 [2] 3 4 ... 10
Riven (136 views)
2019-09-04 15:33:17

hadezbladez (4638 views)
2018-11-16 13:46:03

hadezbladez (1691 views)
2018-11-16 13:41:33

hadezbladez (4860 views)
2018-11-16 13:35:35

hadezbladez (978 views)
2018-11-16 13:32:03

EgonOlsen (4275 views)
2018-06-10 19:43:48

EgonOlsen (5069 views)
2018-06-10 19:43:44

EgonOlsen (2895 views)
2018-06-10 19:43:20

DesertCoockie (3816 views)
2018-05-13 18:23:11

nelsongames (4167 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45 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‑
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!