Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
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: Java Game Programming Books on: 2013-11-15 08:51:38
I have Brackeen's book. I really like it, but it's an odd mixture. The first quarter is taken up by describing how to make a 2D side scroller using Java2D. The rest of the book is taken up with a very in-depth description of a software 3D engine (like Doom). None of this is "state of the art" but IMHO he teaches good Java style, with OOP where appropriate. It also covers some optimization techniques and there's a bit about sound and network programming. It would be completely possible to make a good 2D platformer using the code and ideas he gives. Not everything has to be OpenGL. That said, higher level OpenGL libs such as libGDX didn't exist when he wrote the book, however the techniques he describes are absolutely applicable to other libraries (things like state management and collision detection).

The 3D stuff runs very well, however it's on a Minecraft level of graphics. But then, look at how successful Minecraft is :-)

You can download the source from his website and check out the 3D engine yourself. From memory he supplies Ant build files which you can import into Eclipse, and compile and run from there.

Maybe, if I have time, I can bung WebStart versions up on a website so you can run them directly. I'd probably need to ask his permission to do this though.
2  Discussions / General Discussions / Re: Why don't many of you sell your games? on: 2013-04-14 13:10:22
Easy to be bitter about wildly successful but unmonetised open-source projects. I cry myself to sleep every night thinking about how much money Markus Persson has made off of the back of LWJGL and how I've never seen a single cent, but you get over it.

Cas Smiley

Well I guess if you had licensed LWJGL it would not have been wildly successful...so you wouldn't have made any money that way either! You just can't win sometimes.
3  Discussions / General Discussions / Re: Why don't many of you sell your games? on: 2013-04-13 04:40:18
Making a  game that sells  is hard. And the odds of getting a reasonable return are very slim. For every Minecraft there are hundreds (thousands?) of miserable failures.

Most indie devs are interested in the tech side (engines, rendering etc). Few can create art, even fewer understand business and marketing.

But, it can be done. Cas is an interesting case. His games are 100% focused on a very specific niche, but there are enough gamers in that niche to support him full time. His games are also *extremely* polished. Like, orders of magnitude above virtually every other game I've seen on JGO. That makes a huge difference and can't be under estimated. And finally, even though his games are "low tech" 2D, he still requires a dedicated artist and another programmer to help.

Now, let me get back to my OpenGL engine :-)




4  Game Development / Newbie & Debugging Questions / Re: Time based movement / deltaTime / Event Timing ? on: 2013-04-12 15:13:49
How are you calculating deltaTime?
5  Discussions / Miscellaneous Topics / Re: What music do you listen to while you code? on: 2013-04-08 15:37:39
I see how RotT born now... Grin

Every time I see that I think of Rise of the Triads.

God I'm old...
6  Games Center / Archived Projects / Re: Ancient Kemet - Egypt themed MMORPG on: 2013-03-12 16:15:49
1 programmer? I don't know whether to be inspired or to give up now (as I can't imagine ever achieving anything as good!)

Looks great, I love ancient themes.
7  Java Game APIs & Engines / OpenGL Development / Re: [LWJGL] Best way to notify user of OpenGL init error on: 2013-03-12 16:04:42
LWJGL's built in method

1  
Sys.alert("Yo dawg", "Yo shit's broke man.") 


Ooh that looks nice. I shall use it forthwith.
8  Java Game APIs & Engines / OpenGL Development / Re: [LWJGL] Best way to notify user of OpenGL init error on: 2013-03-12 14:52:52
1  
JOptionPane.showMessageDialog(null, "Yo shit's broke man.");

That's Swing yeah? Ok, if that's the way to do it I'll do it.
9  Java Game APIs & Engines / OpenGL Development / [LWJGL] Best way to notify user of OpenGL init error on: 2013-03-12 14:32:20
What's the best cross-platform way to signify an "unsupported hardware" error when trying to create a Display context? Say I set ContextAttribs to OpenGL 3.3 but the driver only has 3.2 support. How can I notify the user about this in a nice way i.e. not using System.err.println(). AWT messagebox? Or Swing? Or does LWJGL have a built-in method?
10  Discussions / General Discussions / Re: I Switched to IDEA! on: 2013-03-09 11:06:18
How much is IDEA these days? I tried it a few years ago but nothing really convinced me to part with hard-earned moolah over Eclipse.
I don't use/need any "enterprise" features or GUI designers anyway.

