Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (679)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (734)
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 ... 44
1  Discussions / Jobs and Resumes / Re: Efe Tozan - Full Time Composer For Your Games on: 2016-05-24 22:16:54
Very impressive!
2  Game Development / Newbie & Debugging Questions / Re: What library should I work with?(if any at all?) on: 2016-05-16 02:35:09
JavaFX in its current form is relatively new, so I think there are more than a few people here who are substantially invested in LibGDX, LWJGL, even Java2D that haven't truly given it a proper go. I was encouraged to try it anyway when princec, the original author of LWJGL, gave it a thumbs up as viable and interesting.

It supports a lot of special graphical effects, and it is definitely easier to learn and use than Java2D, as well as much more powerful in most regards. Unlike the earlier iteration of JavaFX, the code looks and reads like Java rather than like a separate language that has been tacked on. One of my discomforts with LibGDX has been that between its API (mostly good but not as deeply designed and polished as Java or JavaFX) and the difficulties of making OpenGL work, I found the learning curve to be steep.

JavaFX is not so great a choice if you want to make Android or iOS games, though. And there is not as much support, it seems, for game programmers, as of yet. Not a lot of tutorials made with game programming in mind.
3  Game Development / Newbie & Debugging Questions / Re: Sound on Debian Jessie Linux on: 2016-05-08 05:40:59
Try little-endian. I think it is more common. This is the format I always use and I've not had any troubles like you describe. My Linux is a different version though, as I use Ubuntu.
4  Game Development / Newbie & Debugging Questions / Re: Sound on Debian Jessie Linux on: 2016-04-26 02:46:16
Just to double check, because I'm not sure what you mean when you say you are using AWT's sound. AFAIK, there is no play() method for audio in the AWT library.

The main sound libraries for Java audio playback are contained in javax.sound.sampled. The output classes that should be already implemented and running on any system that runs Java are the Clip and the SourceDataLine. Are you trying to execute the play() method of a Clip?

What is the class of the "audio" variable you mentioned in your original post, as in ""?
5  Game Development / Newbie & Debugging Questions / Re: Sound on Debian Jessie Linux on: 2016-04-24 02:43:50
  Most of the articles I've read have said to change a file and uncomment something, but the problem is that I do not have administrative access to even open these files, much less change them.

I don't know a lot about Linux, but isn't the deal for getting administrative access something like going to a control prompt (is the program named Terminal?) and typing "sudo" before the command that you want to execute? Of course, that assumes you know the admin password.
6  Games Center / WIP games, tools & toy projects / Re: Vangard on: 2016-04-24 02:38:54
I gave the program a go a few days ago. It took me a while to figure out what I was doing, and I still have questions. But overall, it was intriguing and seems like it must be working as designed.

The first time I tried it, I didn't have your summary instructions and really floundered. I didn't figure out that the center sprite was the one being controlled. I couldn't tell that anything was happening when the arrow keys were pressed, as there is a lot of movement going on at the same time. For example, hitting the up arrow (I now know) moves you "forward" but given that the AI or whatever might be pointing you in any direction, it is hard to pick out the right movement and infer the control. Or at least, it was for me. Also I expected the down arrow to allow backwards movements. And I mistakenly was expecting the keys to be left/right/up/down, not rotate/forward.

Second time, I had reviewed your instructions and I figured out a lot more. But was stumped by trying to pick an apple off of a tree. Third attempt, I realized that the interaction is via the menus that pop up, not clicks on the countryside depiction. I'm not sure how you find your hovel if you forget where it is. I guess, by giving control back to the AI and letting it go back to home?

Now, after having picked and sold a few apples, I am wondering about the character I was started with. As far as I can tell it sleeps at its hovel, then goes to the market and hangs out there doing ??, and then goes home and sleeps again. I was not able to observe its profession or get anywhere when trying to buy a shovel and go mining or farming. So, I remain puzzled as to how I might add value to whatever the AI is already doing for my character.

I guess the next step is to go watch several different characters, and learn what is going on that way.

