Golthar
|
 |
«
Reply #30 - Posted
2003-01-12 12:46:40 » |
|
runs perfect on my p4 1.7 512 mb and gf3 ti 200
|
|
|
|
zparticle
|
 |
«
Reply #31 - Posted
2003-01-12 15:08:00 » |
|
Thanks for the stats guys.
Herkules: I can make it X for missles, X and C are right next to each other on US keyboards. Do you have a digital photo of your key board? I would like to see the layout.
SpuTTER: No problem, thanks for the reply.
|
|
|
|
pepe
Junior Devvie  
Nothing unreal exists
|
 |
«
Reply #32 - Posted
2003-01-12 18:08:11 » |
|
Please, don't use q, w, z, a and m keys that are the most often swapped ones. Or, make the layout configurable. 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
kevin_t
Junior Newbie
Java games rock!
|
 |
«
Reply #33 - Posted
2003-01-13 01:52:37 » |
|
I'm waiting to hear from some Linux folks, and anyone with
I am running an AMD Duron 900mhz, 1 gig RAM, Red Hat 7.2, Voodoo3. I averaged ~16 fps. The animation had noticable flicker in a few spots, namely the fps gauge in the upper left and the set of fighters in the very upper right. I got similar behavior with the side scroller demo that (I think) you posted sometiime in the past, but I believe the fps on that was in the 20's. The graphics look nice, though.
|
|
|
|
zparticle
|
 |
«
Reply #34 - Posted
2003-01-13 19:01:46 » |
|
Herkules: Found a picture of a German keyboard, no wonder you don't like the Z key for the missle. The combination of Z and C would give you cramps in about 3 minutes.
|
|
|
|
zparticle
|
 |
«
Reply #35 - Posted
2003-01-14 02:13:45 » |
|
Okay well I've added Jeeps (with really bad shocks), Rivers, Bridges (you can blow up), Boats (you can blow up) and background music (temporary). Spiced up the building a little with some different colored lights as well. Oh, I changed the missle key to 'X' from 'Z' to accomidate the non-english keyboards. With all of the new code and especially with the music (it doubles the processor usage) you'll probably need at least a 1Ghz machine, but please for those with slower boxes try it and let me know what happens. I want to add enemy helecopters next and then ammo shacks or something that can hide power ups. I thought about tall things you can run into like water towers but I'm not sure how to draw them. Also I'm thinking about adding smoke trails to the missles so they obscure your view of the ground and flames or something to the plane when you get damaged. Note there is no way on Earth this is going to run on Linux so if you have that OS don't waste your time. Anyone have some ideas for more stuff to add? Do people like having music or would it be better with just sound FX? http://www.scottshaver2000.com/temp/f15strike_test1.zip 785k 
|
|
|
|
Matzon
|
 |
«
Reply #36 - Posted
2003-01-14 03:11:47 » |
|
Note there is no way on Earth this is going to run on Linux so if you have that OS don't waste your time.
Why? - Performance related? broken archive
|
|
|
|
Herkules
|
 |
«
Reply #37 - Posted
2003-01-14 04:19:09 » |
|
Your game meanwhile is a good example how java gaming could be worthwhile doing.
Imagine your game would be an applet or webstart'able, it could attract many people every day being just curious about 'whats new today?'.
If you brake it up into many jars, some for code, some for data, this would be possible with only minor downloads and the current version would always automatically be established on the players machine. Then you'd exploit a real advantage over non-java games!
The question would be how to make money with it though. I thought about selling ammo or missions?
|
|
|
|
Herkules
|
 |
«
Reply #38 - Posted
2003-01-14 04:22:57 » |
|
broken archive
Confirming that, broken 
|
|
|
|
ryanm
|
 |
«
Reply #39 - Posted
2003-01-14 10:31:30 » |
|
Note there is no way on Earth this is going to run on Linux so if you have that OS don't waste your time.
Ahh Java, you promised us so much...
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Herkules
|
 |
«
Reply #40 - Posted
2003-01-14 11:40:18 » |
|
Hey, Java games are highly portable - they work on nearly ANY PC on the world. Given Windows is installed of course.... 
|
|
|
|
zparticle
|
 |
