Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (136)
games submitted by our members
Games in WIP (594)
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] 2 3 ... 89
1  Discussions / General Discussions / Re: Most graphically polished (HD)3D games developed in Java? on: 2015-01-26 12:45:09
There a quiet a few super nice looking 2d Java games these days but as for 3d, aside from some of the ones mentioned above, two really impressive looking ones are Caromble! and the WIP game We Shall Wake (which is probably the most impressive I've seen).
2  Java Game APIs & Engines / Engines, Libraries and Tools / Re: GLFW 3.1 is out on: 2015-01-20 15:23:30
And, is this going to bring LWJGL out of alpha?
It won't bring LWJGL3 out of alpha but into alpha (its pre-alpha atm) and it'll hit beta once OpenGL ES support and the missing OpenGL extensions are added.
3  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-09 11:15:16
You need to post more of your slick code, not enough to isolate the problem from the above snippet.
4  Discussions / General Discussions / Re: New rules regarding Game Engine topics on: 2015-01-07 14:35:24
The JGO Graveyard might be a nice name Smiley
5  Java Game APIs & Engines / OpenGL Development / Re: glVertex3f doesn't care about z axis??? on: 2015-01-05 00:05:19
I'm well aware that I should be using VBO's.  I just wanted to get an image displayed before I tried anything else...
OpenGL is pretty low level, so it not as straight forward as high level libraries to draw an image.

To draw an image you would normally first need to set up your matrices on how to draw your vertices on the screen which you can pass to a shader, then draw a square (using two triangles, the vertices and texture coordinates of which would be in a VBO). Then you would load your image as an OpenGL texture and pass that to a shader which draws it on the triangles when rendering them.
6  Java Game APIs & Engines / OpenGL Development / Re: glVertex3f doesn't care about z axis??? on: 2015-01-04 23:55:11
try the OpenGL tutorials here, they are easy to read, use GLFW and include source code. Your above snippet of code is using jurassic OpenGL which should be avoided.
7  Game Development / Newbie & Debugging Questions / Re: Using a .tmx file with a lwjgl game on: 2015-01-04 22:27:06
LWJGL doesn't come with support for loading tiled maps (.tmx), but Slick2D does.
8  Discussions / Miscellaneous Topics / Re: OpenGL or DirectX on: 2015-01-04 16:45:40
One thing to keep in mind, DirectX is for Windows only (and other Microsoft platforms).

OpenGL is supported on a lot more platforms (including Windows). The tech landscape has changed a lot in the last few years, so if you intend to also target growing platforms such as Mac, Linux/SteamOS, Mobile/Tablet (e.g iOS, Android), WebGL, etc OpenGL may be the better and future proof choice.
9  Discussions / General Discussions / Re: Most graphically polished (HD)3D games developed in Java? on: 2014-12-30 15:49:25
well apart from that beautiful game made by one of the members here , Hardland .
IIRC Hardland isn't written in Java but a C++ engine and DirectX.

*basically "Make me Unity 4.5 in Java and you'll get a ton of money" snip*
Challenge accepted.
Good luck with that, Unity3d is developed by a company with 500+ employees and been in development for over 10 years to get to version 4.5 Smiley
10  Discussions / General Discussions / Re: New 'feature': distributed backups (with a little help from my friends) on: 2014-12-30 11:20:56
1.4GB isn't really that much, why not just set the files to automatically sync to a number of free secure cloud service providers, Dropbox, Mega, Google Drive, Spideroak, etc, then once you are nuked, your dead man's switch could send out instructions on how to recover such files.
11  Game Development / Newbie & Debugging Questions / Re: Compute + Geometry Shaders on: 2014-12-29 20:19:49
a pretty good article here about how to use compute shaders for realtime raytracing.
12  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 2.9.2 on: 2014-12-29 19:40:34
@kappa, quick question, I've tried to use LWJGL3 but there seems to be a lot of different stuff... any tutorials?

I tryied to follow the guide on the LWJGL website but it was broken.. at least it didn't work...

Joao Lourenco

Yeh, LWJGL3 is still pretty new so there aren't many tutorials yet. A few of the good ones i've seen include the ones by SHC found here and on the LWJGL3 wiki here. The GLFW3 documentation is also pretty good and simple to follow. The rest should be pretty much the same as LWJGL2 (i.e. just OpenGL, AL and CL).
13  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 2.9.2 on: 2014-12-29 14:19:25
It's been an awesome run. I can't thank Spasi and everyone else involved enough for the effort.

Cas Smiley
Yup agreed, LWJGL2 was released back in 2008 so maintaining API compatibility since then has been a pretty good success. The design and simplicity of LWJGL's single window API has also held up pretty well considering the first release was back in 2002. Its only now started to show its age once multiple monitors, touch screens and HiDPI resolutions have started becoming more common.

Been using LWJGL3 for a while now and must say it really is much nicer and more flexible to use. Further its already pretty stable (thx to the choice of the GLFW library) so anyone still using LWJGL2 should start considering making the switch.

There is also LWJGLX for those that wish to test out a LWJGL2 codebase on LWJGL3 with minimal source code changes or as an example of how to emulate some of the LWJGL2 windowing behaviour in LWJGL3.
14  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 2.9.2 on: 2014-12-29 10:56:10
Ruben01 just confirmed that LWJGL 2.9.2 is now also available on Maven Central. Normal instructions apply as set out here (just replace the 2.8.0 parts with 2.9.2).
15  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-21 20:25:41
Also, I'm starting to write my LWJGL Tutorial Series with LWJGL3.
Oh nice write up. Just a minor correction GLFW is a C library (not C++) and Disruptor is no longer a required dependancy and the jar will be removed from the package soon.
16  Java Game APIs & Engines / OpenGL Development / Re: Lwjgl Error: Failed to load the native library: lwjgl on: 2014-12-19 17:35:51
Looking at the code you posted there doesn't seem to be any declaration of it being the core package which could be why you are getting that error.

Also one cool thing with LWJGL3 is that you do not need to point to the exact folder containing the system specific natives (in org.lwjgl.librarypath or java.library.path), you can just point to the LWJGL natives folder and it will automatically pick up the relevant natives from the linux, window, mac sub folders. Pretty useful when using the same workspace across different platforms as you do not need to change the native path once set.

@SilverTiger should also reduce your code to
if (System.getProperty("org.lwjgl.librarypath") == null) {
    Path path = Paths.get("native");
    String librarypath = path.toAbsolutePath().toString();
    System.setProperty("org.lwjgl.librarypath", librarypath);
17  Java Game APIs & Engines / Java Sound & OpenAL / Re: Does any1 know any good LWJGL3 OpenAL library? on: 2014-12-16 19:43:22
Here's my OpenAL stuff for LWJGL 2, not sure what it would take to make it work with 3.
I've been working on a LWJGL2 compatibility layer which runs on LWJGL3 (allows running LWJGL2 apps with very little source code changes). I did attempt to use it to port LibGDX to LWJGL3 (the audio part should work), however ran into a problem as LibGDX's LwjglApplication class seems to want to run LWJGL on a secondary thread which didn't sit well with GLFW. Ended up giving up after that point, did however get jMonkeyEngine3 working with it Smiley.
18  Java Game APIs & Engines / Java Sound & OpenAL / Re: Does any1 know any good LWJGL3 OpenAL library? on: 2014-12-16 10:58:35
I usually use Paul's Code Sound System but recently I have found a few problems:
- doesn't work with LWJGL3
If you like, you can use Paul's Code Sound System with LWJGL3. Ported it while working on a compatibility layer for LWJGL3. The LWJGL3 OpenAL library plug-in can be downloaded from here.
19  Discussions / Miscellaneous Topics / Re: Building a new PC on: 2014-11-30 11:56:25
I'd also seriously consider a SSD instead of (or in addition to) a HDD. The performance boost is well worth the compromise in hard disk space.
20  Games Center / WIP games, tools & toy projects / Re: Paint.JAVA - Attempt at cloning Paint.NET (with cross-platform support) on: 2014-11-26 15:52:57
Also for more consistency, stick with using either Color or Colour, above screenshot uses both types Smiley
21  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 3; how's it getting along? on: 2014-11-19 15:08:07
ByteBuffer dataBuffer = GL11.glMapBufferARB(GL_ARRAY_BUFFER_ARB, ARBBufferObject.GL_WRITE_ONLY_ARB, (9 + 9) << 2, null);

Which just required ARBBufferObject.GL_WRITE_ONLY_ARB to be replaced with ARBVertexBufferObject.GL_WRITE_ONLY_ARB .
Now ofcourse somebody in the upper echelon has to decide whether my tutorial should be changed, or LWJGL needs a thorough redesign... Kiss
Considering that 90%+ of OpenGL drivers out there have a version of OpenGL 2.0+ or greater, best thing would be to just update those two bits of the tutorial to use the following two calls instead.

and replacing other corresponding methods by removing the ARB bit and adding GL15 before them.

Plus IMO there is not much point in learning OpenGL using such old OpenGL calls or on a system that doesn't support at least a basic requirement of OpenGL2+.
22  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 3; how's it getting along? on: 2014-11-14 11:03:25
for Android and iOS support, LWJGL could always write a LibGDX backend Smiley
23  Games Center / WIP games, tools & toy projects / Re: Legends of Fore on: 2014-11-10 10:41:45
This is crap
Not very nice or helpful to just state a game is crap, a better response would have been to state why you think its crap and what, if anything, you think can be done to improve/fix the game.
24  Discussions / General Discussions / Re: How to make an experience, not a game. on: 2014-10-24 13:30:35
Papers, Please IMO is a pretty good example of how you can deliver a pretty good experience through a game without being too heavily focused on gameplay mechanics.
25  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > GREENLIT + FUNDED!!!! WOooOOOoooOooOoo! < on: 2014-10-10 19:59:23
congrats on hitting the kickstarter goal, still a whole 16 days left, good luck with the stretch goals Smiley
26  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-10 11:08:48
nice update, still think that XML is way too verbose (unless you have a gui tool to auto-generate it or something), if you are rewriting might be a good chance to look at JSON, YAML or Google Protocol Buffers.
27  Discussions / Miscellaneous Topics / Re: Who's using RoboVM? on: 2014-10-09 16:42:26
Is LibGDX GWT output not working for you?

As it stands, getting anything working in GWT requires jumping way too many hoops. GWT uses Java source code (as opposed to java bytecode) which removes a lot of flexibility when using pre-compiled third party libraries. From my limited testing CPU performance is also pretty crappy for anything mildly taxing.

Further there is a whole tool chain of C/C++ libraries and engines being ported using Emscripten but using them through GWT requires glue code which is another pain, a project like RoboVM could potentially allow one set of JNI code to be used for both native applications and web application which use those same libraries.

While the LibGDX folk have done really well to overcome some of these problems and made life easier for developers in the long run the GWT backend is still probably a pain to maintain and a such a tool could make it easier.
28  Discussions / Miscellaneous Topics / Re: Who's using RoboVM? on: 2014-10-09 11:57:03
Other platforms would definitely be cool. Especially would love to see a solid solution for Java on the web. As plugins are no longer cool, maybe something like RoboVM -> Emscripten/Asm.js. The web may also be the most lucrative in terms of the RoboVM business model.
29  Games Center / WIP games, tools & toy projects / Re: Red Game 2D Engine tech demo on: 2014-09-30 11:40:12
I have an idea of how to fix it but sadly I'm going away tomorrow...
You will have to wait till next week (i might put it in a fresh topic)...
You are using a FileInputStream to try read the file "img\icon\icon-large.png" from inside the jar. This won't work as its technically not a file but a file inside another file (you probably have it extracted locally on your computer hence why its working there).

Use something like getResourceAsStream instead, plenty of tutorial online on how to load resources from inside a jar.
30  Games Center / WIP games, tools & toy projects / Re: Red Game 2D Engine tech demo on: 2014-09-30 09:32:23
Gets further in the start up process but fails with the following error now:

java -jar faster.jar img\icon\i
con.png (The system cannot find the path specified)
        at Method)
        at<init>(Unknown Source)
        at<init>(Unknown Source)
        at rg.utils.ImageUtils.loadImage(
        at rg.core.World.setIcon(
        at Main.main( img\icon\icon-large.png (The system cannot find t
he path specified)
        at Method)
        at<init>(Unknown Source)
        at<init>(Unknown Source)
        at rg.utils.ImageUtils.loadImage(
        at rg.core.World.setIcon(
        at Main.main(
Exception in thread "main" java.lang.NullPointerException
        at rg.utils.ImageUtils.resizeImage(
        at rg.core.World.setIcon(
        at Main.main(
Pages: [1] 2 3 ... 89

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

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (13 views)
2015-01-26 04:47:56

Olo (14 views)
2015-01-25 21:26:00

Olo (15 views)
2015-01-25 18:44:22

Robo11 (25 views)
2015-01-25 06:14:26

basil_ (26 views)
2015-01-17 22:29:32

wxwsk8er (26 views)
2015-01-16 21:42:21

wxwsk8er (20 views)
2015-01-16 20:44:20

basil_ (25 views)
2015-01-14 09:46:59

basil_ (21 views)
2015-01-14 09:46:52

wxwsk8er (35 views)
2015-01-13 20:42: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

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17 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!