I think the graphics are functioning quite well. I like them. I look forward to seeing how this neat project develops.
7  Java Game APIs & Engines / Java Sound & OpenAL / Re: Java OGG API with concurrent playback on: 2016-04-18 09:29:06
I would trust what princec has to say more than philfrei, and that goes double for philfrei of 2013.
8  Game Development / Game Play & Game Design / Re: Is a Binaural Sound Engine in Java possible? on: 2016-04-12 04:06:18
This thread has my first hack at 3D sound, using pure Java. Since the original question was about whether this is possible or not, it seemed useful to have a link here.
9  Games Center / WIP games, tools & toy projects / Re: Skullstone - a dungeon crawler game on: 2016-04-12 03:54:00
I like the audio tracks a lot. The loops are polished, expressive, and wear well, with good levels of tension, so they should work as game play gets tenser or relaxes. Getting game play to have dynamic arcs can be a challenge though. There's always a danger of: "oh there's another monster, kill it, walk walk walk, oh there is another monster, kill it..." which can get a bit flat.

I don't know if your audio system is set up to do this, but (small point) instead of looping a flaming torch sample (the sample you have sounds like a good one), can you play a continuous stream of slices from the torch sample? I'm thinking slightly overlapping 1/4 or 1/5 second slices, selected randomly from the sample. As long as the player is moving around, the torch audio is long enough that you don't hear the loop. But if a person stops by a torch, it can become apparent. Something similar to the treatment of the brook sound here might be a small but nice touch. Am happy to share the algo, but I don't know your audio system. Can you output a continuous PCM data stream as audio?
10  Games Center / WIP games, tools & toy projects / Re: PFTheremin on: 2016-04-10 19:21:12
PFTheremin, SoundHandler API

   SoundHandler sh = new SoundHandler();

Class is located in the package: com.adonax.jtheremin

   // Following are methods of SoundHandler, e.g., sh.start();
   void start() // turns on audio thread
   void stop()  // turns off audio thread

   void startSync()  // save a reference sound frame and nanotime for internal event
             // used to schedule the pitch updates, can be called any time the
         // pitch updates develop lag beyond a built-in 1800 frames

   void setSynth(String name) // {"FM Sawtooth", "FM Square"}

   void startNote()  // theremin note starts playing, called by mouse-down
   void releaseNote()  // theremin note released, called by mouse-up
   void updateVolume(float normalizedFloat)  // Y-axis position scaled to float [0..1]
   void updatePitch(float pitch, long timeStamp) // pitch = actual Hz to be played
         // timeStamp (nanotime) = when that pitch occurs
         // the frame where the pitch will be scheduled is calculated from the
         // values stored in startSync()
   void updateVibDepth(float normalizeFloat) // vibrato affects both pitch and volume
   void updateVibRate(float normalizedFloat) // [0..1] corresponds to 2Hz..18Hz
         // distributed via a power function x^2
   void updateTimbre(float normalizedFloat)  // [0..1], corresponds to a range of values
         // preset in synth, sometimes referred to as FM Modulator Index
   void setModulatorFeedback(float normalizedFloat) // more FM stuff, affects timbre

   // control of Echo via the SoundHandler, e.g., sh.setEchoRunning(true);
   void setEchoRunning(boolean echoRunning)  // make the echo effect audible/quiet
   void setEchoMillis(int millis) // time until first echo
   void setEchoVolume(float normalizedFloat)  // volume of echo
   void setEchoFeedback(float d) //

The following function may be useful for generating pitch values procedurally. Midi note values are linear, one per "piano key", with "middle C" = 36. Fractional notes are possible.

   double PitchFunctions.getHertzFromMidi(float midiNoteValue)

The package of this static class: com.adonax.pfaudio.midi

(Please message me if you want to use this as an external library in any game or application you are making.)
11  Games Center / WIP games, tools & toy projects / PFTheremin on: 2016-04-10 19:17:04

jar download > PFTheremin

Continuing on the theme of making scalable audio assets...a theremin in the works. The JavaFX GUI allows it to be played in real time.

I started writing about this and went overboard, so deleted everything. Minimum needed to know to try it out:

> mouse down in the orange area to get playback
> X-axis is pitch, Y-axis is volume (and optionally mapped "Expression Axis" features)

Next post will be an api for use as an external library, if you want to try incorporating this audio functionality in a game you are writing.
12  Game Development / Newbie & Debugging Questions / Re: Time, delays, etc on: 2016-04-01 07:42:57
Good suggestion. I'd like to add that there is also the option of a ConcurrentSkipListSet, where you could use your timestamp a Comparator. Part of the point is that this way one can have the set be invoked in the "game loop" but at the same time have asynchronous events, such as things driven by mouse or key actions, be added into the queue concurrently rather than as part of the game loop.
13  Game Development / Articles & tutorials / Re: Getting Started with JavaFX Game Programming (for Java Programmers) on: 2016-03-31 18:30:11
10,000+ views and counting and no comments or feedback. How should I interpret this?