«
Reply #41 - Posted
2003-01-14 12:21:17 » |
|
Everyone: Opps, sorry about the broken zip file, I'll put up another version tonight when I get home. I'll test it first.  Matzon: Yeah basically the only reason this won't work on Linux is performance. The sound system would work but I didn't include the native libs you need for Linux in the zip. Also, since I can't even get it to work on Windows in windowed mode, when using a BltBufferStrategy, at a decent FPS I don't hold much hope that Linux will ever handle it. There just doesn't seem to be any point in windowed mode if you have to have all of the flashing going on. Actually this is very frustrating, I hope the OSX 1.4 SDK will not have these issues. Otherwise why am I bothering with Java? Had an idea for a power up this morning on the way to work, napalm. It will hit and destroy everything in a several tile radius.
|
|
|
|
SpongeBob
Junior Devvie  
Who lives in a pinnapple under the sea
|
 |
«
Reply #42 - Posted
2003-01-14 13:49:27 » |
|
Also, since I can't even get it to work on Windows in windowed mode, when using a BltBufferStrategy, at a decent FPS I don't hold much hope that Linux will ever
I have never been very happy with Sun's attempt in either 2D or 3D API's. Luckily theres people working on projects to improve this situation for gaming with projects like LWJGL.
|
|
|
|
Herkules
|
 |
«
Reply #43 - Posted
2003-01-14 13:50:45 » |
|
Had an idea for a power up this morning on the way to work, napalm. It will hit and destroy everything in a several tile radius. Ouch, very bad association with just the word 'napalm'. Wouldn't do that.....
|
|
|
|
zparticle
|
 |
«
Reply #44 - Posted
2003-01-15 00:56:30 » |
|
Okay, once again sorry for the broken archive. Here we go with jeeps, bridges, boats, lights,etc: http://www.scottshaver2000.com/temp/f15strike_test1.zipHad something really strange going on on my system so I had to go back to test1 as the filename. Went through the older posts and pointed them all at this archive.
|
|
|
|
zparticle
|
 |
«
Reply #45 - Posted
2003-01-23 01:16:35 » |
|
Okay for all those that were getting crappy frame rates with the F15-Strike program, please try again with this version. Note I've taken the music back out, and although windowed mode flashes quite a bit is should work on Linux again. http://www.scottshaver2000.com/temp/f15strike_test1.zip 849k
|
|
|
|
Skydive
Senior Newbie 
|
 |
«
Reply #46 - Posted
2003-02-11 12:24:09 » |
|
Hi zparticle, I've tried running the game but it will only work in windowed mode (I'm using Linux). You're probably checking if my system supports full screen mode by calling the isFullscreenSupported method (or whatever it's called). But that method returns an invalid value on my system (I'm writing a full screen game myself). Perhaps you could provide a command line option that overrides this. For example running with "--fullscreen" uses full screen mode no matter what (at user's own risk).
It works in windowed mode with a lot of flickering and at a very bad framerate (15 FPS) but that's not your fault. The hardware acceleration is very bad under Linux but it should improve with Java 1.5.
Lars
|
|
|
|
zparticle
|
 |
«
Reply #47 - Posted
2003-02-11 12:36:03 » |
|
I'll put in switch tonight when I get home. I didn't realize full screen was ever possible with Linux. Is there any programatic way I can tell if a Linux box can do full screen mode?
You are correct that I'm currently using the API call to determine this and it returns false on your machine.
|
|
|
|
Skydive
Senior Newbie 
|
 |
«
Reply #48 - Posted
2003-02-11 13:09:26 » |
|
Is there any programatic way I can tell if a Linux box can do full screen mode?
I Haven't found one yet, unfortunately.
|
|
|
|
zparticle
|
 |
«
Reply #49 - Posted
2003-02-12 04:15:40 » |
|
Okay,
same link new batch file and switch.
forcefullscreen
Let me know how it goes, hope I got it right.
|
|
|
|
Skydive
Senior Newbie 
|
 |
«
Reply #50 - Posted
2003-02-12 06:53:16 » |
|
It still gives the same message. The jar file in the zip file is dated Jan 22. I used the link at the top of this page (first post of this page), is that the correct one?
|
|
|
|
oNyx
|
 |
