Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (741)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (823)
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 ... 175
1  Games Center / WIP games, tools & toy projects / Re: TUER: Truly Unusual Experience of Revolution, FPS using JOGL on: 2017-10-16 19:36:51

At first, some friends of mine have some laptops under OS X but they are too much recent to allow me to reproduce the previously mentioned bug and to test the suggested workarounds. Feel free to let me know your findings.

Secondly, I haven't started to move the whole website yet but maybe I'll move the downloadable files as a first step.

Thirdly, we'll have to publish a new maintenance release of JOGL to fix a major bug affecting Mesa under GNU Linux.

Fourthly, I'm a bit discouraged and frustrated when I think about supporting some other platforms. Maybe Android will remain in my todo list but other platforms won't. WebGL is neither fast enough nor stable enough for my project (it's barely "ok" on lots of machines and catastrophic on others) and using software rendering would require to sacrifice the quality by reducing the resolution or the complexity of the geometry to obtain a decent result. Maybe I'll revisit the very last option with WebAssembly. Anyway, there are tons of other things to improve.

2017/11/08: I tried to install my game on a recent Mac, it claimed that it's a program for PowerPC, I'll replace the custom builds of OpenJDK by OpenJDK 1.8 builds provided by AdoptOpenJDK.
2  Discussions / Miscellaneous Topics / Alternative to WebGL to render 3D in a plain HTML5 canvas? on: 2017-10-12 11:13:49

I've tried to use WebGL since 2011 on a lot of hardware including laptops, desktop computers, smartphones and single board computers. It has become less painful to use, there is nothing to tinker most of the time but :
  • Some Windows 10 software updates seem to disable hardware acceleration in WebGL on Intel GPUs
  • WebGL remains very slow on numerous low end and middle end laptops with Intel GPUs, even on very recent ones
  • Numerous drivers are still blacklisted
  • Non trivial examples still run very slowly on numerous smartphones, including Samsung Galaxy S3 i9305 and S4
  • The performance is still far behind OpenGL and OpenGL ES
  • There are some situations which seem to drastically impact the performance when there isn't only a single canvas using WebGL in the web page (iframe(s) in the same page, ...)
  • There is no hope to make it work on terribly old hardware even though it's still able to run Quake 2

I've found seen.js, phoria.js and the deprecated canvas renderer of Three.js. What other options are available for programmers looking for something OpenGL-like running in the web browser when WebGL is a no-go? I don't expect to find something as fast as OpenGL but it would be fine to have something that doesn't just show a black screen at least for low poly meshes.

P.S: TinyGL.js (a subset of OpenGL 1.1) and mesa-js (Mesa OpenGL ES Javascript port) seem to be viable solutions.
3  Game Development / Newbie & Debugging Questions / Re: Hosting game/demo file for download on: 2017-10-05 23:15:59
That's a very comprehensive guide, thanks for posting!
Where I live, static IP addresses are quite expensive, 10$ per month.
Is it the same in Europe?

It's "free" (included) with some ISPs but some others are very expensive (about 18 € per month). I only know the prices in France. It's a lot cheaper for the professionals and associations in general.

It's a nice guide indeed but it's not as "simple" as that. ISP's won't let you host your own server willy nilly not to mention availability, reliability and robustness without even thinking about security yet. Ease of use and maintenance also have value.

@gouessej could use a little less propaganda ( for lack of a better word ) though. I mean the hammer and sickle logo isn't very flattering for one thing. :d
I respect your opinion even though I disagree with you. You're right about the ISPs, that's why the VPN is highly recommended, maybe it's not clear in my tutorial.

Quote from: gouessej
I get away from the extralegal censorship of the asocial networks under imperalist control
Its not so simple as it looks – custom server can’t help with censorship
– it can be blocked in 1 minute by IP (or even by server internet provider)

“until you not dangerous - no one cares about you”
and even sites like “Pirate Bay” may live for years and years
– but if “they” want – they can block it in all form less then 1 day
- its very easy – simple no one care )

p.s I support “gouessej” position to be independent ^^
(until his action not harm others)
why? because hi at least trying change something in better way
Yes, trying to be independent may go wrong way and its f**k up something important XD
But we don’t know future)
(believe you or not but in couple 50-100 years people will be paying for Air)
Maybe my sentence can be misunderstood. The blocking by the ISPs is "easy" to drive inefficient, you can use the DNS of the FFDN or Opennic. I can ask to give me another public fixed IP too and domain names aren't very expensive. I have lots of solutions to drive blocking inefficient.

