Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (483)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (550)
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 11815 times)
0 Members and 1 Guest are viewing this topic.
Offline Golthar

Junior Member




;)


« Reply #30 - Posted 2003-01-12 12:46:40 »

runs perfect on my p4 1.7 512 mb and gf3 ti 200

come visit us: http://www.otf1337.com
Offline zparticle

Senior Member




Thick As A Brick


« 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.

Offline pepe

Junior Member




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. Smiley

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevin_t

Junior Newbie




Java games rock!


« Reply #33 - Posted 2003-01-13 01:52:37 »

Quote

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.
Offline zparticle

Senior Member




Thick As A Brick


« 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.

Offline zparticle

Senior Member




Thick As A Brick


« 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



Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #36 - Posted 2003-01-14 03:11:47 »

Quote
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?

Quote

broken archive

Offline Herkules

Senior Member




Friendly fire isn't friendly!


« 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?

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

Senior Member




Friendly fire isn't friendly!


« Reply #38 - Posted 2003-01-14 04:22:57 »

Quote

broken archive


Confirming that, broken  Embarrassed

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

Senior Member


Projects: 1
Exp: 15 years


Used to be bleb


« Reply #39 - Posted 2003-01-14 10:31:30 »

Quote

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!
Legends of Yore - The Casual Retro Roguelike
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« 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....
Grin

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

Senior Member




Thick As A Brick


« 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. Smiley

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.

Offline SpongeBob

Junior Member




Who lives in a pinnapple under the sea


« Reply #42 - Posted 2003-01-14 13:49:27 »

Quote

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.
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #43 - Posted 2003-01-14 13:50:45 »

Quote
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.....

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

Senior Member




Thick As A Brick


« 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.zip

Had 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.

Offline zparticle

Senior Member




Thick As A Brick


« 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

Offline 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

Check out the FreeCol project at http://freecol.sourceforge.net/
Offline zparticle

Senior Member




Thick As A Brick


« 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.

Offline Skydive

Senior Newbie





« Reply #48 - Posted 2003-02-11 13:09:26 »

Quote
Is there any programatic way I can tell if a Linux box can do full screen mode?


I Haven't found one yet, unfortunately.

Check out the FreeCol project at http://freecol.sourceforge.net/
Offline zparticle

Senior Member




Thick As A Brick


« 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.

Offline 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?

Check out the FreeCol project at http://freecol.sourceforge.net/
Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #51 - Posted 2003-02-12 11:27:38 »

Quote
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 :/

弾幕 ☆ @mahonnaiseblog
Offline snak

Senior Newbie




Eu não falo o português


« Reply #52 - Posted 2003-02-12 14:29:00 »

Quote
Is there any programatic way I can tell if a Linux box can do full screen mode?


Can't you use GraphicsDevice.isFullScreenSupported?
Offline Skydive

Senior Newbie





« Reply #53 - Posted 2003-02-12 16:02:04 »

Quote


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.

Check out the FreeCol project at http://freecol.sourceforge.net/
Offline zparticle

Senior Member




Thick As A Brick


« 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.

Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #55 - Posted 2003-02-12 18:39:00 »

runs fine Smiley

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 Smiley

弾幕 ☆ @mahonnaiseblog
Offline zparticle

Senior Member




Thick As A Brick


« 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.

Offline 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   Tongue)
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
Offline 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.

Check out the FreeCol project at http://freecol.sourceforge.net/
Offline zparticle

Senior Member




Thick As A Brick


« Reply #59 - Posted 2003-02-13 11:37:45 »

I couldn't agree more.

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.

CopyableCougar4 (15 views)
2014-08-22 19:31:30

atombrot (28 views)
2014-08-19 09:29:53

Tekkerue (25 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (15 views)
2014-08-16 06:20:21

Tekkerue (22 views)
2014-08-16 06:12:11

Rayexar (61 views)
2014-08-11 02:49:23

BurntPizza (39 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (38 views)
2014-08-06 19:49:38
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!