Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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 ... 14
1  Discussions / Miscellaneous Topics / Re: Graphing / Chart Library Help on: 2007-02-27 15:15:10
Thanks for the suggestions.  Unfortunately, neither of those does x/y/z data.  The 3d pie is really only a 2d chart, presented in 3d.

Anyone else have suggestions?

2  Discussions / Miscellaneous Topics / Graphing / Chart Library Help on: 2007-02-26 21:19:30
I'm trying to find a charting library to do line x/y and 3d plots.  My max data size would be about 10 meg of x/y/z data.

Does anyone have any experience with scientific visualization using java?

Recommendations on libraries to use?

3  Java Game APIs & Engines / Java Sound & OpenAL / Re: Recording Audio Via JWS and XFer Using ftp on: 2007-02-12 16:14:44
Thank you both for the replies.  I'll have to poke around a bit and see how the implementation works out.

4  Java Game APIs & Engines / Java Sound & OpenAL / Recording Audio Via JWS and XFer Using ftp on: 2007-02-08 20:18:57
I need to make a simple app that can record speech for me. This application will be used by non-technical people, who have little to no understanding of audio formats, specs, etc.

This is what intend to do -

- Record audio on the users computer
- Play audio on the users computer
- Save the audio to a file on their computer
- Send the file to my computer
- Run using JWS

My thought is to run a simple ftp server on my computer (on a non-standard port). The app would ftp the audio files up after they have been recorded.

The user would do the following -

1 - Run the app via JWS
2 - Press a button to start the recording
3 - The screen would present a word to the user, which they say
4 - The app pauses a few seconds and the shows another word
5 - After say 10 words, the application automatically stops recording
6 - The file is transferred up to the server
7 - The repeat 2 - 6 a few times for different sets of words
8 - They are now done and exit the app

I'm sure there are ftp libraries out there for java. The thing I'm not sure of is how to do the recording, ie what approach - JMF, Java Sound, other?

Can you all share some experience and make some suggestions?

5  Java Game APIs & Engines / Java Sound & OpenAL / Re: Microphone on Macintosh? on: 2007-02-08 20:17:31
As I recall on my Mac Powerbook, only 44.1khz formats are supported.  I don't know why that is.  I remember making a quick app which showed the formats that were valid for recording, but its long gone now.  You should be able to gen one up fairly quickly though.

6  Java Game APIs & Engines / Tools Discussion / Angelcode BMFont Creator for OSX and Linux on: 2007-01-04 02:27:30
I wanted to create some of my own font files to use with the AngelCode font loader. I can't find any tool to create them, except for the windows one at the Angelcode website.

Does anyone have any ideas?  It seems like there might be a way to create a java tool to generate the files, then we'd all get to use this nice font solution for openGL.

Dr. A>
7  Game Development / Shared Code / Re: Triangulizing any text, any Font, any Shape, for 3d use... on: 2007-01-03 16:34:40
Does anyone have the source for this, as the links are dead.  Sad

Dr. A>
8  Game Development / Newbie & Debugging Questions / Re: Solving Simple tank problem with matrices on: 2006-10-20 05:41:16
It shouldn't be the problem.  The problem is wholly independent of 2d drawing in java.  So, my Y going left and X going out the front of a vehicle should be acceptable.  It might be a tad confusing, but I believe its fine.

I tried to make this problem independent of right and left hand coordinate systems, by reducing it to a 2d one.

Other thoughts?

Dr. A>
9  Game Development / Newbie & Debugging Questions / Solving Simple tank problem with matrices on: 2006-10-20 00:12:03
Ok, so I've tried a few times to figure this out and keep getting the answer wrong.  I've attached a picture to make it more clear.

You have a target point, which is relative to a missile.  I want to find the target location relative to the tank turret's coordinate system.

target location relative to missile coordinate system = (8, -4)
tank location relative to missile coordinate system = (4, 0)
turret is rotated 45 degrees from the front of the tank
The coordinate system is X out the front of a vehicle and Y to the left

Using basic algebra, you can find the answer almost trivially.  I want to understand the process when using rotation matrices.

I thought the answer should be -

R(-45)R(90)(target pos - tank pos)

Where R(x) represents the rotation matrix of x degrees.

I seem to end up getting the correct number (4* sqrt(2), 0), but I end up with it being negative, which isn't correct.