-> Interest exists in the topic, but my writing is not so great or my examples not so useful?

Insecurely yours, Phil  Clueless
14  Game Development / Articles & tutorials / Re: Getting Started with JavaFX Game Programming (for Java Programmers) on: 2016-03-31 18:24:26
I just came across what seems like a good recommendation for the Node on which to place a Keyboard "listener." The suggestion is to use the Group node that is at the root of the node tree for the GUI, i.e., the node that is passed as a parameter to the Stage.

This is the practice used in the book "Learn JavaFX 8" by Kishori Sharan, Apress. From what I've seen so far (reading selections on Safari via local library account), this is a very useful book. Unlike many books on JavaFX, this one is receiving high evaluations, mostly 5's and 4's. It goes into depth on the specifics of the GUI and has good coverage of the use of the -fx api for using CSS commands directly to style GUI elements.

I still like "JavaFX for Dummies" for getting started, and for its excellent explanation of lambdas. Of the books I've checked out, these are the only two I recommend so far. There is another book that has separate chapters on using JavaFX for Android and iOS, but on first scan it seems like it could be dangerously sketchy (book has some low evaluations). From folks here at JGO, I'm hearing that the resulting code of the porting tools is not that great, but I haven't had a chance to test this myself and get a sense of just how much is lost in the translation.
15  Games Center / WIP games, tools & toy projects / Re: Vangard on: 2016-03-29 22:11:01
Walking living-challenged.
16  Games Center / WIP games, tools & toy projects / Re: Vangard on: 2016-03-29 22:05:11
I was more concerned about zombies and spells to set your foe on fire by mumbling the alphabet in reverse order.
It is often very important to get the order/reverse order thing correct. The spell for making a Golem from mud can turn the person who speaks the spell into mud if the wrong order is used.
17  Java Game APIs & Engines / JavaFX / JavaFX on Mobil and Embedded on: 2016-03-27 06:28:12
JavaFXPorts is the open source project that brings Java and JavaFX to mobile and embedded hardware, including iPhone, iPad, Android devices, and the Raspberry Pi.

Anyone here check this out yet?
18  Java Game APIs & Engines / Java Sound & OpenAL / Re: LibGDX audio not loud enough on: 2016-03-24 21:58:26
Libgdx has pan support and that's about it. If you use the AL backends you can make it 3D sound.

There isn't exactly a master volume setting as it just uses the gain function in AL to change the volume. Gain in OpenAL is a value between 0 and 1, (which is relative to the constant AL_MAX_GAIN which is normally 1 if I recall).

If you'd actually want to amplify sounds, you'd have to get the PCB data of the sound, actually edit it yourself, and play it back again using AudioDevice.

That's useful info!

So, I'd check that the values used for playback are actually set to 1, and if needed, tweak the AL_MAX_GAIN if it is reachable. From what the OP has stated (that Audacity plays the audio at a high volume), chances are that PCM data is already as high as it can be without clipping. But there is a lingering doubt in my mind--it seems to me that this would have come up before if there was a big difference between playback via LibGDX and other DAWs or sound systems. That (to me) adds to the likelihood that the values being sent to AL are somehow not 100%, and that the issue may be specific to the OP's game.

How much work to test the following: load and play the same assets using TinySound and compare playback volumes. Not sure if that is useful or not.
19  Java Game APIs & Engines / Java Sound & OpenAL / Re: LibGDX audio not loud enough on: 2016-03-23 22:46:12
Funnily enough, the same audio file plays louder in Audacity than it plays in LibGDX.  Amplifying the music would just clip the sound, which doesn't work out in anyone's favor.

Yes. From what has been written here, it sounds more like the issue is the level that LibGDX uses for playback than one concerning the assets themselves. Audacity is really great for easily amplifying assets to the maximum volume just short of clipping. Some audio systems are more conservative than others in terms of how much volume they allow. LibGDX must be on the low side. I've not heard of similar problems with TinySound, but it doesn't attempt to run on as many platforms as LibGDX, and doesn't have any special support for 3D audio. (Does LibGDX support 3D audio?)

The source for LibGDX is available, though. I remember looking through it a couple years ago, and being annoyed at how they coded stereo/mono parameter as a boolean or int and with a slightly confusing name. At least that is what is left of my memory of my general experience code reading the audio portion.