«
Reply #51 - Posted
2003-02-12 11:27:38 » |
|
Okay for all those that were getting crappy frame rates with the F15-Strike program, please try again with this version. Note I've taken the music back out, and although windowed mode flashes quite a bit is should work on Linux again. http://www.scottshaver2000.com/temp/f15strike_test1.zip 849k size is 999kb error-msg: unexpected end of archive downloaded it 3 times... seems to be b0rked :/
|
|
|
|
snak
Senior Newbie 
Eu não falo o português
|
 |
«
Reply #52 - Posted
2003-02-12 14:29:00 » |
|
Is there any programatic way I can tell if a Linux box can do full screen mode? Can't you use GraphicsDevice.isFullScreenSupported?
|
|
|
|
Skydive
Senior Newbie 
|
 |
«
Reply #53 - Posted
2003-02-12 16:02:04 » |
|
Can't you use GraphicsDevice.isFullScreenSupported?
I'm afraid not. On my system GraphicsDevice.isFullScreenSupported returns false, but full screen mode works fine. What happens is that Java emulates full screen mode when it is not available. It does this by creating a large window (as a result you're not really in full screen "exclusive" mode). The good/bad thing is that this all goes automatically so you still need to switch to full screen mode on systems like mine if you want to get the same effect even though they don't support it.
|
|
|
|
zparticle
|
 |
«
Reply #54 - Posted
2003-02-12 16:45:53 » |
|
Alright, again the same link. You should see:
Forcing fullscreen mode. Entering Video Mode: 640x480x16@0
if you are using the forcefullscreen switch.
|
|
|
|
oNyx
|
 |
«
Reply #55 - Posted
2003-02-12 18:39:00 » |
|
runs fine  FPS Fullscreen - 60 (steady'n'smooft @ 60hz) FPS Fullscreen² - 61-83 (jerky @ 85hz) FPS Windowed - 20-25 GeForce2MX 98SE - Athlon K7 500 (with 128mb) just some hints: -u have all images as gif _and_ png... why? -there is even one psd :x -check this article: http://www.javage.net/cgi-bin/showArt.cgi?index=11(Pixel accurate collision detection in Java) -add powerups -add smartbombs -add sounds -add stuff 
|
|
|
|
zparticle
|
 |
«
Reply #56 - Posted
2003-02-12 23:09:15 » |
|
-u have all images as gif _and_ png... why? I used to use only PNGs but decided to go for GIFs in the tile map because it improved the drawing performance. The PNGs that remain are there because it allows me to use alpha blending to make the edges of objects softer. Look at the plane sprite. -there is even one psd :x Opps, that isn't supposed to be there. -check this article: http://www.javage.net/cgi-bin/showArt.cgi?index=11 (Pixel accurate collision detection in Java) I have my own pixel perfect collision detection routines that are quite fast. I'm not using them in this program yet because most of the time it isn't needed. -add sounds I had music in it but I took it out, I haven't decided if I like music or sound F/X. -add powerups -add smartbombs -add stuff Yeah there are a number of things I would like to add but until I can figure out exactly what the graphics are going to end up looking like I'm not worried about those things. I'm not happy at all with the current graphics.
|
|
|
|
coramoor
Senior Newbie 
Java games rock!
|
 |
«
Reply #57 - Posted
2003-02-13 05:51:52 » |
|
Results: FPS Fullscreen: between 68 and 85, mostly ~80, pretty smooth. FPS Windowed mode: 9, steady (crap  ) Shooting doesn't seem to influence it. I'm using the updated version of the game. My system: WinXP, AMD 1.0GHz, 896MB SDR, Radeon 9000 Pro 128MB DDR
|
|
|
|
Skydive
Senior Newbie 
|
 |
«
Reply #58 - Posted
2003-02-13 06:43:05 » |
|
Full screen: 12-15 FPS Windowed: 12-15 FPS Nvidia GForce 2 Athlon T-bird 1Ghz 512 MB DDR RAM Gentoo Linux 1.4
Sun should really do something about that.
|
|
|
|
zparticle
|
 |
«
Reply #59 - Posted
2003-02-13 11:37:45 » |
|
I couldn't agree more.
|
|
|
|
|