So what is the correct way of doing this?

Dr. A>

PS - I was using column vectors, so my rotation matix looked like:

cos x  -sin x
sin x  cos x

so P2 = RP1

| x2 |  =  | cos x  -sin x | | x1 |
| y2 |     | sin x   cos x | | y1 |

10  Game Development / Newbie & Debugging Questions / Re: Detecting specific mouse movements on: 2006-10-10 21:53:13
Interesting question...

You could try fitting the user's mouse points to a pattern.  You'd do something like this for a circle

- Collect X number of mouse points (could be based on time or just the last x mouse movements, either way you have a collection of them)
- Find the points with the smallest x and y
- Find the points with the largest x and y
- Take the four points and use the largest and smallest values to construct two new points, which define a bounding box that encompasses all points
- Calc the center of the box
- Create a circle shape, centered in the bounding box with a radius of half the length of the bounding box (you now have a large circle inscribed in a box)
- Create a smaller circle, centered, that extends to say 1/4 the length of the box.
- Now count the number of points that exist between the two circles

You'd have to decide an appropriate number and a tolerance on the relative circle size.  This assumes you're trying to detect not only a circle, but roughly a certain size of circle as well.

Pictures might make more sense in describing this back of the napkin type idea.

Dr. A>
11  Discussions / Miscellaneous Topics / Re: Simple regex help on: 2006-09-18 15:11:04
Breakfast you are truly a Phoentic Warrior!

I label regex-s as evil, much the same way I label lex and yacc.  Everytime I try to learn about them, the description is just as confusing as the syntax.  I would learn far better with a bunch of examples and their results.  If I could just find that mixed in with the traditional explanations, I'd probably avoid the hate completely.

I recently used the Spirit library from Boost and found it to be excellent.  While not everything was intuitive to me, creating parsers and grammer rules just made sense.  Some day my Jedi powers will be strong enough to bring balance to my programming.  Until then, I'll keep using my Goto statements.  Smiley

Dr. A>
12  Discussions / Miscellaneous Topics / Re: Simple regex help on: 2006-09-17 20:16:09
This isn't a java project its so I can search through files on the command line and figure out which ones I need to examine.

I think cylab has the solution for me.  I can remember it for other cases!

Much thanks to all for their input.

Dr. A>

PS - <troll bait> While I understand how powerful regex-s can be, I think they are evil, just like perl!! </troll bait>
13  Discussions / Miscellaneous Topics / Re: Simple regex help on: 2006-09-14 21:03:59
I'm confused.  "*happy*" minus "unhappy"  doesn't look like a regular expression (regex)

Some examples of a regular expression would be -

[01234]   which would match a single number between 0 - 4
[0-4]  the same as above
\bword\b  matches word with nothing next to it, ie it can't be in the middle of other text

Thats about the sum total of my regex knowledge, hence my please for help.

Dr. A>
14  Discussions / Miscellaneous Topics / Simple regex help on: 2006-09-14 19:26:56
Can some regex guru tell me the magic incantation to match this situation -

- find the word happy

- ignore unhappy

- match happy starting or ending with anything else

examples which should match -

-- happy --

I'm trying to search through some files in linux using grep, but I can't figure out how to construct the regex to do that.

Dr. A>
15  Discussions / Miscellaneous Topics / Re: Lego NXT Robotics on: 2006-09-14 19:22:01
Thats a pretty cool card dealing robot.  What's more they incorporated the full black jack game.

I tried to contact the lejos team, but never got a response.  Sad

Has anyone gotten ahold of an NXT system yet?  They've been on sale in the US for awhile now.

Dr. A>
16  Java Game APIs & Engines / Java Sound & OpenAL / Re: is GAGESound right for me? on: 2006-09-07 18:53:13
I'd be interested in it.  The GAGE stuff shouldn't fall off the map, so an update like this would be good.

Dr. A>
17  Game Development / Networking & Multiplayer / Re: Using xstream with JWS / JNLP on: 2006-09-07 18:44:03
I was able to get things working, by signing the jars and setting the <all-permissions/> tag in the jnlp.  Smiley

Can someone tell me what other tags are available under the <security> section of the jnlp?  The docs at Sun don't mention anything other then the one I used.