Still, if you are willing to open up a copy (isn't it on github or somewhere like that? I used to have a fork) it is likely very possible to tweak things to raise the volume without causing other problems.
20  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Java Library written IN Java on: 2016-03-22 18:13:37
Someone should write a software renderer for occlusion culling in java...

There are depth buffers in JavaFX. Doesn't the 3D rendering in JavaFX include occlusion culling? Isn't JavaFX 3D now a standard part of the JVM? I think the only limitation with it is whether or not the graphics cards support the functions being called.

What am I missing?
21  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Java Library written IN Java on: 2016-03-20 22:11:28
22  Game Development / Newbie & Debugging Questions / Re: Procedural (never ending) map generation on: 2016-03-18 17:22:22
...procedural generation doesn't mean that the map is infinite. It just means that the map is generated algorithmically, not manually.

True. But that generation can be ever-varying.

no map can be infinitely huge.

Are talking about the fact that there are only so many Long values or Double values? If coded at an reasonable scale, those limits will never be reached.

Perlin/Simplex can go as far as numbers exist that are not out of range for the coded calculations. And even then, couldn't one just re-seed the origin, create a smooth transition to the new seed and continue?
23  Games Center / WIP games, tools & toy projects / Re: 3D audio test using JavaFX and procedural java sound on: 2016-03-18 17:12:59
@Catharsis -- More good and interesting thoughts, thank you.

Collecting anything even from a moderate success will rely on the ethics of the other party which is a risk. If it was a truly black swan event it'd be easy for the other party to simply not pay and make it a legal situation. Anything over values that could be collected in small claims court could get locked up in a costly legal battle.

I think at the end of the day, working with people, doing business, requires trust, and written documentation of any agreements made, if only as a way to help make all assumptions explicit and thus eliminate misunderstanding.

My knowledge of people who have made it big (e.g., Notch, or that fellow that made the game where the little bird gets pounded by pistons that went viral) is that they have plenty of integrity. I'm sure there are counter examples.

And at that as mentioned a free platform with some services that can be kept behind a paywall fits that pattern.
Kind of what I'm thinking. There can be "free" versions (various jars with api's) that provide different services. But the biggie isn't trying to make something general purpose, but to give me the tools to make the best, most dynamic game audio I can, or to have lots to bring to the party upon collaborating with other musicians/programmers towards making awesome and unique games.

In this case for a spherical wavefronts physics matches perception. IE a sound source with no walls / reflections adding to the direct sound. You may potentially futz with the coefficients to change things somewhat, but still follow an inverse square relationship.

I started experimenting with this. My initial (current jar) algo was to define a max audio distance and get the % of this (expressed as a normal N), and apply it to a N^6 mapping (via LUT). This seemed to create an acceptable drop-off.

I tried a couple more things last night: scaling the distance into "attenuation units" and then deriving the volume factor by putting this value in the inverse form: 1/N. Also tried 1/(N*N). I can't say that it is all that clear to me, from a listener's perspective that one is superior to the other, yet.

More futzing and tweaking required. Come to think of it, I may have forgotten to compensate for the N^6 mapping done at the final stage. Hmmm. Have to work today--won't get a chance to think more on this for a while, except in the cracks/breaks.
24  Games Center / WIP games, tools & toy projects / Re: 3D audio test using JavaFX and procedural java sound on: 2016-03-17 22:30:35
@Catharsis -- Thanks again for lots of good info and feedback!

OSC is something I plan to look into in more depth. It ranks high on the to-study queue. All I know about it is that as a spec, it allows much more to be controlled than MIDI does. I'm thinking, in particular, once the updated theremin is built, I might draw from OSC methodology to control various expressive parameters of the theremin synth. Or, I might stick with something more like defining a control line as MIDI does and hook into the synth in this fashion. To be determined. One consideration: making synths that implement OSC or MIDI with any pretense to completeness is out of scope.

The notion of drawing ideas and algorithms from open specs of PD and SuperCollider is spot on. @nsigma has also provided links to implementations that are very helpful. I'm thinking of the source code, in particular, of a reverb unit that I was recently looking at.

Inverse square law for relating loudness to distance! Doh! Of course. I tried out several different power equations and settled on Math.pow(x, 6) as sounding the best, where x is a normalized fraction of a given audible distance range. I will try inverse square and compare. Theoretically, inverse square makes more sense. Ears and art don't always agree with physics, so I like to verify this sort of thing. (Who should I believe, experienced audio engineers or my own lying ears?)

