Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (744)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (825)
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 ... 39
1  Game Development / Game Play & Game Design / Re: Opinion on the game style on: 2017-12-06 03:04:44
You should really go with whatever you prefer. It's pretty hard for us to give you any meaningful feedback without seeing it in action, in a video or something.

But it's your game. We're all just going to have random opinions. What do you think?
2  Discussions / General Discussions / Re: would any of you guys be offended if on: 2017-12-06 03:01:16
You should do whatever you want. But if you have to ask whether people are going to be offended, and if you're really seriously worried about repercussions, then you shouldn't be making this kind of game.

If you're asking these kinds of questions before writing any code, then my guess is that the game won't be made anyway. Get a general fighting game proof of concept working first.

FWIW this game has been made before:

<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>

This also showed up when googling "religious fighting game":

Doesn't mean you shouldn't make your game. But stop worrying about what other people will think, and put the work in. Good luck.

3  Game Development / Newbie & Debugging Questions / Re: Newbie to Game Development on: 2017-12-06 02:51:06
If you ask 10 programmers a question, you'll get 11 different answers. Do whatever seems right to you.

I respectfully disagree with 65K's advice to use a library. You should stick with the absolute basics. Use Swing to get a simple GUI up and running. Think rock-paper-scissors or tic-tac-toe, or a higher/lower guessing game.

That will help you learn the basics of Java, OOP, events, user input, etc. You need to know all of that before you use a library like libGDX.

In my humble opinion, you should actually start with something simpler than Java. I really like Processing, and I've written a series of tutorials that go from Processing to Java (and soon libGDX) available at
4  Discussions / Business and Project Management Discussions / Re: Hiring an artist (the struggle) on: 2017-11-20 23:40:35
I've only worked with a couple of artists for small one-off jobs, but my advice is to stop waiting for artists to come to you. Instead, look go out and find an artist you like, and then approach them with your offer. Artists are all over the place: Twitter, Instagram, Deviant Art, Tumblr, etc. Find one you like, peruse their portfolio, and then ask if they take commissions or are available for a job.

This also means that you should know up front exactly what you want: how many images? What sizes? What specific poses, backgrounds, etc?

Other than that, remember that artists are people whose time has value. Don't ask artists to do stuff for free (and doing stuff for exposure is doing stuff for free). Have a budget and be honest about that up front.
5  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-16 02:45:03
Having to reset your password seems like a pretty reasonable thing when switching to a new site.
6  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-15 16:29:22
After spending two hours to understand the tables and relations, wrote a script to migrate the categories and boards. The current output is like this:

This is really awesome. Congratulations. What do you see as the next steps?
7  Game Development / Performance Tuning / Re: Simple way to show quickly-changing values on: 2017-11-14 02:18:44
Why would using invokeLater() make any difference?

Either set up a function that only changes the text every X times, or change your approach to append the text to the bottom instead of overwriting it completely.
8  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-14 02:16:44
I've hit a snag: apparently the directions require a local Discourse development environemtn, which means you can't do it directly in Docker. I don't really feel like spending much more time on this, so if somebody wants to take over, we basically have two options:

Option one: Set up a local Discourse development environment and follow the steps in the link above.

Option two: Hack the script and/or Docker options so the script works inside Docker. This is apparently possible, but I don't know enough about Ruby to do it myself.

I still think that just starting over and archiving the existing forum is the way to go. But if any of the folks who said they want to be involved want to try the above options for archiving, now's your chance.
9  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-12 17:16:16
Surely a few swapped words won't put you off? Smiley

Not me. I just don't know what all is required for the port. I guess we can see if it works with the public dump, and if it does, then you can do it with the real thing if you want.

Here's the dump, enjoy Smiley (and good luck!)


I'll try to get to this today. I'll be heading out of town later in the week so hopefully I can make some progress before then.
10  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-12 04:18:07
I have a dumb Discourse instance setup here:

