Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (736)
Games in Android Showcase (224)
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 ... 5
1  Discussions / General Discussions / Re: Linux builds on: 2017-09-07 02:37:02
I hate to say this, because it's kind of a "well... thanks for nothing!" type of answer but.. Linux doesn't have a unified way of doing this. My experience is limited to Debian based distros and the way they do it is to have a .desktop file somewhere. And that somewhere is also up in the air depending on desktop environment. But here is a link to setting up a desktop file for modern versions of Ubuntu running the Unity environment:

Hope this helps a little.
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-06-06 12:49:05

Mobile games are all about cool vector graphics nowadays, but I prefer working with text, and SVG is a pain. So I glued JRuby to Java2D and made an editor for it with Swing Cool

This is really cool! How feature complete is it? What format does it save / load from? Open Source? Plans for release?
I would love to try it out, I too prefer working in text for vector graphics.
3  Game Development / Game Mechanics / Re: Simulating orbital gravity with a prediction of trajectory (Multiple attractors) on: 2017-02-21 00:01:39
Maybe this will be of use:
<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>
4  Game Development / Performance Tuning / Re: JNI passing data from Native to Java on: 2014-10-28 18:02:55
you're too used to a JVM!
5  Discussions / Miscellaneous Topics / Re: Getting back in touch with reality on: 2014-05-29 15:11:02
I think it is inevitable. Any time you are doing one thing long enough, no matter how fun/engaging/rewarding/challenging it is, you will need to take a step back and do something else. Otherwise you burn out, and then you hate it for a long time. I routinely take breaks from programming, so much so that my breaks are more or less scheduled. Typically I will program for about 2 weeks straight, then take a week to do something else. One of the reasons I love programming games so much is that there is so much more to do than programming! There is art, music, sound effects, character building, etc. Keeps me from getting burnt out, and I find that if I was stuck when I took a break and came back I was able to solve the problem with fresh eyes!
6  Discussions / General Discussions / Re: New feature: topic labels [solved] on: 2014-05-07 02:37:28
This is a really great feature!

Could we add an [unsolved] label? Maybe make it yellow?

That way if I am in a question-answering-mood I know at a glance which threads to pop into, or if I can't be bothered which ones to avoid  persecutioncomplex
7  Discussions / Miscellaneous Topics / Re: Can anyone give me 10 words all related to one thing in common? on: 2014-04-01 15:11:21
one, two, three, four, five, six, seven, eight, nine, ten. All these words are related to numbers!  Grin

had to do it, sorry.
8  Discussions / Miscellaneous Topics / Re: new computer purchase advice on: 2014-04-01 15:07:32
Off topic just a little bit,


If you are looking for a good Linux system, I recommend Ubuntu-Gnome. They do away with the god-awful Unity Shell, and replace it with the Gnome 3 desktop environment. You still get all the benefits of vanilla Ubuntu (updates, applications, and upstream bug fixes) but with a usable workflow instead. If you are looking for Linux, then IMHO Ubuntu-Gnome is the way to go right now.

9  Discussions / Miscellaneous Topics / Re: new computer purchase advice on: 2014-04-01 05:19:45
I always recommend building your own, and if you're going to build your own, then I always recommend this site:
10  Discussions / General Discussions / Re: Programmer jokes on: 2014-03-17 21:18:24
Software is a lot like sex, make one mistake and you have to support it for the rest of your life.
11  Game Development / Newbie & Debugging Questions / Re: Compile and Debug Java on: 2014-03-09 19:40:24
Eclipse > Intellij > Netbeans. IMO


but what about BlueJ?
12  Games Center / WIP games, tools & toy projects / Re: Platformer - SAGL 1.0 on: 2014-03-08 05:08:46
the topic is empty...   Undecided ... what is this?
13  Games Center / WIP games, tools & toy projects / Re: eXo - snappy space strategy on: 2014-02-17 23:06:14
I played your 4k entry for hours! It is really nice to see a full game come out of it. Good work.
14  Games Center / WIP games, tools & toy projects / Re: Pixel Battle Arena //prototyp on: 2014-02-04 17:46:09
This looks amazing! Nice job man, I love the pixely graphic style. Looking forward to future development.
15  Games Center / WIP games, tools & toy projects / Re: Galactic Progress on: 2014-02-02 07:20:47
So how is this project going? Any recent updates?
16  Game Development / Artificial Intelligence / Re: Active Time Battle AI :: Am I doing it right? on: 2014-01-10 17:49:12
This looks pretty good to me. I would be interested to see the final version.
17  Games Center / WIP games, tools & toy projects / Re: Headline Benchmark on: 2013-12-19 05:46:38
Well, that was fun. Watching my computer transform into a jet turbine and fly around the room, barely held down by its power cord!  Grin

I don't think that the results were submitted though, I got a 'not supported error' in the terminal when I hit submit... still fun.
18  Discussions / Suggestions / Re: OP Marks/Tags? on: 2013-11-05 23:21:04
I think highlighting the op's posts would be a good idea. Similar to how post highlighting works currently. Though I think this is more of a suggestion to take up with the SMF guys, not here.
19  Games Center / Contests / Re: One Game A Month - November Edition on: 2013-11-05 23:18:35
+1 for a Google+ sign in. [see what I did there  persecutioncomplex ]
20  Java Game APIs & Engines / OpenGL Development / Re: Why Can't I Find Bitmap Fonts? on: 2013-10-26 22:02:17
I made a pretty good Font Loader that creates bitmap fonts from True Type Font files, and the built in Java Fonts. It is part of my home-brew game engine, GenesisEngine, and you can find the related files here, and here. If you are interested.
21  Game Development / Newbie & Debugging Questions / Re: What's the best way to go about game states? on: 2013-10-24 00:35:28
@Znnga thats a really nice set of classes you have there, I hope you don't mind if I steal your ideas Wink