For the 3D movement (not counting Y-axis as of yet), I'm relying on functionality built into JavaFX. I don't fully follow your example. I have what I'm calling an EarSet object. It's job is solely to manage the location of two "ears". To update it, I give it the X, Z and camera angle from the JavaFX PerspectiveCamera, once per game loop. To get pan and loudness, I use the EarSet's left and right ear coordinates at one end and the coordinates of the sounding object. No matrices involved, beyond what JavaFX manages behind the scenes via the PerspectiveCamera. This seems to be working pretty well.

Today, I put time into a Theremin front end rewrite, as I am hot on the trail with new things to implement based on how well the volume and pan smoothing worked on this demo. Maybe in a few days I'll get to the PD, SuperCollider or OSC research. But it seems like a good thing to build stuff and learn from the experience. No strategy is always right.

Money, money, money. Whatever. I fully understand the thinking of independents that don't want to spend anything. We build our own games, and already expect them to cost more than any income they might ever generate. I have been doing this for years. I understand dreaming. I call think of dreams as "Black Swan" events after the book I read on the subject. I am musing with the idea of sharing in the risk rather than asking for money up front. IF a game is a "Black Swan" success, the game maker can afford to pay something reasonable. Otherwise, no charge. It is a crazy business model, perhaps, trying to maximize the chance of participating in a black swan rather than up front income. But this is all very nebulous, and entirely moot, until the library shows it adds value, and that is still a ways into the future.
25  Games Center / WIP games, tools & toy projects / Re: 3D audio test using JavaFX and procedural java sound on: 2016-03-17 02:35:00
This is really cool. I experimented with the same thing just over a year ago, using a max/msp patch with my game. The results were promising, and it's since been my plan to revisit this approach more seriously, but my inexperience with sound programming makes the prospect seem kind of intimidating.

Is this meant as a new feature for PFAudio? Do you see that becoming a more general-purpose game audio library?

@boxsmith -- Thanks!  Smiley
I don't know much about how to patch things in. Is patching in max/msp similar to how one might patch in SuperCollider? How are games packaged in that scenario? Aren't those code bases rather large and come with restrictions?

Yes, this is meant to be part of PFAudio.

I am kind of overwhelmed with the task of adding the features and capabilities that push this library towards my vision of being a choice for procedural audio. I'd like to have a free version available. I have some objections/difficulties to spending the time to making it wholly general purpose. There is a lot to implement and support. For that sort of thing, I strongly recommend TinySound, which really is good for standard sound effects and music processing: cues can be loaded and played, mp3, ogg, etc. are accommodated, in addition to wav files.

I don't want to get into any backwards compatibility issues while I am still designing things. Things keep being radically turned around and experimented with. However, I'm open to the possibility of helping out with a custom version for a specific game, on an individual basis. Message me if you wish to discuss this some more! I am very sympathetic to DIY development.
26  Games Center / WIP games, tools & toy projects / Re: Vangard on: 2016-03-16 20:01:19
I was reading an interesting book the other day, that had a section that pertains to hunting. A key evolution for humans was the ability to sweat and thus not overheat. The hunting advantage was that a human could track and pursue for much longer periods than animals could flee--reducing the advantage the animal might have in speed. Animals apparently overheat more quickly than humans and need more cool-down periods. Thus, a team of hunters that spell one-another could be a deadly hunting team.

I wish I could remember the name of the book. It is about four ways human evolutionary advantages have become too successful in the modern context. The craving of salt, for example, that is part of the endurance advantage becomes more a hindrance when we don't need it to run marathons and high blood pressure becomes a health threat.
27  Games Center / WIP games, tools & toy projects / Re: 3D audio test using JavaFX and procedural java sound on: 2016-03-16 08:53:24
@Catharsis Thanks for your thoughts.

How would SuperCollider integrate with Java or JavaFX? My impression is that it is very powerful, and large. The latter fact is the main reason I've been avoiding it. I'm not as concerned with achieving that level of power. I'm mostly interested in bringing a useful subset of procedural functionality to Java game programming.

It would be good to tool around and compare, though. Having an actual 3D environment really makes a big difference. For example, when I was using volume panning, it was really easy to hear how using 0..1 pan setting and Left = n, Right = 1-n is very uneven. Spinning around in place next to a sound source, it is quite clear that left = 1, right = 0 or left =0, right = 1 is considerably louder than left = 0.5 and right = 0.5. I found that an equation that beefs up the center gives a much more even sense of volume while spinning, e.g., left = sin(n * PI/2), right = sin((1-n) * PI/2). In this case the 50% point gives (approximately) left = 0.7, right = 0.7, which is a better match for the all-at-one-side cases.