Is there a "killer" feature? Or is it just a matter of many small improvements?
11  Discussions / General Discussions / Re: ShaderToy becomes a web-site on: 2013-03-06 14:12:16
Incredible. How people can write 600 lines of shader code is beyond me. Simply fantastic.
12  Discussions / General Discussions / Re: Why java over other languages? on: 2013-02-11 15:32:05
API documentation - I cannot but until this day compare any language's api pages to that of Java and shake my head.
It's like learning to read and then finding the library. Knowledge overflow.

Why am I using it until this day
Tooling, documentation, libraries, experience. Also, I make money using it.

Completely agree about Javadoc. It really is a killer feature that has never been bettered. The fact that every Java API or 3rd party add-in, whether written by Gigantic Mega Corp or Tiny Shareware Man has documentation in exactly the same format is such a huge benefit that I absolutely hate having to use APIs from "other" languages that use abominations like doxygen or text files or....chm (shudder).

But yeah, the tooling has yet to be surpassed by any other langauge/IDE. The combination of Javadoc and tooling alone makes me an order of magnitude more productive slinging code in Java than any other language.
13  Java Game APIs & Engines / OpenGL Development / Re: make a Porting: Java2D to JOGL on: 2013-02-01 17:13:03

i.e. methods such as glBegin/End, glVertex, glNormal, glColor, etc.


Ah the old Redbook OpenGL 1.1 style?

Is it really worth learning that stuff only to have to discard it when using "modern" shader techniques?
14  Java Game APIs & Engines / OpenGL Development / Re: make a Porting: Java2D to JOGL on: 2013-02-01 17:02:53
When you say "Immediate Mode" is that like the old NeHe tutorials on gamedev.net? Where you just define your vertices and output them?
15  Game Development / Newbie & Debugging Questions / Deploying JRE with a game? on: 2013-01-31 15:18:00
Assuming that lots of people do not have Java 7 installed, and the fact I can't force them to install it, is it feasible to include the Java JRE with my game in a subfolder of the game? So that only my game uses it? The JRE wouldn't be "installed" as such,  just available in a folder so I could run javaw.exe. I know this is a "waste" in terms of disk space and download size but is that a problem in these days of TB disks and broadband? A big advantage is that I could guarantee the exact version of the JRE because I would be supplying it! It also means the user would be unaware that Java is there as some users are "Java haters" because of the FUD around applet security.

What do you think?
16  Discussions / General Discussions / Re: Brainstorming the future on: 2011-10-06 14:16:02
another victim of the you tag... D=

Hehe can't believe I fell for that  Roll Eyes
17  Discussions / General Discussions / Re: Brainstorming the future on: 2011-10-05 15:24:59
It's obvious that you guys know much better where you want JGO to be headed, so spill it, especially you [you], as you're among the most valued of all.

Hey I only come here about once every two years, following Java release cycles :-)

But you know, I am just a poor boy. Though my story's seldom told, I have squandered my resistance, for a pocketful of mumbles such are promises.

I like the site, not sure what else to add. I like kevglass and Cas, probably cos they are Brits like moi, and they know lots of fancy stuff.

Um...that's it really  Undecided



18  Discussions / General Discussions / Re: Go on, ask me anything. on: 2011-06-03 15:33:31
Q for Cas...way back on Page 3 you mentioned you use the Server VM. What sort of performance improvement does that offer over the Client VM?
19  Discussions / General Discussions / Re: Go on, ask me anything. on: 2011-06-03 05:29:54
Just plain old Sys.getTime() from LWJGL and a tight yield() loop for 60Hz (naughty but smooth).

What happens if the user's monitor is set to something other than 60Hz? 75Hz is quite commons for LCD too. Does that affect your loop?
20  Discussions / General Discussions / Re: Go on, ask me anything. on: 2011-06-03 03:36:56
Awesome, thanks Cas.

Your games really are the showcase for Java gaming, and the techniques should probably be "canon" for those of us who want to code silky smooth action games.
21  Discussions / General Discussions / Re: Go on, ask me anything. on: 2011-06-02 02:15:54
Actually Cas, the main question I have is how do you get your games to animate so smoothly? Have you got the ultimate movement code? Every time I mess with Java/lwjgl I just get crappy jerky movement. Even using the lwjgl sample code and wiki which use nanotime().

However in my C++/D3D book it has a very simple display loop which is always buttery smooth (Windows only of course).

What's the secret with Java or do you use QPC/QPF under Windows using JNI?
22  Discussions / General Discussions / Re: Java FX 2.0 SDK beta is out now on: 2011-06-02 02:10:29

By adding "games" it may make some non programmer think its more of a gaming language then a rich client multimedia interface for business and applications.