Absolutely! Glad to be useful.
22  Game Development / Newbie & Debugging Questions / Re: How to check if v-sync is actually enabled on: 2013-10-21 05:38:06
@Grimmov: My friend, welcome to frame clamp loops! (it is what I call them anyway)

I assume that your run loop functions similar to this:
  • Gather input
  • Update the scene
  • Render the scene
  • repeat

What you want to do is remove the frame rates dependence on how fast the game can update. So instead of the above do something similar to this:

target frame rate = 60 frames
time between frames = 1 second / target frame rate

render time = 0;
delta time

start loop

while render time < time between frames,
  record the current time
  gather user input
  update the scene(using delta)
  subtract the recorded time from the current time and set delta equal to it
  then add delta to render time
  As soon as render time becomes equal to, or greater than, time between frames this loop ends and you move on to rendering

set render time = 0


Now your loop keeps updating the scene (doing calculations, gathering user input, and running all your math) until you need to render. Then you render, reset some variables and repeat the process.

obviously the above is not code, but when you implement this right, you get rock solid frame rates, and a loop that preforms the same on most computers (I only say most because there are some dinosaurs out there)

This is a fairly common approach to your problem (not the vsync part, but the reason you think you HAVE to have vsync)
If I wasn't so lazy I would link you to a good post from this forum on game loops, but for now I hope this is helpful.
23  Game Development / Newbie & Debugging Questions / Re: How to check if v-sync is actually enabled on: 2013-10-21 01:59:00
You could always adjust your scrolling code. The math behind your scroll code should have nothing to do with frame rate what-so-ever. Common technique is delta timing, making movement independent of frame rate by multiplying your math by the time between frames. If you still get issues after that, try flooring your values to Integers when you draw, making them line up with individual pixels nicely.

my two cents.
24  Games Center / WIP games, tools & toy projects / Re: Genesis Engine on: 2013-10-19 21:53:59
CRAP That post came up the SECOND I finished updating my engine...  Shocked
What bugs did you fix specifically?

I try to include a general overview of the fixes, additions, and removals in the commit message but specifically:

+progress actor
+vsync option to engine creation
+get selection index and text for scroll boxes and radio buttons
+flag to set scroll box elements to behave as checkboxes (stay selected) or buttons (clicked)
+set value method to slides
+remove scene method to theaters
*positioning of scroll box elements (y position was overlapping)
key: (+) added, (-) removed, (*) fixed
25  Games Center / WIP games, tools & toy projects / Re: Genesis Engine on: 2013-10-19 20:11:03
New versions have been added to the repo.

A batching update is coming soon, but for now I committed a bunch of bug fixes and code improvements.
Get version 0.0.3 here
26  Games Center / Showcase / Re: Stupid Human Castles on: 2013-10-19 18:00:15
This is cool, I will certainly play it.
27  Game Development / Game Play & Game Design / Re: Handling RPG Inventory on: 2013-10-19 17:58:14
I think that this is a great way to handle items.
For RPGs you typically have lots of items in the game, some times approaching the hundreds to thousands of unique items the player can interact with. Having that many individual classes would be ridiculous and un-maintainable, so I think you have made a good choice.

As far as using XML or other methods, such as JSON, well, that is entirely up to you. As long as your program can read and write to it, and you understand it, you could write bytes to a text file for all the difference it would make.

An added bonus of implementing items this way is the ability to add items later without to much work. However, doing items this way introduces a ton of work up front in the form of decoding, encoding, and determining the functionality of the item from what you decoded.

Keep going, and I would love to see what you come up with.
28  Discussions / General Discussions / Re: "Recent Posts" changes suggestions on: 2013-10-16 20:41:32
@Roquen: Good to know, lol
29  Discussions / General Discussions / Re: "Recent Posts" changes suggestions on: 2013-10-16 20:16:42
What about adding "tracking" of user behavior so that it sort the messages weighed by "newness" and the probability that the user will find them interesting?

With what data would you 'sort' the posts by? Thread title?

"I click on threads with the word 'popcorn' in the subject a lot, so I want all posts with the word 'popcorn' in the subject to appear first in the new post list, because if it says 'popcorn' it must be more interesting!"

completely useless functionality and a waste of time, IMO.

Like in topic. I think that the most of people here are using this panel to see what was posted recently, but it is not perfect. Suggestions:

  • highlight posts/topics made by highlighted users
  • highlight (in another color) new posts since last refresh/visit
  • make posts which start new thread more visible (another font color, "new topic" graphic before post?)

I like the highlight idea. Though I agree with Riven, pester the SMF guys until they submit!
30  Game Development / Newbie & Debugging Questions / Re: animation looping using double buffering on: 2013-10-16 20:05:06
Asking to be spoon feed code doesn't really work well here.

If you want someone else to provide code to you, then there are plenty of freelance sites out there where you can find a programmer.

If that is not the case,

Then show us what you have and where your specific problem is; do you need help with the movement? with the rendering? loading an image? what? Show us that you have put in some effort to solve the problem and give us who are willing to help an entry point into your problem.
Pages: [1] 2 3 ... 5
cybrmynd (138 views)
2017-08-02 12:28:51

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

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

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

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

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

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

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

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

Rule (1312 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!