zparticle
|
 |
«
Posted
2003-01-09 15: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
|
|
|
|
SpuTTer
|
 |
«
Reply #1 - Posted
2003-01-09 15: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)
|
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
zparticle
|
 |
«
Reply #3 - Posted
2003-01-09 16: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?
|
|
|
|
rgeimer
Senior Newbie 
|
 |
«
Reply #4 - Posted
2003-01-09 17: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.
|
|
|
|
|
Daath
Junior Member  
Java games rock!
|
 |
«
Reply #5 - Posted
2003-01-09 17: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 .....
|
|
|
|
|
zparticle
|
 |
«
Reply #6 - Posted
2003-01-09 17: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.
|
|
|
|
Daath
Junior Member  
Java games rock!
|
 |
«
Reply #7 - Posted
2003-01-09 17:29:43 » |
|
shoulda said that - yes it flashes only in windowed mode
|
|
|
|
|
Herkules
|
 |
«
Reply #8 - Posted
2003-01-09 17:48:33 » |
|
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!
|
|
|
|
EgonOlsen
|
 |
«
Reply #9 - Posted
2003-01-09 20: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.. 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
erikd
|
 |
«
Reply #10 - Posted
2003-01-09 21:26:24 » |
|
Cool, it's Xevious  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?
|
|
|
|
princec
|
 |
«
Reply #11 - Posted
2003-01-09 22: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  Takes me ages. Cas 
|
|
|
|
zparticle
|
 |
«
Reply #12 - Posted
2003-01-09 23:49:47 » |
|
Annoying that you can come up with so much working stuff so quickly  Takes me ages. Thanks but: Quickly? I've been working on this engine for 12 months or more now.  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?
|
|
|
|
pepe
Junior Member  
Nothing unreal exists
|
 |
«
Reply #13 - Posted
2003-01-10 05: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...
|
|
|
|
EgonOlsen
|
 |
«
Reply #14 - Posted
2003-01-10 05:07:17 » |
|
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...  Seriously, i don't know what happens and there is no log-file. Other fullscreen apps are working fine...
|
|
|
|
Herkules
|
 |
«
Reply #15 - Posted
2003-01-10 07: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!
|
|
|
|
erikd
|
 |
«
Reply #16 - Posted
2003-01-10 07:46:48 » |
|
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
|
|
|
|
Herkules
|
 |
«
Reply #17 - Posted
2003-01-10 08:28:52 » |
|
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.
|
|
|
|
erikd
|
 |
«
Reply #18 - Posted
2003-01-10 09:17:25 » |
|
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...
|
|
|
|
pepe
Junior Member  
Nothing unreal exists
|
 |
«
Reply #19 - Posted
2003-01-10 12:04:26 » |
|
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?
|
|
|
|
pepe
Junior Member  
Nothing unreal exists
|
 |
«
Reply #20 - Posted
2003-01-10 12: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.
|
|
|
|
the2bears
|
 |
«
Reply #21 - Posted
2003-01-10 12: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
|
|
|
|
Herkules
|
 |
«
Reply #22 - Posted
2003-01-10 13: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....
|
|
|
|
zparticle
|
 |
«
Reply #23 - Posted
2003-01-10 13:55:15 » |
|
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. 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!
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  ). 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.
|
|
|
|
nlmueng
|
 |
«
Reply #24 - Posted
2003-01-10 16: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
|
|
|
|
|
Grom
|
 |
«
Reply #25 - Posted
2003-01-10 17: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.
|
|
|
|
|
SpuTTer
|
 |
«
Reply #26 - Posted
2003-01-10 21:04:38 » |
|
zparticle, Sorry for the late reply  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.
|
|
|
|
zparticle
|
 |
«
Reply #27 - Posted
2003-01-11 22: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.  
|
|
|
|
flim
Junior Newbie
Java games rock!
|
 |
«
Reply #28 - Posted
2003-01-12 04:17:23 » |
|
Full Screen - 59 Windowed- 33 GeForce 2 GTS 32M Athlon 900MHz 384MB RAM WindowsXP
|
|
|
|
|
Herkules
|
 |
«
Reply #29 - Posted
2003-01-12 09: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'?
|
|
|
|
|