I'm all for criticism by the way. I think it's vital for a free society to be able to criticize anything and everything. That goes both ways of course.
Yes, constructive criticism is ok for me but no freedom is absolute, you benefit of it in certain limits, there is a frame. This frame is vital for a society too. It's off topic so I won't talk about that further.

Back on the topic: My suggestion is viable, my server has been up most of the times since August 2016, I make some backups. I don't claim to be able to resist huge DDOS attacks. If you really host only a game, you'll probably never have to undergo such attacks. There's nothing magic. I'm just a human being, I can make some mistakes. If anybody has some documented suggestions to do about security, I'll be glad to read them Smiley Let's learn, that's why we're on, we learn every day  Grin I wouldn't write a tutorial about those topics if I was a total newbie and maybe JGO is attacked a lot more than my few websites.
4  Game Development / Newbie & Debugging Questions / Re: Hosting game/demo file for download on: 2017-10-02 22:16:51

I admit that it might be a bit difficult for a newbie but I advise you to have your own server at home especially if you want to work for years on your game. You can use a cheap low energy single board computer (Raspberry Pi, Internet Cube, ...) for the hardware. It requires a domain name and preferably a fixed public IP address. I wrote a very long tutorial about that:

It gives you full control at the price of full responsibility but if you do the "right" choices, you'll waste less time later. Moreover, I think that lots of people overestimate the risks in terms of security. I succeeded in avoiding lots of attacks with a very few simple rules.

By the way, if your internet service provider gives you a fixed public IP address for free or if you pay only a few dollars per month for the VPN, my solution can become even noticeably cheaper than some other solutions suggested in this thread.

If you need any help, just let me know. If you're really scared by the amount of things to learn, you'll probably choose another solution.
5  Discussions / General Discussions / Re: Getting ready to release...any suggestions? on: 2017-09-10 19:45:41
Creating a youtube video and a facebook page should help for promotion.
Creating a website would help a lot more as everybody isn't on Facebook and then, there is no need to use Youtube, playing a video with HTML5 is very easy nowadays.
6  Discussions / General Discussions / Re: Linux builds on: 2017-09-10 19:43:02
nikolat, your suggestion just allows to write a script to run a JAR, it relies on the JRE installed on the system, it doesn't help a lot. Moreover, it advises to use Eclipse to create a JAR whereas it's a lot less flexible and capable than a build tool like Ant.
7  Discussions / General Discussions / Re: Linux builds on: 2017-09-09 08:55:44

I created a tool to generate native self-contained application bundles for GNU Linux, OS X and Windows, maybe it can help, it supports several formats under GNU Linux including tar.gz, DEB and RPM:
8  Java Game APIs & Engines / OpenGL Development / Re: [LWJGL] [JOML] Memory Behavior on: 2017-09-07 20:51:55
Ok but the principle is mostly the same, you manage the memory not on the Java heap by yourself as the garbage collector is of little help in this case. Sorry, "by calling the cleaner" wasn't what you suggested.
9  Discussions / General Discussions / Re: Neat code or a early finish product on: 2017-08-17 15:53:53

You have to start somewhere. My very first game written in RPL uses no method at all  Grin crappiest code ever  Grin
10  Game Development / Newbie & Debugging Questions / Re: 2 questions, coding MMORPG in Java on: 2017-08-16 21:01:14

Please don't even try to create a MMORPG before having a huge experience in game programming and a good team (it's not doable alone except for a proof of concept). If you start something too big, you'll fail and it will probably discourage you.
11  Game Development / Game Play & Game Design / Re: Raycasting in a 3d game to create hitscan weapons on: 2017-08-13 16:31:45

Your game reminds me the very first blueprint of mine  Grin i used raycasting at the very beginning in 2006. You can throw a ray starting from your player's gun, going forward. You'll have to compute a bounding volume containing the zoomed bitmap for each enemy. As the ray might go throw some objects, you might find several collision results, you'll have to sort them and to pick the first one except for the projectiles that purposely go through walls. A ray is similar to an half-line in your case, you need three spatial coordinates for its start and a vector to represent its direction. I can help you to implement a method to compute the collisions between an axis-aligned bounding box and a ray if you want. Where is your source code?

