Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (724)
Games in Android Showcase (216)
games submitted by our members
Games in WIP (790)
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]
1  Games Center / Archived Projects / Re: 3D Alien Shooter Game on: 2009-07-03 09:27:23
Yes, its my own engine - I think I'll have a try and do simpler effects with "standard" techniques when shaders are not available. That shouldn't be too difficult to implement...

BTW: Do you know a good overview or table that explains the features of every OpenGL version and which extensions are contained in an OpenGL version? I couldn't find any good information on this yet...

2  Games Center / Archived Projects / Re: 3D Alien Shooter Game on: 2009-07-03 07:36:36
Hi gouessej!

Yes, you are right - the requirements could be lowered for this particular game. Currently I am using shaders to render the game logo and the simple lighting on the other characters. This could be done using standard OpenGL lighting. But Shaders will be used much more in future releases of the game, so OpenGL 2.0 is the minimum requirement here.  The engine already supports hardware skinning, for example, which is done using vertex shaders as well.
So for this particular game you are right... but this is just a preview yet and the full game will definitely require OpenGL 2.0.


3  Games Center / Archived Projects / Re: 3D Alien Shooter Game on: 2009-06-30 18:39:03

Thanks for the replies - it seems the game does not have any major technical problems as everybody was able to run and
play it - thats very good.

@Hansdampf: You get 1 point for each percent of your accuracy... but if you have more than 70 percent you'll get 2000 Points at once as a bonus. I added the 1 point per percent just to show the player that the game respects accuracy at all.

@Mickelikas: I'm planning to add some powerups that the Ufos drop as a loot when they're killed - you have to shoot the loot to get it. To keep players to just fire multiple rockets to an enemy to always get the loot, there will be some items that will have a negative effect. So players will have to watch what was dropped and then shoot again to get it Wink

I'll also add some more enemy types: Ones that need more than one shot to be killed, enemies that accelerate or make turns on their way, ones that split into two distinct enemies when shot and maybe even some airplanes with humans in it - these will give you a huge penality if you shoot them....

It's really exciting... so much ideas... lets see where it gets...

Greetings and thanks for testing!
4  Games Center / Archived Projects / 3D Alien Shooter Game on: 2009-06-29 12:46:43
Hi everybody!

I'd like to have some feedback for my game "Alien Shooter". You control a cannon that
can turn around 360 degrees and move up+down using the mouse. The left mouse button fires
rockets and the goal is to hit at least as many enemies as announced at level start.

Currently, as this is WIP, there is only one type of enemies and the game only contains
5 levels currently.

Using the ESC key you can enter a pause mode in the game - then the mouse will be
released, as well. Don't worry - the mouse is only captured when the actual game
is running, I've tried to make this as convenient as possible.

Its a Web Start application and the link to the JNLP file is on the following page
directly beyond the screen shot:

You'll need Java 6 and an OpenGL 2.0 driver in your system to run this game!

Please have a test drive and tell me about things you like or dislike. And, of course,
please tell me if something does not work at all.

Thank you!


Some additionial hints: You can open and close a console window by hitting the '^' key. The
console can be scrolled using page up/down and even supports completion assistance using
the Tab key as well as a command histoy.

There are some commands that may be helpful:

dump_timerShows all registered timers and their current values
quitExits the game
d_draw_perf_infos 1Shows performance graphs (ms per frame and FPS)
d_draw_statistics 1Shows some statistical data (triangles, FPS, caches etc.)
d_draw_boundingspheres 1Draws the bounding sphere for all object in the scene tree

Lots of the other vars don't have an effect since these features not used in the
game (e.g. skinning and terrain rendering).

If an error pops up, you can habe a look into the alienshooter.log that you'll find in
your home directory.

5  Game Development / Newbie & Debugging Questions / Re: Gamer Timers and Animation Loops on: 2009-05-12 13:11:14
Oh yes, sorry...

I did not ran into any problems with nanoTime yet. My approach was tested on single, dual- and quad-core Intel machines without any problems.  (but no testing on Athlons was performed yet)

Having around 1000 FPS on the quad-core machine, the timing is still very accurate in the way that the gameplay feeling gives no indications that a timer resolution problem exists.

6  Game Development / Newbie & Debugging Questions / Re: Gamer Timers and Animation Loops on: 2009-05-12 12:53:46

I'm calculating the FPS from the nanoTime()-Value, but only after a number of frames have been drawn and a minimum amount of time elapsed.

The FPS value changes quite frequently - it is difficult to adjust the game speed to it without having occasionally things "bumping" and "hopping" around... So I calculate a smoothed FPS value as well: smoothFPS.


final long now = System.nanoTime();

// 1 nanosecond  = 1e-9 seconds
// 1 microsecond = 1e-6 seconds = 1e3 * nanoseconds
// 1 millisecond = 1e-3 seconds = 1e6 * nanoseconds

// Only update the FPS value if enough happend in the meantime
if ( now-lastTime > 1e7  && numFrames>10 ) {
    // Enough time or frames since last update - now calculate the new FPS value
    fps = numFrames * 1000.0f / ((now-lastTime)/1000000.0f);
    lastTime = now;
    // Smooth the FPS over the last 200 frames...
    smoothFPS = 199.0f/200.0f * smoothFPS + 1.0f/200.0f * fps;

7  Java Game APIs & Engines / OpenGL Development / Re: Creating jars(including LWJGL) on: 2009-02-04 15:55:18
Hi Del!

I tried to do this as well, but the final outcome of my investigations is: You just can't. One reason I found on the net was that .jar's are supposed to contain platform-independend files - and the .dll or .so aren't. But the real reason seems to be, that you can't reference the dll directory in the jar file for the shared library-loader.

Maybe you can extract the dll files from the jar during runtime (using a static {} block in the main class where the dll files are written to a temp dir? But his seems to become a security issue) and then load them from your app dynamically using Runtime.loadLibrary()? But I didn't tried that yet... if you find a working solution please let me know Smiley

Pages: [1]
buddyBro (213 views)
2017-04-05 03:38:00

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

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

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

Rule (663 views)
2017-03-19 12:42:17

Rule (666 views)
2017-03-19 12:36:21

theagentd (678 views)
2017-03-16 05:07:07

theagentd (611 views)
2017-03-15 22:37:06

theagentd (450 views)
2017-03-15 22:32:18

theagentd (379 views)
2017-03-15 22:31:11
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!