Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (711)
Games in Android Showcase (213)
games submitted by our members
Games in WIP (785)
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 ... 173
1  Games Center / Showcase / Re: Maze of Bad Emojis on: 2017-02-07 16:23:41

Why does your game require Adobe Flash Player? Kongregate asks me to install it.
2  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Advantages of Ant? on: 2017-01-26 18:58:28

I find Ant very flexible, it's like a portable equivalent of Makefile. Maven requires to follow a lot of conventions, it works very well when you're straight in the road but it may become a nightmare when you have to do something noticeably unusual. Gradle has the best of the both in my humble opinion. I use a lot Ant and it's sometimes difficult to migrate away from it. I wrote my own tool to create native self-contained application bundles with it, it can be hardly ported to Maven or Gradle.
3  Discussions / General Discussions / Re: Animation Model format - LWJGL 3.1 on: 2017-01-02 15:27:07

As I said in the first post, I'm using  this approach to learn so I'm trying to code as much as possible without use a lot of APIs.

Read my reply again:
There are tons of importers in various scenegraph APIs, you can use them as sources of inspiration too.
I don't advise you to use them, I advise you to use them as sources of inspiration to understand how their developers solved numerous problems that you'll have to solve too and I remind you that you asked us whether there is any Java library to work / load models.
4  Discussions / General Discussions / Re: New Year Resolutions -- 2017 on: 2017-01-02 14:58:41
if (girlfriend != null) {
    if (girlfriend.getCupVolume(ManufacturerDesignStandardBraSize.FR) >= 90B) {
    } else //FIXME this should never happen
        // no way, not enough for a good t**** f***
        girlfriend = null;
        sex = 0;
} else {
    //TODO How can this be possible?
try {
} catch (final CopsInActionException ciae) {
    // sorry, there is no plan B
if (spareTime > 0) {
if (uselessNewYearResolutionsEnabled) {
    try {
    } catch (final InsufficientMotivationException ime) {
         // maybe it will work in 2084 :)
    } catch (final UnsupportedOperationException uoe) {
         // you don't even know me, I'm too lazy
    } catch (final NotEnoughCroissantsAndCoffeeException) {
         if (croissantProvider.getRemainingCroissantCount() >= 1) {
             // no moldy croissant please!
             if (croissantProvider.getCountry() == "USA") {
                  try {
                  } catch (final IndigestionException ie) {
             } else {
5  Java Game APIs & Engines / Java 3D / Re: Using JOGL with QtJambi on: 2016-12-27 16:16:31

The questions specific to JOGL should be asked on the official JogAmp forum.
6  Java Game APIs & Engines / Engines, Libraries and Tools / Re: LWJGL uses wrong graphics card on: 2016-12-16 14:44:54
What about that?

On systems with more than one GPU it is desirable to be able to
      select which GPU(s) in the system become the target for OpenGL
      rendering commands. This extension introduces the concept of a GPU
      affinity mask.
7  Discussions / General Discussions / Re: Animation Model format - LWJGL 3.1 on: 2016-12-07 20:18:26

gLTF (GL Transmission Protocol)...
No, it's rather "GL Transmission Format":
glTF™ (GL Transmission Format) is a royalty-free specification for the efficient transmission and loading of 3D scenes and models by applications. glTF minimizes both the size of 3D assets, and the runtime processing needed to unpack and use those assets. glTF defines an extensible, common publishing format for 3D content tools and services that streamlines authoring workflows and enables interoperable use of content across the industry.

There is no "best" format for animations and it depends on the kind of animation (key framed or skeletal). JavaBlend is a nice API to manipulate Blender models. There are tons of importers in various scenegraph APIs, you can use them as sources of inspiration too.
8  Games Center / Showcase / Re: [Free][Windows] WorldGrower, rpg simulator on: 2016-12-03 11:47:14
I tried OpenJDK 8 ( on my Ubuntu installation.
Everything looks ok until I open the start menu of the game, and then Ubuntu freezes. It seems to be a known issue, I'm trying the different solutions.
Maybe I'll use the Red Hat OpenJDK next.
Is it this bug?
This workaround might help you:

Let me know whether you need some assistance, it's a pleasure to help you  Smiley Note that you can modify the files of the JRE before passing them to JNDT, it's a good way of testing this workaround and ensuring that your game is correctly packaged.

P.S: You can disable accessibility by using "-Djavax.accessibility.assistive_technologies=" or "System.setProperty("javax.accessibility.assistive_technologies", "");". I looked at the source code of java.awt.Toolkit, the former works, the latter has a chance to work if it's called very early and if another library doesn't initialize AWT before your own code.
9  Java Game APIs & Engines / Engines, Libraries and Tools / Re: LWJGL 3 - Assimp bindings on: 2016-12-01 19:36:44
You're welcome. I like this library. In my humble opinion, its only drawback is the lack of versioning as it would help to follow and understand the changes.
10  Games Center / Showcase / Re: [Free][Windows] WorldGrower, rpg simulator on: 2016-12-01 19:34:10
You might notice some tiny differences in the font rendering and in the sound management.

As you use Java 1.8, you'll have to use Oracle Java or Red Hat OpenJDK (available for all supported platforms) instead of the custom build I use as it's OpenJDK 1.7.
11  Java Game APIs & Engines / Engines, Libraries and Tools / Re: LWJGL 3 - Assimp bindings on: 2016-12-01 12:42:14
Possibly the best use of it is just loading stuff and converting it to whatever proprietary format is best for your game engine. Ie. as a tool, not a deployable part of a game.
Ok but then the performance would be less important than if it was deployed inside the game, wouldn't it?

.. and there is alot native code in jassimp
basil_, you make a confusion between another library with the same name and elect's jassimp. He talked about Kotlin, he really uses it as you can see in his source code:

theagentd, you can use JavaBlend for Blender files and FBX is proprietary so you get what is expected from this kind of format.

By the way, there are already some Java APIs providing some importers and exporters, Unlicense supports the .x format and I was a bit wrong as it partially supports .lwo (Modo), jReality, JMonkeyEngine and JogAmp's Ardor3D Continuation have some importers and exporters too. If elect succeeds, I'll see his project more as a source of code to implement importers and exporters in various engines rather than something I'll put into my projects as is. I spent about 10 days in writing an importer for the .ply format, I know that it's time consuming.
12  Java Game APIs & Engines / Engines, Libraries and Tools / Re: LWJGL 3 - Assimp bindings on: 2016-11-30 13:57:15

do you really think it's easy to beat a native implementation (in both CPU time and especially memory overhead) with pure Java?
It's not easy to me as assimp supports numerous formats but there are numerous importers and exporters for several scenegraph APIs, engines and frameworks decently optimized to avoid memory leak and you can modify the settings of the JVM to unload unused classes. If you want to compete with MeshLab, you'll need the 40 formats but I doubt that all are needed for a game or even for the tool set of a game in which you may use a few editor formats (.blend, .max, ...), a few interchange formats (Collada, U3D, ...) and a runtime asset delivery format (gltf, ...) or your own one. In my humble opinion, some popular formats are already supported enough by the existing Java ecosystem to drive such a binding not very appealing in certain particular cases but I agree with elect "it's good to have alternatives" and this binding can be very useful in some use cases.

I remind that using a "foreign" API to load models in a scenegraph API may add some overhead to convert the models in the object model of this API into the object model of the scenegraph API.

Personally, I've read tons of "loaders" in various programming languages and I advise you all to be very careful as I've found numerous APIs supporting tons of formats having numerous caveats or limitations. Sometimes, those limitations are commented only in the source code and not mentioned in the documentation.

Assimp supports Modo (.lxo). As far as I know, there is no free or open source Java importer supporting this format. This binding is then welcome to load files in this format  Smiley

Good job and keep up the good work.
13  Games Center / Showcase / Re: [Free][Windows] WorldGrower, rpg simulator on: 2016-11-29 19:57:05

Why does Economy2.png contain a large empty space under Oil Resource?

I'll put JNDT XML script into a JAR and improve the documentation for Gradle users as soon as possible. I advise you to test your game with OpenJDK as it's what most GNU Linux users use but nowadays there isn't a big difference with Oracle Java.
14  Games Center / WIP games, tools & toy projects / Re: TUER: Truly Unusual Experience of Revolution, FPS using JOGL on: 2016-11-27 18:52:58

TUER is ten years old, I've just published a new article about it.

By the way, I updated the documentation a few hours ago, especially for the end users under Microsoft Windows. I tried to install the English language pack on a friend's laptop, it was very painful and SmartScreen went on showing the warning message in French anyway, sorry for the bad "fake" screen captures used to illustrate the explanations:

2016/11/30: There is a new teleporter to go to the last level, there is a new poster at the exit of the museum and the artificial intelligence has been improved: the enemy tries to face the player (but it's not smart as he rotates brutally, I'll use slerp very soon).
My website is temporarily down because of a problem with Sourceforge.
2016/12/01: The game version and release numbers are stored in order to implement the system of update suggestion.
My website is back online, you may need to clear your cache to make it work. As Sourceforge has more and more technical problems, I will have to seriously reconsider hosting my infrastructure on my own low-energy server.
2016/12/02: JNDT is now packaged as a JAR and I've just updated its documentation, it should be a bit easier to use. Some complementary clarifications will be added very soon.
15  Discussions / Miscellaneous Topics / Re: Looking for simple but complete open-source game on: 2016-11-25 23:36:53
Still a crappy implementation, but not as bad as the old days.
What makes you think it's any better now? It still supports only OpenGL 1.1 or OpenGL 1.4 in the best case, doesn't it?
16  Discussions / General Discussions / Re: BDX - Open-source 3D Blender-Integrated Game Engine on: 2016-11-25 10:06:19

Shouldn't this topic be moved into the section "WIP games, tools & toy projects"?
17  Discussions / Suggestions / Re: Featured Open-Source on: 2016-11-23 20:06:44
Scratch that.  I couldn't find a single game's source code.
Tesseract, Spider Experiment, Jake 2, ...
18  Discussions / Suggestions / Re: Featured Open-Source on: 2016-11-22 20:17:57
In my humble opinion, mentioning the license isn't difficult, I do it for my contents and those I reuse too, it helps Smiley

There are tens of free or at least open source Java games in the archive of the FGF but you can still find most of them in the Java Game Tome.
19  Discussions / Miscellaneous Topics / Re: Looking for simple but complete open-source game on: 2016-11-22 20:13:49

Set org.lwjgl.opengl.Display.allowSoftwareOpenGL to true, it should work. Your machine probably only has the crappy Microsoft GDI Renderer as unique OpenGL driver:

A better solution would consist in installing a better OpenGL driver provided by your GPU manufacturer.
20  Games Center / Showcase / Re: Spatium Wars Alpha on: 2016-11-19 10:58:27

Sorry, I know that it's an alpha version but where are the installers (or at least the JAR(s)) for the other operating systems? I only see an installer for Windows  Huh
21  Discussions / Suggestions / Re: Featured Open-Source on: 2016-11-14 21:47:35

The source code of my main game is under GPL. By the way, KevinWorkman is a bit right, you talk about giving away, it's a bit more complicated than what you mean. Some projects clearly state that their source code is open source or free but mentions nothing about their artworks, there are tons of licenses with different terms, some licenses are viral, some others are permissive, some licenses can only be used for the documentation, some others can only be used for the source code, some others are only for artworks, ... Giving everything away is close to the terms of the Creative Commons Zero Public Domain Dedication license but it's not completely legal in some countries in which you cannot abandon or cease your paternity rights (typically in France).

Why not simply creating a new page in the wiki to store your list of free / open source Java games?
22  Discussions / Suggestions / Re: Art section on: 2016-11-14 21:35:24

I'm fed up with those catch-all sections, "what I did today", "what I drew today", ... What annoys me isn't the content of those threads, I just think that those elements should be moved into separate per-project threads, I don't see the interest of putting tons of things into 2 threads, it's a mess. I prefer following the activities of the projects that I find interesting. Moreover, I prefer seeing the very early blueprints and artworks of a very young project in its dedicated thread instead of drowning its contents in "what I did today" & "what I drew today". This is just my opinion, nothing more. Best regards.
23  Games Center / Showcase / Re: [Free][Windows] WorldGrower, rpg simulator on: 2016-11-13 18:00:10

@gouessej, thanks for the info regarding native installers.
I did try my game under GNU Linux.
I got some strange behavior, that's why I decided to release the Windows version first.
Which strange behaviour? If you want to get some help, maybe you should tell us what is wrong. You use a cross-platform technology and as far as I know, your game works like a charm on my machine.

Right now, I use Install4J and that seems to support native installers like .deb and .rpm.
As far as I can tell, JNDT can do the same as Install4J, so I think I'll keep using Install4J. That route is probably the least amount of effort for me to build native installers.
Install4J isn't free of charge (you can only obtain a trial key for a short time, use an evaluation version or obtain an "open source" license until Ej-technologies modifies its policy like InstallAnywhere did), it's neither open source nor free and its support of DEB & RPM packages is surprisingly less mature and a lot less complete than JNDT. It's your project, it's up to you to decide but feel free to ask for help if you plan to move to a more reliable and viable solution than Install4J on the long term (except if you're ready to pay at least 848 € per year for the less expensive licence) especially when JNDT becomes easier to include in a project (currently only a few JARs and a single XML script). I don't think that using a few lines of XML code from a real example of use as a source of inspiration takes a long time and you can call Ant from Gradle. I'm not often on this forum, it doesn't mean that I'm not interested in your project Wink
24  Games Center / Showcase / Re: [Free][Windows] WorldGrower, rpg simulator on: 2016-11-13 00:39:21

Ok, fair point regarding the installers.
I'd like to take you up on your offer regarding native installers.
If you show me your tool, I'll take look at it.

Well, I'll take a look after making sure the program works on non windows environments, otherwise the native installers aren't that useful  Smiley.
Have you ever launched your game under GNU Linux? Your Gradle build seems to create a single fat JAR with all dependencies, you can use it with JNDT which is documented here. I really have to move my tool into a separate project to drive it easier you to use.

I've just looked at the tutorial (under Mageia Linux 5, by using the JAR inside the ZIP archive). I find your game promising. It's already polished, good job.
25  Games Center / Showcase / Re: Caromble! revolutionizing an old genre. Chapter 3 now on Steam Early Access! on: 2016-11-06 12:12:05

Caromble! is created in our self-made Java engine.
Stunning visuals, that's all I've got to say. What amazes me even more is that you guys created the engine Java.
It's a bit wrong. As far as I know, Caromble uses a fork of the legacy Ardor3D (they rewrote an important part of the rendering pipeline to make it work with OpenGL 3), not an engine 100% written from scratch: 2013
While we wrote all engine code ourselves, we do use Ardor3D (in combination with LWJGL) for graphics and JBullet for physics (love them both). 2015
Caromble! is written in our own Java-based game engine. It relies on JBullet and a heavily modified version of Ardor3D.
26  Games Center / Showcase / Re: [Free][Windows] WorldGrower, rpg simulator on: 2016-11-06 12:02:34
@gouessej, thanks for your feedback. Most graphics are free graphics from other people. Here is a list:
And the few graphics that I created myself can be considered public domain.
Thank you for the explanation. It's great, you give some credits to the original authors  Grin

There are other installers, but I've hidden them from plain view because there are some issues left with those operating systems.
And thanks for the offer, but the installers are the few things that didn't cause problems on non-Windows operating systems :-).
I saw only some scripts for other platforms, these aren't real installers. In my humble opinion, it's enough for developers but not for non technical end users. Moreover, as you write "[Windows]" in the title, non Windows users can wonder whether your game works under other operating systems and there are numerous developers under OS X and GNU Linux here.
27  Games Center / Showcase / Re: [Free][Windows] WorldGrower, rpg simulator on: 2016-11-04 13:04:31

Please can you clarify the licensing terms of your graphics? Are they under Creative Commons BY-SA?

I see that there is only a Windows installer. If you need some help to generate native installers for all major operating systems, let me know, my own tool does it very well.
28  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-24 11:56:53
It is accessible without a switch or a module import when the runned Jar is not a Jigsaw module.
So, people can still use their application and JOML on JDK9 unchanged.
Actually, no. You have to force this module to be exported, I had to use this even though I don't package my software as a module:
--add-exports jdk.unsupported/jdk.internal.ref=ALL-UNNAMED
29  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-23 12:52:37
Yes, I did. It compiles fine on 1.9 Build 140. Java 9 will not remove sun.misc.Unsafe. Probably 10 will.
Sorry but it has already been moved into a module (jdk.unsupported) only accessible by using a switch:

And even if it did, JOML can still for a very long time build the CI builds on JDK8, and the MemUtilUnsafe class will not be loaded at runtime if it was detected that sun.misc.Unsafe is not available. So, _running_ JOML on any Java 1.4 compatible JVM is fine, even if it does not support sun.misc.Unsafe.
You're right but have you looked at a replacement for Java 1.9 even though there is no hurry?
30  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-20 11:38:31

KaiHH, I'm almost sure it won't compile with Java 1.9:

Have you ever tried to compile JOML with an early build of Java 1.9?
Pages: [1] 2 3 ... 173
Archive (86 views)
2017-02-27 19:41:49

Riven (80 views)
2017-02-27 17:26:59

numerical (447 views)
2017-02-21 07:32:16

numerical (451 views)
2017-02-21 07:31:46

theagentd (561 views)
2017-02-18 13:42:33

theagentd (557 views)
2017-02-18 13:35:16

h.pernpeintner (1732 views)
2017-01-24 22:39:11

h.pernpeintner (1688 views)
2017-01-24 22:38:32

Galdo (2270 views)
2017-01-12 13:44:09

Archive (2183 views)
2017-01-02 05:31:41
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 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!