Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  F-15 Strike  (Read 12705 times)
0 Members and 1 Guest are viewing this topic.
Offline zparticle

Senior Devvie




Thick As A Brick


« Posted 2003-01-09 14:41:33 »

While I'm waiting for some things to come together on the Jummping Jimmy project I thought I'd throw together a couple of quick shoot-em-ups for fun. It would be nice if some folks could run this and give me some stats.

I'm looking for:

FPS - while you're flying, not on the main screen
OS
Video Card

There are two batch files one for full screen and one for windowed mode.

http://www.scottshaver2000.com/temp/f15strike_test1.zip (313k)

Thanks.

------------------------------------ f15strike_test1.zip ------------------------
(zparticle)
FPS Fullscreen - 47
FPS Windowed - 43-49
NVIDIA RIVA TNT2
Win2K - PIII .933Ghz

(zparticle)
FPS Fullscreen - 75
FPS Windowed -
GeForce4 Ti 4600
Win2K - PIV 1.3Ghz

(sputter)
FPS Fullscreen - Blew Up
FPS Windowed - 44-45
Intel 4mb Video Card
WinNT - P3 733Mhz

(Herkules)
FPS Fullscreen - 33-50 (jerky and pauses)
FPS Windowed -
GeForce2 mx 400
Win2K - Athlon

(rgeimer)
FPS Fullscreen - 22-24
FPS Windowed - 7fps
ATI Rage Mobility
OS? - PII 400Mhz

(Daath)
FPS Fullscreen - 51-53
FPS Windowed - 49-50
TNT2 RIVA
Win2K - Pentium 800Mhz

(EgonOlsen)
FPS Fullscreen - 85 (BSOD on exit, ARG!!!)
FPS Windowed - 50
GeForce4 Ti 4400
XP - Athlon

(erikd)
FPS Fullscreen - 29-48 (BSOD on exit, ARG again!!!)
FPS Windowed - 16-32
GeForce4 Ti 4200
Win98SE -

(princec)
FPS Fullscreen - 52
FPS Windowed -
GeForce2 GO
XP Pro- P3 1.2Ghz

(pepe)
FPS Fullscreen - 40-56 (firing and not firing)
FPS Windowed -
radeon9000
XP - P4 2.2Ghz

(wrswaney)
FPS Fullscreen - 50
FPS Windowed -  46
NVIDIA RIVA TNT2 Model 64 32MB
Win2K - P3 1.1Ghz

(nlmueng)
FPS Fullscreen - 35
FPS Windowed -
video car unknown
Win2K - P3 600Mhz

(Grom)
FPS Fullscreen -
FPS Windowed - 33 (down to 22 when maxed out bullets and missles)
GeForce 2
Linux - Athlon 1.3Ghz

------------------------------------ f15strike_test2.zip ------------------------
(flim)
FPS Fullscreen - 59
FPS Windowed - 33
GeForce2 GTS 32M
XP - Athlon 900Mhz

(Golthar)
FPS Fullscreen - (comment "run perfect)
FPS Windowed -
GeForce3 TI 200
OS? - P4 1.7Ghz

(kevin_t)
FPS Fullscreen - NA
FPS Windowed - 16
Voodoo3
Red Hat 7.2 - AMD Duron 900mhz

Offline SpuTTer

Senior Devvie


Medals: 1
Exp: 14 years


Lazy Middle Class Intellectual


« Reply #1 - Posted 2003-01-09 14:50:34 »

Windowed mode:

44-45 fps

Windows NT
P3-733
Intel 4mb Video Card from a Dell Optiplex


Full Screen:

Entering Video Mode: 640x480x32@0
Exception in thread "main" java.lang.InternalError: Could not set display mode
       at sun.awt.Win32GraphicsDevice.configDisplayMode(Native Method)
       at sun.awt.Win32GraphicsDevice.setDisplayMode(Win32GraphicsDevice.java:2
60)
       at com.sas.planetation.gui.FullScreenJFrame.initToScreen(Unknown Source)

       at com.sas.f15strike.Main.<init>(Unknown Source)
       at com.sas.f15strike.Main.main(Unknown Source)

Sacramento Volleyball
"Whitty phrase goes here."
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #2 - Posted 2003-01-09 15:00:41 »

FPS 33-50
Athlon 700, w2k, geforce2mx400


Typical Java game: motion is not smooth! Move from left to right - strangely pauses (very small pauses).

BTW, you have to beat this:   Grin

http://www.avault.com/pcrl/demo_temp.asp?game=airstrike3d


HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #3 - Posted 2003-01-09 15:32:34 »

Herkules: that's interesting it is glass smooth on the two systems I've tried it on, hmmm.

SpuTTer: Does that card support 32 bit mode in 640x480? Perhaps I should lower it to 24 bits. Did you try windowed mode?

Offline rgeimer

Senior Newbie





« Reply #4 - Posted 2003-01-09 16:04:11 »

I'm getting at 22-24 fps in full-screen on a PII-400 laptop with ATI Rage Mobility graphics (i.e. it's a pretty poor gaming maching). No pauses or stutters.