True. Pity the included Breakout clone is shoddy quality though. Jerky and slow. Ah well.
23  Discussions / General Discussions / Re: Java FX 2.0 SDK beta is out now on: 2011-05-31 07:12:48
Downloaded, will play with it asap.

Notice that "games" are not one of the suggested uses!
24  Java Game APIs & Engines / Java Sound & OpenAL / Re: Play clip more than once? on: 2011-05-26 13:05:06
Try clip.setFramePosition(0);

That was it! Thanks   Smiley

Damn I must learn to read the API more thoroughly  Roll Eyes
25  Java Game APIs & Engines / Java Sound & OpenAL / Play clip more than once? on: 2011-05-26 11:18:34
I can play a Clip by calling clip.start() but when I call it again nothing happens. I have set up a line listener on the clip and it is definitely stopped when I try to play it again. Do I need to reload the clip from the stream again? That might be too slow for a game. I tried using reset() on the AudioInputStream but that doesn't work for Jorbis Ogg decoder (I get a "mark not supported" error).
26  Java Game APIs & Engines / Java Sound & OpenAL / JavaSound error when playing exported WAV file from http://www.bfxr.net/ on: 2011-05-22 16:17:52
http://www.bfxr.net/ lets you generate sound effects and then save them as a Wav file.
However, I keep getting a Java exception "UnsupportedAudioFileException" when trying to play them as clips. Audacity can play them ok. I can play other Wav files fine in JavaSound, just not the ones from bfxr.

Is it because Wav is actually just a container and the actual audio data is something JavaSound doesn't understand? How could I find out what it is?
27  Java Game APIs & Engines / Java Sound & OpenAL / Re: MASTER_GAIN control on Clip but not SourceDataLine?? on: 2011-05-20 15:36:55
I must admit it can be quiet in here!

FWIW I am working on Java Sound at the moment. Sampled, not midi. I have written a few simple wrapper classes for Clips and Streams.
I am quite enjoying it! I found the Java Tutorial section on sound pretty good for everything. You can definitely use Volume control on SourceDataLine. Are you following the section "Getting the Controls from the Line" at http://download.oracle.com/javase/tutorial/sound/controls.html? I haven't yet implemented the controls in my sound "engine" (what a grand term for a few small classes hehe).

If you like I can share my code with you, it is still in a state of active development.

Martin
http://crazygamedev.blogspot.com/

28  Discussions / General Discussions / Re: Go on, ask me anything. on: 2011-04-26 12:34:40
@20thCenturyBoy
6. How do you get any time at all with 2 kids (I have 3, and it's fecking difficult).
Trying to be a games programmer with 3 kids?!? Are you asking for a heart attack/stroke from all that stress?!?
I'm not actually a games programmer, I just like Java and tinkering around with ideas. It's actually a bit of relief from being a parent!
29  Discussions / General Discussions / Re: Game development books on: 2011-04-26 10:52:44
Sorry, I wasn't clear. It does start with 2D programming and he actually develops a scrolling platformer. Very basic but all the essentials are there and it would definitely be possible to expand it into a Super Mario type of 2D game. He doesn't use Opengl or anything fancy, just buffered images and Java2D I think.
30  Discussions / General Discussions / Re: Go on, ask me anything. on: 2011-04-25 16:11:54
Am I the only old fart here who remembers ROTT as standing for Rise of the Triad, the post-Doom 3D sensation of 1995?

Ok I have some questions:

1. Do you use UML, if not how do you keep document/keep track of all your classes?
2. Do you javadoc all your stuff?
3. How many hours each day do you spend programming games?
4. How many hours sleep do you get/need?
5. Does your gf mind you spending all that time in front of the PC?
6. How do you get any time at all with 2 kids (I have 3, and it's fecking difficult).
7. Are you on Facebook? Do you find it a time sink (I do).
8. Have you read "Effective Java" and is any of it relevant for the kind of hacky games programming we all do :-)

Pages: [1] 2 3 ... 5
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (24 views)
2014-07-24 01:59:36

Riven (24 views)
2014-07-23 21:16:32

Riven (18 views)
2014-07-23 21:07:15

Riven (21 views)
2014-07-23 20:56:16

ctomni231 (50 views)
2014-07-18 06:55:21

Zero Volt (45 views)
2014-07-17 23:47:54

danieldean (36 views)
2014-07-17 23:41:23

MustardPeter (39 views)
2014-07-16 23:30:00

Cero (54 views)
2014-07-16 00:42:17

Riven (55 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org 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‑gaming.org
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!