Voices would be interesting to hear.

I want to learn a bit more about filtering. The setup I'm using with a dedicated delay pipeline should work well with a low pass filter. I think a common simple design is to have a bell-shaped distribution of the sound value, e.g., 10%, 20%, 40%, 20%, 10% over five adjacent sound frames. But I'm not clear on how to derive the particular frequency effect of a given filter from the distributions. Presumably, as the percentage gets higher in the middle, there is less rolloff. But beyond that I'm still a novice.

If I manage to get code in place to play around with filters, I may only take things to the point of getting one or two decent occlusion algos and something for front/back. My sense for the front/back stuff is that the frequency area involved is principally the "presence" area (around 5K Hz) and maybe also a bit of the sibilants. That is the sense I've gotten from some car listening this most recent early Sunday morning (few cars going by so can listen carefully, comparing from behind and in front).
28  Games Center / WIP games, tools & toy projects / 3D audio test using JavaFX and procedural java sound on: 2016-03-16 02:26:53

File is here.

Am in a bit of a rush--so quickly:

I am working on a 3D audio system.
I made a quickie 3D chess board with JavaFX. You can tool around using the arrow keys.
The purple towers that come and go each emit a sound generated via a procedural FM synthesizer. There are six towers and five have pretty much the same frequency (slight variations in the amounts and rates of lfo and other tweaks) and one is considerably deeper in pitch.

The main thing: I'm using TIME to create a pan effect.
1) put the audio output of each tower onto a delay line
2) calculate the distance of each tower to the "ears" of the camera (the ears are separated by 32 pixels)
3) use the difference in distance to control two variable pointers into the delay line, one for each ear.

There is NO volume panning being used. Both ears are getting the exact same data, just with a time offset.

I had a pretty good volume pan going, but here's the problem with that: if you get up close to a tower and make one ear next to it, and the other away, the tower is pretty much silent in the far ear, allowing one to hear other stuff on the board.

In reality, if you are standing next to a jackhammer, the volume of the jackhammer masks both ears. It doesn't create an audio shadow that allows the sound to disappear in the far ear. With the temporal pan, the masking is much more correct.

I haven't yet tried putting in any filters to replicate front-back cone-of-confusion disambiguation. Nor even tried a slight front-back volume difference, which might be helpful. I do plan to get to this.

There is a bunch to do, in that first it has to work, then you improve performance and design. I seem to have to do things wrong a few ways before I can figure out a more reasonable way to do things.

Patting self on back: the changes in pan and volume are smooth, no zippering. I might try making my camera ears the equivalent of 35 centimeters apart instead of 32. There are undoubtedly other things to fix, too.
29  Java Game APIs & Engines / Java Sound & OpenAL / Re: Comparing binaural methods on: 2016-03-16 01:58:30
Just posted a redo of the above jar. Here it is again. I meant to do more with it, but only got the following done: a bit more info about the "distance" and time implied by the difference in frames for the second panning method. Also, got a standard sort of calculation relating values to db's. But the pan that uses volumes could still be improved. In particular, the energy at the ends is greater than the perceived volume in the middle. Something like a sine function that has the middle be 0.7 + 0.7 (left and right) instead of 0.5 + 0.5, it turns out, sounds better.

30  Game Development / Game Mechanics / Re: Best way for LWJGL to AWT in 3? on: 2016-03-09 19:15:50
The requirements are that it must render to a swing BufferedImage so I can scale, and manipulate it through a UI later. Using OGL 2.0 with shaders for the calculating the texturecoords.

I am curious if JavaFX has been considered for this or not. And if so, what are the drawbacks of using JavaFX 3D? From what I can tell, most transforms are available with mesh objects, and these can use images for texture/surfaces.
Pages: [1] 2 3 ... 44
DarkCart (18 views)
2016-05-29 02:30:33

Hydroque (36 views)
2016-05-26 14:45:46

Mac70 (45 views)
2016-05-24 21:16:33

theagentd (50 views)
2016-05-14 18:38:35

theagentd (84 views)
2016-05-10 22:37:41

theagentd (89 views)
2016-05-10 22:33:46

IanParcs (117 views)
2016-04-18 14:18:53

KaiHH (114 views)
2016-04-18 08:35:41

KaiHH (135 views)
2016-04-15 12:43:58

theagentd (141 views)
2016-04-14 02:16:17
FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50 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!