In windowed mode I get about 7fps with a lot of flickering.
Offline Daath

Junior Devvie




Java games rock!


« Reply #5 - Posted 2003-01-09 16:06:02 »

Windowed mode: 49-50 fps
Full Screen: 51-53

Windows 2K, Pentium 800
TNT2 RIVA

Animation is smooth but the whole app flashes since the start up .....
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #6 - Posted 2003-01-09 16:09:36 »

Daath: does it only flash in windowed mode? you shouldn't see any flashing in full screen mode. But windowed mode flashes horibly right now.

Offline Daath

Junior Devvie




Java games rock!


« Reply #7 - Posted 2003-01-09 16:29:43 »

shoulda said that - yes it flashes only in windowed mode
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #8 - Posted 2003-01-09 16:48:33 »

Quote
Herkules: that's interesting it is glass smooth on the two systems I've tried it on, hmmm.


Maybe there exist different definitions of 'smooth'. What I felt is e.g. when you move from all left to all right holding the 'right' button down, the speed of motion slightly varies!

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline EgonOlsen
« Reply #9 - Posted 2003-01-09 19:41:36 »

Fullscreen: 85
Windowed: 50

That's on an Athlon XP 2000+/GF4Ti-4400 running Win2k. The fullscreen version causes a BSOD if i try to exit the game and the machine reboots.. Cry

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #10 - Posted 2003-01-09 20:26:24 »

Cool, it's Xevious  Smiley

FS: 29-48
Windowed: 16-32

Win98SE,  Gf4-Ti4200, P2/450

BTW, FullScreen crashed out horribly on me too when I exited (system halted after I seeing part of my desktop in 640x480). I usually don't have this problem so maybe you're not properly exiting full screen mode?

Offline princec

« JGO Spiffy Duke »


Medals: 429
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #11 - Posted 2003-01-09 21:38:25 »

Smooth as silk 52fps on Dell Inspiron 8100 (1.2Ghz P3-M, WinXP Pro, 512Mb, Geforce2GO32Mb), after compilation glitches and very very occasionally theres a tiny garbage collect - in short it's basically perfect.

Annoying that you can come up with so much working stuff so quickly Smiley Takes me ages.

Cas Smiley

Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #12 - Posted 2003-01-09 22:49:47 »

Quote

Annoying that you can come up with so much working stuff so quickly Smiley Takes me ages.


Thanks but:

Quickly? I've been working on this engine for 12 months or more now.  Shocked I love your LWJGL thing but I'm simply not interested in dealing with 3D (for the time being), I need to get good at 2D first. Perhaps I should consider putting up my Planetation system on SourceForge like you did with the LWJGL.

I'm really concerned about the results for Herkules, erikd and EgonOlsen. I guess I need to work more on the smooth movement for Herkules' machine (OS/video/speed combination) and the frame rate variation for erikd is just to disgusting to talk about.

I can't for the life of me understand what is causing the BSOD. Time to go buy some other machines so I can test on other OS/video card combinations.

Looking at what has been reported so far I would say the minimum machine for a smooth Java game is:

P3 700Mhz with a TNT2

This given that my system (2D code) doesn't seem to be effected too much by resolution.

I'm waiting to hear from some Linux folks, and anyone with the 1.4 (beta?) for Mac OS X.

The garbage collection has to be the FPS counter as that is the only thing creating new objects. So that will go away. Can't wait to buy the production version of XAP!!!

EgonOlsen: Is the crash only when you exit Fullscreen mode or in windowed mode as well?

Also are you finding any hs_err_pid1884.log type filenames on your system? These seem to be produced when the SDK freaks out, that would mean that it isn't my code but an interaction between the SDK and the video drivers and therefore something to be reported to Sun.