P.S: Maybe this helps.
12  Discussions / Community & Volunteer Projects / Re: RuneScape© Private Development Community on: 2017-08-13 16:15:02

I'm sorry to be a bit harsh but either admit that is "for profit" or remove the ads and the trackers (at least 6 according to ublock-origin) from this website. Don't tell me that you need some money to run your server, I won't believe you as I practice self-hosting and I only pay 8 € per month for the VPN subscription, I paid about 60 € for the hardware, nothing that would justify using ads as a compensation. Lol maybe you're terribly poor  Tongue In my humble opinion, promoting proprietary tools and using a proprietary freeware VoIP application disparaging its main open source competitor aren't the best ways of attracting free software developers using only free software. By the way, Mumble rocks  Grin ... and there are tons of less narrow minded developers than me here. Good luck.
13  Game Development / Shared Code / Re: Mp3 Player with Jlayer on: 2017-08-12 08:48:14
It means that I'll have to rewrite the source code using JavaSound in many cases.
14  Java Game APIs & Engines / OpenGL Development / Re: [LWJGL] [JOML] Memory Behavior on: 2017-08-12 08:45:28
You can release the memory allocated on the native heap when you no longer need a direct NIO buffer by calling the cleaner yourself, I assume that it's what theagentd meant in his second suggestion.
15  Game Development / Newbie & Debugging Questions / Re: javafx canvas like swing on: 2017-08-10 18:13:32
OpenJFX will probably run on a Raspberry Pi in some time, the situation has been recently improved, it's already packaged for Debian and it's in progress for Redhat:
16  Game Development / Newbie & Debugging Questions / Re: using music of a band on a free game on: 2017-08-10 18:05:59
If there is no license, it's under copyright, see the Bern convention. I don't think that your case is covered by "fair use". There are tons of audio samples under free or free sharing license, why not looking for one on
17  Game Development / Shared Code / Re: Mp3 Player with Jlayer on: 2017-08-09 19:33:38
Why do you claim that the JavaSound backend is crap? Why don't you send your "constructive" remarks to the author of this library?

I had to install Mint and Mageia on several computers and the sound didn't work when I ran "Breaking the Tower". I assume that it's my fault again as usual, I can't blame JavaSound according to you. It's really ridiculous, it doesn't work on different hardware with two very different distributions and I'm sure that you'll tell me again that the problem doesn't come from JavaSound. As I'm honest, I'll try this fix and I'll make you know if it works:
18  Game Development / Shared Code / Re: Mp3 Player with Jlayer on: 2017-08-09 09:15:48

Why not using Paul Lamb's 3D Sound System? Even Minecraft uses it. It supports both JavaSound and several Java bindings to the OpenAL API. I have used it with JOAL for years. It supports OGG very well, Midi, WAV, ...
19  Games Center / WIP games, tools & toy projects / Re: alternia on: 2017-08-05 11:18:37

Thank your for releasing the source code. Maybe a bit more comments would be welcome. You prove that creating decent games with some artworks on opengameart is possible Smiley
20  Game Development / Newbie & Debugging Questions / Re: About making game tools on: 2017-07-31 19:39:20

Have you ever looked at Paint.JAVA?

Actually, you can use any decent Java UI API to do this, even Swing and OpenJFX/JavaFX. Twelve Monkeys is useful to support image formats not supported by Swing. If you need an AWT-free solution to read and write images, some utilities in JOGL allow to do that for PNG (read/write) and JPEG (read).
21  Game Development / Newbie & Debugging Questions / Re: way to prevent fps going down on: 2017-07-28 23:02:26

You're not forced to update your physics as much as the rendering.

You can use continuous collision detection (implemented in (J)Bullet) instead of updating your physics more often.

You can use bounding volumes in order to avoid making very costly computations when it's not necessary.

I advise you to read this paragraph:
22  Discussions / General Discussions / Re: JGO Twitter List on: 2017-07-28 20:13:39
Thanks for sharing Cheesy
You're welcome. Feel free to contact notch on Twitter. You've nothing to lose, don't you?
23  Discussions / Miscellaneous Topics / Re: German language Slack Group for the JVM and JVM languages on: 2017-07-28 11:23:16
Guten Tag

