Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (565)
Games in Android Showcase (151)
games submitted by our members
Games in WIP (606)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Networking & Multiplayer / Re: LibGDX - TCP for all platforms on: 2013-07-29 20:12:15
It has to do with the emulator itself. I learned this after spending two hours doing trial and error on a rcon client for android just to find the emulator caused it. Glad to here it works. Good luck on your game!
2  Game Development / Networking & Multiplayer / Re: LibGDX - TCP for all platforms on: 2013-07-29 20:06:27
Is the server running on the computer you are running the emulator from? If it is try using the computers internal ip address (ex: 192.168.1.x) instead of localhost
3  Game Development / Networking & Multiplayer / Re: LibGDX - TCP for all platforms on: 2013-07-29 19:52:16
Can you try to post the stacktrace from LogCat here, I can't do much without it.
4  Game Development / Networking & Multiplayer / Re: LibGDX - TCP for all platforms on: 2013-07-29 18:14:07
About the android app crash try adding this to the Android app's manifest file:
<uses-permission android:name="android.permission.INTERNET" />

I am also developing a game in LibGDX. Since I want to maintain full cross-platform I use this to create a socket:
Socket socket =, hostname, port, SocketHints hint)

The socket is
The hostname is a string
The port is an integer
The SocketHints are custom options for the socket, set it to null to use the system's defaults

The socket has a getInputStream() and getOutputStream() methods which give you a and

Hope this helps!
5  Game Development / Newbie & Debugging Questions / [JAVA] [LWJGL] [OPENGL] Fatal Exception Occurs on startup. on: 2012-01-20 02:46:03
Stack: [0x00000000022a0000,0x00000000023a0000],  sp=0x000000000239f180,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ig4icd64.dll+0x3ee1f]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.WindowsContextImplementation.nMakeCurrent(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V+0
j  org.lwjgl.opengl.WindowsContextImplementation.makeCurrent(Lorg/lwjgl/opengl/PeerInfo;Ljava/nio/ByteBuffer;)V+7
j  org.lwjgl.opengl.ContextGL.makeCurrent()V+46
j  org.lwjgl.opengl.DrawableGL.makeCurrent()V+14
j  org.lwjgl.opengl.Display.makeCurrent()V+3
j  org.lwjgl.opengl.Display.makeCurrentAndSetSwapInterval()V+0
j  org.lwjgl.opengl.Display.setDisplayMode(Lorg/lwjgl/opengl/DisplayMode;)V+70
j  org.lwjgl.util.Display.setDisplayMode([Lorg/lwjgl/opengl/DisplayMode;[Ljava/lang/String;)Lorg/lwjgl/opengl/DisplayMode;+120
j  com.jca2323.BlockWarz.GameMenu.setDisplayMode()Z+98
j  com.jca2323.BlockWarz.GameMenu.init()V+1
j  com.jca2323.BlockWarz.Client.BlockWarzGame.init()V+93
j  com.jca2323.BlockWarz.Client.BlockWarzGame.<init>(ZLjava/lang/String;Ljava/lang/String;)V+53
j  com.jca2323.BlockWarz.Main.main([Ljava/lang/String;)V+60
v  ~StubRoutines::call_stub

Pages: [1]
ags1 (13 views)
2015-03-31 10:55:12

theagentd (13 views)
2015-03-27 23:08:20

wxwsk8er (54 views)
2015-03-20 15:39:46

Fairy Tailz (47 views)
2015-03-15 21:52:20

Olo (29 views)
2015-03-13 17:51:59

Olo (32 views)
2015-03-13 17:50:51

Olo (39 views)
2015-03-13 17:50:16

Olo (44 views)
2015-03-13 17:47:07

ClaasJG (58 views)
2015-03-10 11:36:42

ClaasJG (42 views)
2015-03-10 11:33:01
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27 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!