EDIT:

when the program exits I'm doing:

graphicsDevice.setDisplayMode(oldDisplayMode);
graphicsDevice.setFullScreenWindow(null);

Are these backwards? Could that cause the BSOD?

Offline pepe

Junior Devvie




Nothing unreal exists


« Reply #13 - Posted 2003-01-10 04:03:05 »

got 40-56 fps in windowed and full screen modes. (firing and not firing frame rates)
windows XP
radeon9000 on 2.2ghz P4 (dell inspiron 8200)
flat panel at 60HZ.
jvm: 1.4.1 sum

Was jerky as is, but got smooth when i set the concGC flag.
Was a little faster, also.
windowed mode has flipping problems and background of the title page is not cleared, and shows the previously underlying window content.

Just a note. Where do all creators of scroll games took the idea that the shadow of an object could be smaller than the object itself? Never understood that...

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline EgonOlsen
« Reply #14 - Posted 2003-01-10 04:07:17 »

Quote

EgonOlsen: Is the crash only when you exit Fullscreen mode or in windowed mode as well?

Also are you finding any hs_err_pid1884.log type filenames on your system? These seem to be produced when the SDK freaks out, that would mean that it isn't my code but an interaction between the SDK and the video drivers and therefore something to be reported to Sun.
No, windowed mode exits fine, but fullscreen writes a core dump and reboots. It's the only program i own that does this on my machine, so i think it's a cool feature... Wink
Seriously, i don't know what happens and there is no log-file. Other fullscreen apps are working fine...



Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #15 - Posted 2003-01-10 06:04:00 »

Ok, someone needs to be negative again....

Am I the only one here thinking that 50fps from 2GHz is not much for a game that nearly does nothing??

My Q3A on my 700MHz box runs with ~100fps!

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #16 - Posted 2003-01-10 06:46:48 »

Quote
when the program exits I'm doing:

graphicsDevice.setDisplayMode(oldDisplayMode);
graphicsDevice.setFullScreenWindow(null);

Are these backwards? Could that cause the BSOD?


Dunno.
I don't do the 1st line at all, I just do graphicsDevice.setFullScreenWindow(null);  in a finally block in the very end and never have problems...

BTW. my FPS variations are depending on wether I'm firing or not.

Cheers,
Erik

Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #17 - Posted 2003-01-10 07:28:52 »

Quote

graphicsDevice.setDisplayMode(oldDisplayMode);
graphicsDevice.setFullScreenWindow(null);



I'm doing the same. The setDisplayMode(oldDisplayMode) is necessary esp. when you don't exit the app (e.g. just go back to a config dialog) and have -Dsun.java2d.noddraw=true.

Even in case it is not necessary under all conditions, at least it shoudln't hurt.

Yes, framerate varies by 30% on wether you shoot or not.

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #18 - Posted 2003-01-10 08:17:25 »

Quote

I'm doing the same. The setDisplayMode(oldDisplayMode) is necessary esp. when you don't exit the app (e.g. just go back to a config dialog) and have -Dsun.java2d.noddraw=true.

Even in case it is not necessary under all conditions, at least it shoudln't hurt.


Ok, I see.
I left it out because the examples in the java tutorial also leave it out and I used them as a starting point...

Offline pepe

Junior Devvie




Nothing unreal exists


« Reply #19 - Posted 2003-01-10 11:04:26 »

Quote
Am I the only one here thinking that 50fps from 2GHz is not much for a game that nearly does nothing??

Certainly. on my machine, it takes approximatively 40% of the processor (at 1.1Ghz, the game could not take enough power to make the processor go to 2.2 ghz). if the game was tu use the whole speed, it would certainly get way faster. Maybe this is due to the timer resolution, or capped framerate?

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline pepe

Junior Devvie




Nothing unreal exists


« Reply #20 - Posted 2003-01-10 11:24:16 »

here is something a bit more interesting. see the graph:
most of the time passed is in the kernel..
you are right. the game does almost nothing.

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline the2bears

Senior Devvie


Projects: 2


Little Bear: Code Fu!


« Reply #21 - Posted 2003-01-10 11:28:26 »

Here's what I get:

FPS Fullscreen - 50
FPS Windowed - 46
NVIDIA RIVA TNT2 Model 64 32MB
Win2K - PIII 1.1

Full screen is very smooth, windowed suffers from some flashing of sprites.  Nice and smooth though, and no BSOD:)

Bill

the2bears - the indie shmup blog
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #22 - Posted 2003-01-10 12:51:03 »

Hm, on my box it consumes ~70% CPU. But if FPS were capped, it wouldn't make much sense to measure it?

Would be interesting to see the main loop....

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #23 - Posted 2003-01-10 12:55:15 »

Quote
Just a note. Where do all creators of scroll games took the idea that the shadow of an object could be smaller than the object itself? Never understood that...


I originally had the shadow the same size but it looked too much like the plane was about 5 feet from the ground. Since the ground enemies are going to be considerably smaller sprites than the plane (and you're flying over buildings) it needs to look like the plane is high in the air. Thus the plane is closer to you than the planes shadow so the shadow should be smaller.

Quote
Ok, someone needs to be negative again....

Am I the only one here thinking that 50fps from 2GHz is not much for a game that nearly does nothing??

My Q3A on my 700MHz box runs with ~100fps!

Quote

Certainly. on my machine, it takes approximatively 40% of the processor (at 1.1Ghz, the game could not take enough power to make the processor go to 2.2 ghz). if the game was tu use the whole speed, it would certainly get way faster. Maybe this is due to the timer resolution, or capped framerate?


I don't remember exactly, and I don't have the code in front of me, but I think I'm sleeping 10ms between frames, in windowed mode, and 7ms, in full screen mode, to give the CPU a break. This isn't particularly acurate, as we all know, thus the widely varying frame rates. However since I'm not updating the objects based on frame count but on time passed the game should run basically the same on all machines ( I hope Smiley ).

EDIT:

Just another thought or two. The FPS counter is definately causing garbage as well as all of the keyboard events.

There is a fair amount of alpha blending going on which can't be accelorated. The entire area of the shadows and the edges of the plane are not opauqe.

The point of counting the FPS is so I can tell when I add something that suddenly kills the performance. Something that can't always be visually noticed.

Herkules: I finally saw the left/right movement jitters you spoke about. Annoying as hell visually, wonder why it doesn't happen very often for me?

Thanks to everyone that took the time to give me stats and error reports.

Offline nlmueng

Junior Devvie





« Reply #24 - Posted 2003-01-10 15:21:01 »

I got about 35 frames per second full screen.  Win2k, 512MB of ram, P3 600.  No problems at all in full screen.

nathan
Offline Grom

Junior Devvie




Rats...


« Reply #25 - Posted 2003-01-10 16:20:48 »

Linux, 1.3GHz Athlon, GeForce 2, JDK1.4.1_01: 33fps.
When I hold z and c down and I fill the screen with as many bullets/bombs as I can I get 22fps.
Offline SpuTTer

Senior Devvie


Medals: 1
Exp: 14 years


Lazy Middle Class Intellectual


« Reply #26 - Posted 2003-01-10 20:04:38 »

zparticle,

Sorry for the late reply Smiley

re: my video card not supporting 32bit color...

You know, Im not sure. It's a built in card. I would suspect that it should support 32bit at 640, but I cant guarentee it. This is my work machine, so its not a gaming machine by any means.


Sacramento Volleyball
"Whitty phrase goes here."
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #27 - Posted 2003-01-11 21:11:45 »

Well I've added the first gun turret type enemy. You can now get shot and you can shoot the turrets. You can use both the missles and the guns. The gun are far less effective than the missles so you get more points for using them.

The missles only hit a target when they have been locked on before firing. You do this by placing the recitle over the target and when it turns red and starts spinning you fire a missle.

I added music but I have removed it for the time being as it caused the processor usage to double.

http://www.scottshaver2000.com/temp/f15strike_test1.zip 565K

Note that I have done everything I can think of to get rid of the flashing under windowed mode. It simply won't go away without make the frame rate like 2FPS. I tried BufferStrategy, may own back buffering, volatile images non volatile images, bleh, bleh, bleh.



Offline flim

Junior Newbie




Java games rock!


« Reply #28 - Posted 2003-01-12 03:17:23 »

Full Screen - 59
Windowed- 33
GeForce 2 GTS 32M
Athlon 900MHz
384MB RAM
WindowsXP
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #29 - Posted 2003-01-12 08:06:03 »

I'd really appreaciate if you could take awway missile shooting from the 'Z' key, which is hard to reach on German keyboads. What about 'X'?

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Pages: [1] 2 3
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (114 views)
2014-11-26 15:22:04

toopeicgaming1999 (102 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!