Gauntlets of Recursion (+3)

Times, trials, and turbulence.

Demo time!

Project Skirmish: Demo One

Just a short and to-the-point entry tonight, featuring the first downloadable demo for Project Skirmish. This is a demo of the press-mouse-to-spew-firearms functionality that I wrote about a couple of entries ago. Click to spawn random guns. Simple enough.

The goals are:

  1. To ensure that my distribution guesses methods are proper for Windows, Mac OSX, and Linux.
  2. To determine the game’s average performance on various systems.
  3. To gauge if my current method of calculating updates-per-second is going to hold under non-development-computer conditions.
  4. Fun? πŸ™‚

If you would like to test one (or more) of these out, please be sure to respond with the following information:

  1. What OS(es) your feedback applies to.
  2. What steps you had to take to get the demo to work. (if any)
  3. Your system’s processor speed, amount of RAM, and video card.
  4. Your FPS and UPS at: 0 props, 100 Props, and 500 Props
  5. Any bugs, glitches, or odd occurrences that may have taken place.

A huge thanks in advance to everyone who takes the time to help test the existing Skirmish base. πŸ™‚


Download for Windows

Download for Mac OSX

Download for Linux


 

Advertisements

20 responses to “Demo time!

  1. Manaxter September 23, 2007 at 10:14 pm

    Quoted from console:

    ===== Monday, 24 September 2007 1:13:42 PM Australia/Melbourne =====
    Exception in thread “main” java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at org.lwjgl.Sys$1.run(Sys.java:75)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
    at org.lwjgl.Sys.loadLibrary(Sys.java:84)
    at org.lwjgl.Sys.(Sys.java:101)
    at org.lwjgl.opengl.Display.(Display.java:111)
    at sw.game.skirmish.Game.initDisplay(Game.java:250)
    at sw.game.skirmish.Game.(Game.java:41)
    at sw.game.skirmish.Game.main(Game.java:312)

    That was when running the Project_Skirmish File. 😦

  2. Jack Sotac September 23, 2007 at 11:13 pm

    1.)Windows XP,SP2,Java RT 1.6.0_02
    2.)Clicked on run.bat
    3.)Athlon XP 2400+,768 MB RAM,Nvidia 6200 256MB
    4.)
    [0 props]FPS 133, UPS 76
    [50 props]FPS 127, UPS 73
    [100 props]FPS 122, UPS 71
    [513 props]FPS 92, UPS 59
    5.)None

  3. Manaxter September 24, 2007 at 12:02 am

    Okay, working now. On Mac OS X. Had to copy everything to the home directory and, copy the contents of the run.sh file and paste that into the terminal. THEN it ran.

    20″ iMac, 2.16Ghz Dual Core Intel, 2gb ram, Radeon X1600.

    0 props: FPS: 403. UPS: 120.
    101 props: FPS: 250. UPS: 96.
    507 props, FPS: 89. UPS: 53.
    1946 Props, almost all offscreen, FPS: 220, UPS: 43.

    Some dodgy movement if I clicked out of the window, but only when I held down keys at the same time.

  4. Donald Beals September 24, 2007 at 12:27 am

    1. Windows XP
    2. Double clicked run.bat
    3. A) 2.0GHz AMD Athlon 64 3200+
    B) 3GB DDR400 RAM
    C) 512MB ATI Radeon X1600 Pro
    4. @0: ~337FPS/~105UPS; @100: ~252FPS/~91UPS; @501: ~94FPS/~57UPS.
    5. Nothing that I noticed.

    Worked great on my end. Keep up the great work man!

  5. Andreas Huesgen September 24, 2007 at 3:30 am

    Hi, I tested the demo under

    Gentoo Linux 64bit on an
    AMD Athlon 64 X2 Dual Core 3800+
    2 GB Ram
    NVIDIA GeForce 7600 GT with NVIDIA driver 100.14.19
    2.6.22-r1 Kernel
    java version “1.5.0_12”

    however, the demo didn’t work for me.
    a) Had the same problem as Manaxter (shell script did not work)
    b) As i copied the command to the terminal, i got
    ERROR: No available display mode found.
    glxgears, other games work fine

    My guesses are:
    -Widescreen display (very unlikely)
    -64bit libraries (more likely)

    is there any way to generate a log file so that i can give you more feedback?

    Later today, i will probably test the Mac version as well.

  6. Draff September 24, 2007 at 7:19 am

    Brand new Mac book pro says:

    The jar file “Project_Skirmish.jar” couldn’t be launched. Check the Console for possible error messages

    Console says:

    Sep 24 08:16:08 dean-yeats-computer java: Java is generating its shared archive, version 1.5
    Exception in thread “main” java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at org.lwjgl.Sys$1.run(Sys.java:75)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
    at org.lwjgl.Sys.loadLibrary(Sys.java:84)
    at org.lwjgl.Sys.(Sys.java:101)
    at org.lwjgl.opengl.Display.(Display.java:111)
    at sw.game.skirmish.Game.initDisplay(Game.java:250)
    at sw.game.skirmish.Game.(Game.java:41)
    at sw.game.skirmish.Game.main(Game.java:312)

  7. ravuya September 24, 2007 at 12:53 pm

    On OS X, use “sh run.sh”.

  8. Jonathan September 24, 2007 at 1:18 pm

    Wow, I didn’t know that you were still sticking to Java. I can help you out a bit with distribution and would recommend WebStarting this in the future. Just pop an e-mail to me, and I’ll show you how.

    – Jon

  9. Jonathan September 24, 2007 at 1:22 pm

    XP Media Center Edition / 2.0GHz Core Duo / 1 GB / GeForce 7800 Go

    Over 800 FPS normally.

    Drops to 660 FPS when there are 100 props.

    Drops to 230 FPS when there are 500 props.

    As expected, no problems running.

    – Jon

  10. zyklon September 24, 2007 at 2:09 pm

    on my dual boot shit comp, i will post with linux same computer a lil after

    XP / 648MHz / 256 mb / ati piece of shit

    error: could not create display… lets see what linux does when i come back.

  11. Stephen September 24, 2007 at 2:30 pm

    Thanks again to everyone who tested. I’ll write up a more informative analysis in my next entry.

    @Andreas: I’m really not sure how Java deals with the 64-bit world, or if the LWJGL libraries are compatible. I’ll have to inquire with a nearby Java guru. πŸ™‚

  12. zyklon September 24, 2007 at 2:54 pm

    kubuntu.

    Failed to load Main-Class manifest attribute from Project_Skirmish.jar

  13. brian.ripoff September 24, 2007 at 3:07 pm

    Windows XP
    run.bat
    AMD 64 3000+, 1.5 GB, ATI Radeon 9800 something or other
    000 props FPS: 500 UPS: 65
    100 props FPS: 440 UPS: 65
    503 props FPS: 170 UPS: 63

    ——————————–

    Windows XP
    run.bat
    Intel Core 2 duo 1.83GHz, 2 GB, Nvidia Geforce GO 7600
    000 props FPS: 230 UPS: 95
    100 props FPS: 220 UPS: 90
    502 props FPS: 185 UPS: 78

    ——————————–

    I might have a mac or 2 that I can try it on later – if I remember =)

    Notes: you probably should prevent objects spawning outside the map boundary somehow.

  14. ukdm September 24, 2007 at 4:38 pm

    1. What OS(es) your feedback applies to.
    (Vista 32-bit)
    2. What steps you had to take to get the demo to work. (if any)
    Ran run.bat
    3. Your system’s processor speed, amount of RAM, and video card.
    Intel Dual Core 2.67GHz
    4GB RAM
    Geforce 8600
    4. Your FPS and UPS at: 0 props, 100 Props, and 500 Props
    0: 838 fps
    100: 756 fps
    500: 299 fps
    5. Any bugs, glitches, or odd occurrences that may have taken place.
    None to speak of

  15. Jonathan September 24, 2007 at 4:40 pm

    LWJGL ships with 64-bit versions of the natives, but from my experience, nobody has ever had to use them, including people who I verified to be operating on 64-bit systems with 64-bit operating systems installed.

    However, if you have not included these, try including them and seeing what happens.

  16. Jonathan September 24, 2007 at 5:02 pm

    Hmm, I notice that all of the Linux users are having problems. Try this instead:

    #!/bin/bash

    java -Djava.library.path=”native” -jar “Project_Skirmish.jar”

    That’s what worked for my projects.

  17. Jonathan September 24, 2007 at 6:25 pm

    Try anything on these pages. If they don’t work, it’s a problem on your end.

    http://www.lwjgl.org/demos.php
    http://slick.cokeandcode.com/static.php?page=demos

  18. Stephen September 24, 2007 at 10:09 pm

    Things seem to be working out for Windows and Mac users. We’ll have to label Linux as the trouble OS for the time being, until I can find an aforementioned guru to show me the way. πŸ™‚

  19. Jonathan September 24, 2007 at 10:46 pm

    To be able to figure out the exact problem, I need a precise dump of the exception / error that comes about when on Linux setups.

    To get those extra errors reported, you’ll need to add this to your shell scripts at the beginning (right after java)

    -Dorg.lwjgl.util.Debug=true

    Also, if any of you are using XGL, disable that since it doesn’t play nicely with LWJGL.

    It’s pretty hard to diagnose the cause until I know if LWJGL apps run at all, so please try the two links above and see if those demos run. If they don’t, then we’ll go from there.

    – Jon

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: