Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (736)
Games in Android Showcase (223)
games submitted by our members
Games in WIP (813)
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 ... 174
1  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.
2  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.
3  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:
4  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.
5  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
6  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.
7  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.
8  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.
9  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.
10  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.
11  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:
12  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
13  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:
14  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, ...
15  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
16  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).
17  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:
18  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?
19  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
20  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.
21  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.
22  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:
23  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.
24  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?
25  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, ...
26  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:
27  Discussions / Miscellaneous Topics / Cheerpj: convert any Java application and library to a browser-based Web app on: 2017-07-26 15:30:59

Have you ever tried Cheerpj?

It converts Java applications or libraries into JavaScript, it claims to fully support all standard Java APIs including Swing and it doesn't require access to the source code.

There is a demo here but there's a temporary server failure preventing it from working. As it's based on OpenJDK, I expect it to be released under GPL v2 with classpath exception one day.
28  Game Development / Newbie & Debugging Questions / Re: Game "running out of memory" with 32-bit JRE's on: 2017-07-26 15:19:00
AdoptOpenJDK doesn't provide any installer yet whereas Azul does but as AdoptOpenJDK and Azul don't use IcedTea Web, there is no implementation of applets and Java Webstart in their JREs. I just wonder how those installers could be really useful especially if the main interest of those JREs is to be bundled. They don't show nasty ads unlike Oracle ones but a non technical user who would install Azul Zulu or AdoptOpenJDK would lose Java Webstart.
29  Game Development / Newbie & Debugging Questions / Re: Game "running out of memory" with 32-bit JRE's on: 2017-07-26 14:41:59
Yes I know that but the installers aren't very useful without applet and Java Webstart, are they?
30  Discussions / General Discussions / Re: JGO Twitter List on: 2017-07-26 14:40:15

I use Twitter a lot, would be great to follow what the JGO people are up code wise.
I stopped using Twitter several years ago because I disagree with its terms of use, it doesn't allow me to lodge a complaint in my country when something goes wrong, it sells my personal data, it has benefited of zero-rating which goes against net neutrality, it's not fully based on free software, I can't deploy it on my server unlike Mastodon, between 50 and 75% of the accounts are inactive or used by bots / zombies, there are other means of getting news headlines, it has a really lack of transparency in its moderation policy, I don't like centralized asocial networks administered by far-right-wing libertarians anyway, ...

By the way, another guy "reuses" my previous pseudonym on Twitter to say stupid things about water, wood, wind, ... My Russian skills are too low to understand his hare-brained ideas.
Pages: [1] 2 3 ... 174
cybrmynd (124 views)
2017-08-02 12:28:51

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

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

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

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

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

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

theagentd (1246 views)
2017-03-24 15:32:08

Rule (1221 views)
2017-03-19 12:43:22

Rule (1274 views)
2017-03-19 12:42:17
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!