I mag lieber Mattermost :p
24  Discussions / Miscellaneous Topics / Re: Cheerpj: convert any Java application and library to a browser-based Web app on: 2017-07-28 11:21:53
I'm going to use Icedtea-web with Firefox ESR 52.2 under Mageia Linux 6 to run some applets to compare with Cheerpj. Firefox non ESR >= 52 no longer supports NPAPI. Maybe the applets using 3DzzD still work.
25  Discussions / General Discussions / Re: JGO Twitter List on: 2017-07-28 11:17:06
I was surprised at his strict licensing policy.  He wrote a lemmings-style game (IIRC) for J4K, and he specifically put "you may not copy this code", even though he made it available.
He was forced to make it available but he chose a strict licensing policy. Now, it doesn't help to ensure that his games still work. Nobody is perfect. Graphics.getFontMetrics() spends a bit much time than in the past under Windows 10 and as he chose to store the results of some operations involving longs and floats into floats instead of doubles, it worked until the loss of precision made the game stay in the loop responsible for the physical ticks.
26  Discussions / General Discussions / Re: JGO Twitter List on: 2017-07-28 09:49:27

As I'm no longer on Twitter and as I don't want to use Tumblr, I can't contact Notch. Please can you ask him to relax the license of "Breaking the Tower"? It was no longer working under Windows 10, I fixed it, I published my fix but it violates the very first clause of his license:
27  Games Center / Contests / Re: Urgent announcement about on: 2017-07-27 13:07:45

Appel, how can we download those games now? It would be nice to have a mean of contacting their creators, some of them are no longer active on JGO. Imagine that I want to modify a game to make it work without applet support and to fix a few bugs, publishing the whole source code without the prior author's consent is illegal except if the license of the game allows it. If I can't contact the author, I won't be able to ask her/him if (s)he allows me to publish my changes.
28  Discussions / Miscellaneous Topics / Re: Cheerpj: convert any Java application and library to a browser-based Web app on: 2017-07-27 11:21:50
The version released in July is only for testing purposes, the commercial optimizer which will be released in the end of this year intends to improve a lot the performance.

As far as I know, the company behind Cheerp and Cheerpj is interested in using WebAssembly too, not only Javascript. Ideally, I'd like to be able to target any device supporting a decent HTML5 web browser with the language of my choice, preferably Java. When I need a real JRE, I prefer using a software outside the web browser.

P.S: This rudimentary example in 3D works with Cheerpj:
Have you succeeded in running something less trivial in 3D with it?
29  Discussions / Miscellaneous Topics / Re: Cheerpj: convert any Java application and library to a browser-based Web app on: 2017-07-27 08:19:04
This seems to work pretty well. This could be pretty exciting. I'd pay money if they supported embedding something like the fiddle in websites, similar to CodePen. Where'd you find out about this?
Have you looked at this?

The licensing/business model is still a work in progress. As they translate the source code of OpenJDK under GPL v2 with exception license, I doubt that Cheerpj can remain proprietary.

When i worked on web apps (2009-2010) i begin acquaint with framework called (IIRC) "vaadin". It is also Java-based for web apps.
It tries to bring traditional GUI development to the web like Cheerpj but it uses GWT. There are lots of incomplete attempts. For example, bck2brwsr supports JavaFX/OpenJFX and a subset of the Java SE API, there are a lot of similar APIs including TeaVM, Doppio, ...
30  Discussions / Miscellaneous Topics / Re: Cheerpj: convert any Java application and library to a browser-based Web app on: 2017-07-26 21:39:00
I don't understand why I get an HTTP error 521 (= "the webserver is down, the origin web server refused the connection from Cloudflare") when trying to run the demos and when trying to use this extension.

P.S: I forced the loading of those two JS scripts and now it works:
Pages: [1] 2 3 ... 175
Ecumene (108 views)
2017-09-30 02:57:34

theagentd (135 views)
2017-09-26 18:23:31

cybrmynd (245 views)
2017-08-02 12:28:51

cybrmynd (240 views)
2017-08-02 12:19:43

cybrmynd (238 views)
2017-08-02 12:18:09

Sralse (253 views)
2017-07-25 17:13:48

Archive (864 views)
2017-04-27 17:45:51

buddyBro (1008 views)
2017-04-05 03:38:00

CopyableCougar4 (1568 views)
2017-03-24 15:39:42

theagentd (1373 views)
2017-03-24 15:32:08
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51 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!