Feel free to poke it, register, post, whatever. It's pretty much just the default Discourse setup, without any customization. That can come later if this pans out.

I think the next steps are:

Do we want to port the database?

I personally like the "fresh start" option, but it's at least worth trying. This might require direct access, not an obfuscated dump. If so, Riven I'm happy to give you access.

See here and here for instructions.

Do people actually want to use a new site?

I guess time will tell.

From here, if anybody wants to be involved in porting the site or invigorating a new site, here's your chance. My plan is to see how this plays out and then hand the reigns back over to Riven if it works out.
11  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-11 03:18:35
Just chiming in here: sharing a database-dump with you, to attempt building a next-gen frontend, would not imply hosting the final product elsewhere.

Agreed. I don't really have any interest in being an admin (or even a moderator) or in dealing with hosting. My goal is to get a dumb Discourse instance up and running so that we can test stuff out. If we succeed, I'll very happily hand everything back to you and any moderators you choose to add.

Current status: waiting for Mailgun to stop thinking I'm a spammer, because apparently the test domain I registered looks suspicious.
12  Game Development / Performance Tuning / Re: for loops on: 2017-11-10 05:38:52
Just use whichever one makes more sense to you in your context.

Also, you really shouldn't be worrying about "efficiency" until you've actually measured your performance.

See also:
13  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-09 04:05:35
KevinWorkman, the question was more about which machine to install on rather than how to do it

That question is answered in the link I posted. Basic hosting on Digital Ocean costs 10 bucks per month.

I'm working on putting together a dumb Discourse instance. Most of that time has been waiting for DNS changes to propagate. :p
14  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-08 03:43:15
how would one go about hosting a discourse instance?

It's pretty simple. You just follow the steps here:

I've setup Discourse a few times, and I'd be happy to do it again if people would be interested in that option.

The hardest part would be importing the data, but as mentioned above there are ways to do that.