Dr. A>
18  Game Development / Networking & Multiplayer / Using xstream with JWS / JNLP on: 2006-09-06 16:07:05
I've got an app that uses xstream ( to serialize objects in and out for me. I can jar my application up and run it fine. When I try to deploy it using java web start, I get a security error.

Caused by: access denied (java.lang.RuntimePermission accessDeclaredMembers)
at Source)
at Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkMemberAccess(Unknown Source)
at java.lang.Class.checkMemberAccess (Unknown Source)
at java.lang.Class.getDeclaredFields(Unknown Source)
at com.thoughtworks.xstream.core.JVM.<clinit>(

Has anyone used xstream with jws?

Dr. A>
19  Java Game APIs & Engines / Java Sound & OpenAL / Re: JOAL and Java Web Start on: 2006-09-03 21:33:41
I tried the demos using JWS from the joal site.  They worked great!  I'll check the new release out and report back if there are any issues.


Dr. A>
20  Java Game APIs & Engines / Java Sound & OpenAL / Latest Release Not Working on OSX on: 2006-09-02 04:38:09
I tried to download and run the joal demos directly.  I posted on the the JWS versions, as they didn't work for me.

Unfortunately I can't get them to work when I have the jars local.  Here's what I'm getting

 java -cp joal-demos.jar:joal.jar:joal-natives-macosx-ppc.jar:jutils.jar:. demos.devmaster.lesson1.SingleStaticSource java.lang.UnsatisfiedLinkError: no joal_native in java.library.path
        at demos.devmaster.lesson1.SingleStaticSource.initialize(
        at demos.devmaster.lesson1.SingleStaticSource.main(
Caused by: java.lang.UnsatisfiedLinkError: no joal_native in java.library.path
        at java.lang.ClassLoader.loadLibrary(
        at java.lang.Runtime.loadLibrary0(
        at java.lang.System.loadLibrary(
        at Method)
        ... 4 more

Did I screw up my command line or is something broken?

Dr. A>
21  Java Game APIs & Engines / Java Sound & OpenAL / Re: JOAL and Java Web Start on: 2006-09-02 03:26:55
When I tried to run the first JOAL JWS demo, I got silence.  Sad  I'm using the following -

Mac OSX 10.4.7

Here's a dump of the exception log from JWS -

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Can not get proc address for method "alcCaptureCloseDevice": Couldn't set value of field "_addressof_alcCaptureCloseDevice" in class
   at com.sun.gluegen.runtime.ProcAddressHelper.resetProcAddressTable(
   at demos.devmaster.lesson1.SingleStaticSource.initialize(
   at demos.devmaster.lesson1.SingleStaticSource$1.actionPerformed(
   at javax.swing.AbstractButton.fireActionPerformed(
   at javax.swing.AbstractButton$Handler.actionPerformed(
   at javax.swing.DefaultButtonModel.fireActionPerformed(
   at javax.swing.DefaultButtonModel.setPressed(
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
   at java.awt.Component.processMouseEvent(
   at javax.swing.JComponent.processMouseEvent(
   at java.awt.Component.processEvent(
   at java.awt.Container.processEvent(
   at java.awt.Component.dispatchEventImpl(
   at java.awt.Container.dispatchEventImpl(
   at java.awt.Component.dispatchEvent(
   at java.awt.LightweightDispatcher.retargetMouseEvent(
   at java.awt.LightweightDispatcher.processMouseEvent(
   at java.awt.LightweightDispatcher.dispatchEvent(
   at java.awt.Container.dispatchEventImpl(
   at java.awt.Window.dispatchEventImpl(
   at java.awt.Component.dispatchEvent(
   at java.awt.EventQueue.dispatchEvent(
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(
   at java.awt.EventDispatchThread.pumpEvents(
   at java.awt.EventDispatchThread.pumpEvents(
Caused by: java.lang.RuntimeException: Unable to find and load OpenAL library
   at com.sun.gluegen.runtime.ProcAddressHelper.resetProcAddressTable(
   ... 29 more

Dr. A>
22  Discussions / Miscellaneous Topics / Re: Lego NXT Robotics on: 2006-08-07 20:18:45
It appears the lejos team has been working on the NXT version.  Here is a link to the gmame archive of listserv posts -

I'm hoping christmas will provide me with an NXT kit.  Smiley

Dr. A>
23  Discussions / Miscellaneous Topics / Re: Lego NXT Robotics on: 2006-08-02 19:58:39
dsellars -

Much thanks!  Thats the first time I've been able to get ahold of solid documentation.  I still haven't found the application that ships with the NXT.  I'm suprised its that hard to find.  Of course I could be missing the obvious.  I've tried doing all kinds of searches and nothing comes up.

is one of the java environments for the original Mindstorms kit, which you have.  You could always make a java game using the robot.  Smiley

Dr. A>
24  Discussions / Miscellaneous Topics / Re: Lego NXT Robotics on: 2006-08-02 15:38:19
None of you have ever swooned over Lego robotics?  Not even when they run Java?

Dr. A>
25  Discussions / Miscellaneous Topics / Lego NXT Robotics on: 2006-08-01 18:02:37
So Lego has come out with their latest Mindstorms robotics kit, the NXT.  Its got all the greatest stuff, lcd, bluetooth, usb, inputs, etc.  The old RIS kits eventually had a Java port done to them to use java as a development environment.

So here's my annoyance - No money to buy one right now.  Sad

I wanted to download their software to see how to program using their stock kit.  The problem is I can't locate a download anywhere.  Sad  What happens if someone loses their install CD?

Surely some of you out there have caught the NXT craze and are probably lucky enough to have a kit.   Anyone know how to get the software at least?

Dr. A>
26  Discussions / Miscellaneous Topics / Art of Illusion / JOGL on: 2006-01-25 20:57:01
I wondered if anyone has had this weird issue using Art Of Illusion (Java 3d modeler).

- Run the app.  Open the preferences screen.  It shows up and then disappears almost right away.

I'm using a Mac and have found a way around the problem.  If you have the preferences set to use openGL, it will do this.  If openGL is disabled, it won't.  To ensure the setting is correct, locate the preferences file (aoiprefs) in your home directory.  Its under Documents and Settings/(user name) on windows.  The property entry is -


Switch it to true or false to change behavior.

When set to true, AOI uses jogl for its 3d views.  Anyone have any info on this?

Dr. A>
27  Games Center / 16K LWJGL Competition - 2005 / Re: How dead is this? on: 2005-10-28 15:29:54
Doh!  Well, prizes or no, I was looking forward to some good stuff.

Sigh.  I think it should still be a go.  What a great way to end the year!

Dr. A>
28  Game Development / Newbie & Debugging Questions / Re: Rotation of translucent images (png) on: 2005-10-27 15:23:07
Pre-rotating your images will certainly help.  Also, since you are using alpha you are going to take some slow down on the copying.

If you use transparent ie alpha 0 or 255, you will get some performance gain that way.  There used to be some sample code for a simple performance test of png with alpha on the forums here.  I didn't write it, but it was because of some similiar questions I had asked.  If I find it, I'll reply with a link to it.

Dr. A>

PS - Do you have a sample app to demo?

PPS - Found a link
29  Games Center / 16K LWJGL Competition - 2005 / How dead is this? on: 2005-10-26 15:59:29
I'm guessing this is a dead compo?  /sighs as 'Another One Bites The Dust' plays in background

Dr. A>
30  Discussions / Miscellaneous Topics / Re: Pirated P2P Games: Free Electronic Distribution for Independent Studios on: 2005-10-24 14:37:20
matzon - I wouldn't totally agree with the statment at 16'ish year olds don't have money.  They do - its called their overindulgent parents.  I see more parent's plunking down cash for their kids than I care to, especially since they take no interest in what the game is.

I've wanted to whack some parents for blinding purchasing Resident Evil for their 7 year old or GTA for that matter.

Dr. A>
Pages: [1] 2 3 ... 14
DesertCoockie (20 views)
2018-05-13 18:23:11

nelsongames (68 views)
2018-04-24 18:15:36

nelsongames (65 views)
2018-04-24 18:14:32

ivj94 (748 views)
2018-03-24 14:47:39

ivj94 (79 views)
2018-03-24 14:46:31

ivj94 (555 views)
2018-03-24 14:43:53

Solater (94 views)
2018-03-17 05:04:08

nelsongames (168 views)
2018-03-05 17:56:34

Gornova (338 views)
2018-03-02 22:15:33

buddyBro (998 views)
2018-02-28 16:59:18
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!