Or we could go with the dead simple option of moth-balling the current site (keeping it in read-only mode so we don't lose old threads) and starting fresh with a Discourse forum at a new URL. We could provide links between the old and new forums, but they'd basically be two separate things.
15  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-07 04:22:23
It's also worth noting that Discource provides a script for migrating from a SMF forum:
16  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-07 03:51:44
I could put together a Discourse instance this week if people are interested in the "fresh start" approach.

Another great thing about Discourse is that it supports user moderation, so the people in this thread who want to be more involved could be.

But I also pretty much agree with a lot of what Riven said: this stuff takes more than just promising time. It takes knowing what to do, coming up with a plan, and then executing that plan. Saying "I have time if you just tell me what to do" isn't very helpful, because the hard part is figuring out what to do in the first place.
17  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-04 17:49:25
You say java on the client is dying? I don't think this matters one bit for this site because how you distribute your game is of no concern to the end user, its just something to download and run.

I respectfully disagree. Users are much more likely to play a game that runs in a browser.
18  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-04 16:20:25
For what it's worth I still lurk here pretty much every day. But like others have said, I think the decline is a result of client-side Java not really being a thing anymore. We've also seen a decline in Java-specific game jams. Minecraft definitely caused an interest spike, but that has died down as people have realized that their Java voxel engine isn't going to turn them into billionaires.

19  Game Development / Game Play & Game Design / Re: Open-source multiplayer FPS in Java on: 2017-10-15 16:26:24
I started simple and thought of the scale of Pong about 20 years ago.

Sorry, I didn't realize you already had the experience under your belt. A lot of novices post here with questions about how to make an MMORPG, so my post was more a response to that.

My guess is that there are a ton of moving pieces here that you're underestimating, but I'll wish you good luck.

JMonkeyEngine and libGDX both support 3D rendering. If you're undertaking this project, it might be better to start with one of those instead of building everything from scratch.
20  Discussions / General Discussions / Re: Small Arcade Games? on: 2017-10-15 03:17:55
Short answer: Put together a portfolio site, put your games there, and keep adding games as you make them.

You're right that you're probably not going to become rich and famous from the first game you make. But that doesn't mean it was a complete waste of time. Keep in mind that most professional developers published dozens of smaller games before making it "big" in the industry.

So, put together a portfolio site that shows all the games you've created. Use it as a timeline to show how far you've come, and keep adding games there as you create new ones.

You might also consider putting your games up on and Game Jolt, but again: don't expect to make it big with your first game (or first ten games). Move on to the next project, take the lessons you learned with you, and make your next game just a little bit better than your last one. Good luck.
21  Game Development / Game Play & Game Design / Re: Open-source multiplayer FPS in Java on: 2017-10-15 03:08:01

I don't want to be discouraging. I think everybody should program whatever they think sounds interesting. But you should keep in mind that these types of games take entire teams of professional programmers (and artists, and sound people, and designers, and...) years to complete.

Start simple. Start simpler than you think is interesting. Think on the scale of Pong. Work your way up from there. Good luck.
22  Game Development / Networking & Multiplayer / Re: [Kryonet] Runescape style movement on: 2017-10-11 02:21:26
Would that involve the server also finding the path to check if its valid, or would the client send the path to the server to check, so the server never does any pathfinding.

Why would the server need the path? The client is just asking whether it can go from square A to square B. It doesn't need to care about square C or D or E...

If you're really worried about users hacking the client to make arbitrary moves, then neither option 1 or 2 will prevent that. But 99% of the time, these kinds of concerns are premature.
23  Discussions / General Discussions / Re: advice on creating useful tutorials on: 2017-09-26 01:55:08
where did you get a domain for 10$ ?

Yeah I just used namecheap. Also note that with GitHub Pages you get a free subdomain like:

If 35 bucks for 2 years is out of your price range, you should really consider the free alternatives. You can always change it later.
24  Discussions / General Discussions / Re: advice on creating useful tutorials on: 2017-09-23 03:34:36
yes i have but as a web developer i write my own code so i didnt see where it will be useful for me or my clients.

Well, different tools for different jobs. Jekyll is super useful for what I do. Wordpress would be overkill for what I need, plus I just don't like using it. Who are your clients?

i would of never have guessed your site was made with  Jekyll+github pages.

Can I ask why not? GitHub pages is basically just a webhost. Jekyll is basically just a template engine and markdown parser.

I write the tutorials in markdown. I write the rest of the site in plain old HTML and JavaScript. I use Jekyll to tie it all together and output the final html files, and I use GitHub pages for hosting.

now im going to look into it and learn how to use those tools. i thoght you have a server and domain (and was wondering if you pay 50$ every two years for it).

I have a domain, I think it costs like 10 bucks a year. I don't need a server, just a webhost.
25  Discussions / General Discussions / Re: advice on creating useful tutorials on: 2017-09-22 01:31:26
i already created a small tool to help me generate html code for tutorials, that shod make the written ones be made faster.

Have you heard of Jekyll? It allows you to write in markdown that then gets converted to HTML. Works seamlessly with GitHub Pages. That's what I use.

thank you your website is an inspiration.

Aw shucks. That's nice to hear.  Grin
26  Discussions / General Discussions / Re: advice on creating useful tutorials on: 2017-09-06 00:59:23
You didn't find a "how to create tutorials" tutorial because there isn't one single way to do it. Different teachers teach with different styles, and different students learn with different styles.

Like many things in programming, the best advice I can give you is: practice makes perfect. Your content, and your ability to create that content, will get better with time.

I've been putting together tutorials for a few years now, and I still find it a pretty slow and tedious process. The best advice I can give you (which is the same advice I give to people asking how to program) is to work in small, shippable chunks. What is the smallest thing you can create a tutorial for? Do that. Get that out the door and published before you start creating the next one. This is especially difficult for "series tutorials" where you're constantly rearranging how things should fit together. But again, practice makes perfect.

You also might be curious to check out a very new Stack Exchange site called Computer Science Educators.
27  Discussions / Miscellaneous Topics / Re: Engineer/Programmer? sentenced in VW emissions fraud case on: 2017-08-30 00:59:24
As the engineer involved I would not be expected to have any say on the legality or morality otherwise of the code I was told to write. I'm sorry, but that really is what management are there for.

I don't think this guy was just some code monkey in a cubicle. He's worked there for 30 years. From the article in the OP:

Federal prosecutor Mark Chutkow countered that Liang was a “pivotal figure” in designing the systems used to make Volkswagen diesels appear to comply with U.S. pollution standards, when instead they could emit up to 40 times the allowed levels of smog-forming compounds in normal driving.

We're here to write the code that people ask us to write - not to tell managers that it's immoral or illegal to try and defeat emissions tests. In my experience the discussion always goes exactly like this:

Manager: Make the thing do this stupid thing.
Engineer: No, the consequences of doing the stupid thing are...
Manager: Fired. Who else wants to get sacked for not doing what we're paying them for?
Engineer#2: Ok

And after this case (and other like it in the future?), our engineer will know to get out of there.

You would have to assume there is more to this than we currently know.

There are probably emails along then lines of :

"manager : can you make this car perform better and fool the EPA test?" "Engineer : Sure, I can hard code it to detect when it's in a test and make it emit less"

Exactly. From this article (warning: annoying auto-play video):

Liang, a German citizen, helped to develop the so-called "clean diesel" engine for Volkswagen while working in Germany. According to court documents, he and his co-conspirators realized they could not design a diesel engine that would meet the stricter U.S. emissions standards. So they designed and implemented software to cheat the tests.
28  Discussions / Miscellaneous Topics / Re: Engineer/Programmer? sentenced in VW emissions fraud case on: 2017-08-28 02:43:07
Only when the programmer is wearing multiple hats, can he be accountable for his own code.

The sentence in this case disagrees with you.

"I was just doing what I was told" isn't always the best defense when it comes to ethics.
29  Discussions / Miscellaneous Topics / Re: Engineer/Programmer? sentenced in VW emissions fraud case on: 2017-08-27 16:53:33
In any event, probably good to say no if asked to code something that contributes to an illegal activity.

I think that's exactly the goal of this sentence.

It's interesting to consider the ramifications of ethics in computer science. Stuff like this, but also the more subjective problem of "echo chambers" created by various social media sites. I really hope we reach a point where we understand these, how they come about, how they affect society, and how we can improve them. The stuff we do affects real people, and I hope we start thinking about that the way that other fields and industries think about the effects they have. Other fields have regulations about responsibility: why not programming?

Also reminds me of this page from Squirrel Girl:

Basically, it talks about how software has killed people, and then compares it to how poor engineering caused a bridge to collapse in Canada. Now engineers in Canada all study ethics, take an oath, and wear a ring as a reminder that what they do can kill people. Should we have similar conversations about programming?

Or at the least, make sure you at least have plausible deniability if you do so.

Umm, I don't think this is a great takeaway. The whole point is that programmers have an active role in, and as this sentence proves, a responsibility for, the code they write. Plausible deniability isn't enough.
30  Game Development / Newbie & Debugging Questions / Re: JavaFX updating a Label on: 2017-08-26 19:25:20
You can not call JavaFX functions from a second thread! That's the problem.

I feel like you're not understanding the advice you're being given. Have you tried googling "javafx threading"? There are a ton of results, including:

Please make sure you understand what people are telling you to do before you tell them it won't work.

Basically, you need to do the "work" on another thread, and then use Platform.runLater() to update your label. Presumably the Platform.runLater() call would be inside the loop. The loop would not be on the UI thread.
Pages: [1] 2 3 ... 39
Ecumene (147 views)
2017-09-30 02:57:34

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

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

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

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

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

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

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

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

theagentd (1425 views)
2017-03-24 15:32:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

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 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!