Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  Print  
  S-Type!  (Read 7034 times)
0 Members and 3 Guests are viewing this topic.
Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« on: 2003-11-25 18:05:43 »

S-Type is the game I've been working on recently, primarily as a showcase/test of V-Script, my game scripting engine final year project.

S-Type (via webstart)

Its a side scrolling shooter, still in its early stages but finally in a playable state. Use the cursor keys to move, and WASD keys to shoot (although bullets don't do any damage yet!). If its not reponding you might need to click on it to set the key focus.



Its been tested on several WinXP machines so far, but webstart should grab Win32, Linux, Mac & Solaris Jogl files. I'd really like to know how it goes on any non-windows machines.

In fact I'm mainly after technical feedback - does it run, is it smooth, does it look correct.

If it doesn't work:
It'll create a log file in USER_HOME/.vscript which would be handy if it fails on anyones machine (esp. orange warnings and red errors). And if anything does go wrong I'd like to know the graphics card & drivers, Jogl crashes/hangups seem to be my main issues.

Enjoy!

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Jeff

JGO Kernel
*****

Posts: 3535


Got any cats?


« Reply #1 on: 2003-11-25 18:15:03 »

Dies without even opeing the webstart console on OSX JDK1.4.2DP2

Sorry Sad

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« Reply #2 on: 2003-11-25 18:24:03 »

Uh, I'm at something of a loss there, I'd have thought not getting to the console suggests something wrong with webstart loading Jogl perhaps? Is there a log file? That should be the very first thing done..

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Games published by our own members! Go get 'em!
Offline nlmueng

Jr. Member
**

Posts: 58



« Reply #3 on: 2003-11-25 20:19:14 »

ran fine in windowed mode, smooth movement and display.

I'm assuming the bullets do nothing.

Cool lighting

nathan
Offline Jeff

JGO Kernel
*****

Posts: 3535


Got any cats?


« Reply #4 on: 2003-11-25 21:34:13 »

Quote
Uh, I'm at something of a loss there, I'd have thought not getting to the console suggests something wrong with webstart loading Jogl perhaps? Is there a log file? That should be the very first thing done..


Where does the log file get written?

JK

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Jeff

JGO Kernel
*****

Posts: 3535


Got any cats?


« Reply #5 on: 2003-11-25 21:35:37 »

no .vecript directory in my home dir, sorry.

jk

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline darcone

Sr. Member
**

Posts: 276


Size matters


« Reply #6 on: 2003-11-25 21:56:11 »

Wow! Awesome lightning effects!  Shocked Nice job, keep up the good work Smiley
Offline darcone

Sr. Member
**

Posts: 276


Size matters


« Reply #7 on: 2003-11-25 23:34:13 »

TRied it on my laptop as wel, didnt get very good FPS, the lightning effects were not working at all and some parts of the images were gone as well (just black). Also got a memory read error from webstart when I closed the program.
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5214
Medals: 49


Mentally unstable, best avoided.


« Reply #8 on: 2003-11-25 23:49:10 »

Seems to run ok, but the lighting seems to be a bit knackered:

http://www.cokeandcode.com/javagaming/vescript.gif

ATI Mobility Radeon 9000 64MB

Kev

Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #9 on: 2003-11-26 01:05:06 »

Ooh, neat!


Works fine for me. Geforce 2, 1.4ghz.

One of the "enemies" doesn't darken when he passes through any shadows, though.

Play Minecraft!
Games published by our own members! Go get 'em!
Offline wiederke

Jr. Member
**

Posts: 76


Thx to James Gosling.


« Reply #10 on: 2003-11-26 03:58:40 »

Hi,

looks very strange on my laptop at work, only black an white planes. I will check it out at my private machine later.
Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« Reply #11 on: 2003-11-26 04:03:10 »

Thanks everyone Smiley

darcone: What graphics card? I think i've seen something similar on a TNT2 with old drivers.

kevglass: I think thats because it's not getting a framebuffer with an alpha component, if you (and anyone else getting problems with the graphics) check the log file, somewhere it'll have:
Framebuffer created: R8 G8 B8 A8 S8
If that A value is less than 8 its the problem. Sometimes having the desktop to 32bit fixes this.

Markus_Persson: Great Smiley The test level still needs work on it (like lights around the second half Wink ) so i must have missed that, its just an editor setting somewhere..

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline darcone

Sr. Member
**

Posts: 276


Size matters


« Reply #12 on: 2003-11-26 04:44:27 »

My laptop gfx card is a S3 SavageDDR something Smiley
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5214
Medals: 49


Mentally unstable, best avoided.


« Reply #13 on: 2003-11-26 07:06:12 »

Changing back to 32bit desktop fixed the lighting issues. Very nice, very stylistic.

Kev

Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« Reply #14 on: 2003-11-26 07:08:06 »

I found some silly errors in my webstart jnlp, which i've now fixed - they might have been the reason why webstart failed, hopefully Jeff can run it now..
(Btw kev, you've got the same errors in your webstart tutorial, missing closing tags on title, vendor and description).

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5214
Medals: 49


Mentally unstable, best avoided.


« Reply #15 on: 2003-11-26 07:10:03 »

Cheers for the report, I'll fix post-haste.

EDIT: doh, the closing tags were in there, just forgot to replace "<" with &lt;  Roll Eyes

Kev

Offline wiederke

Jr. Member
**

Posts: 76


Thx to James Gosling.


« Reply #16 on: 2003-11-26 10:20:37 »

Hi,

I checked it out on my private machine:

- WinXP
- GeForce4 Ti 4200

Game runs quite good, but the shadows are still looking strange.

ciao torsten
Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« Reply #17 on: 2003-11-26 12:06:37 »

Quote
Game runs quite good, but the shadows are still looking strange.

Can you post a screenshot and the log file? I'd love to fix these issues but i can't seem to figure out whats going wrong from such a short description.

All the GeForce4 machines i've tried it on have worked without a hitch, perhaps try changing your desktop to 32bit?

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #18 on: 2003-11-26 22:03:24 »

I'm running OS X 10.3.1 and Java 1.4.2 DP 1.

It started OK for me.  I just checked and I don't see a 1.4.2 DP 2 available, so I'm not sure if Jeff got his version numbers right.  Anyway we can't talk about Mac 1.4.2 issues outside of Apple's java-seed list, so all I can say is that your program seemed to start up ok, but I couldn't figure out how to make it do anything, so I started randomly pressing keys.  I eventually got it to do something, which wasn't pretty Smiley but was not likely your problem.  I'll post more information to Apple's NDA list in the morning (if I remember).

I'm bummed because this looks like something I would really like to try.

Offline Preston

Sr. Member
**

Posts: 346
Medals: 2



« Reply #19 on: 2003-11-26 22:48:06 »

The lights look very nice. :)

Memento mori.
Offline Orden

JGO n00b
*

Posts: 9



« Reply #20 on: 2003-11-27 00:46:06 »

Starts ok, displays the screen then just hangs changing colour from pink through to blue gradually., but only in the pink area on the screen shot.

system :  win me, java 1.4.2,gforce 3, drive asus v8200 v44.03

Screen shot:

The log has one red error:
http://demo1.e-nablesolutions.com/log.html

Nice looking log, with drilldown.
Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« Reply #21 on: 2003-11-27 02:31:09 »

Quote
but I couldn't figure out how to make it do anything, so I started randomly pressing keys.  I eventually got it to do something, which wasn't pretty Smiley

Sometimes you have to click on the GL canvas for it to grab the key focus before it'll accept key input. I'm still not sure if its a bug on my part or normal key focus behaviour. I'd appreciate it if you could give me some ideas of things that might need fixing to get it working on Mac.

Orden: The log file points the error out right there - no alpha component gets you no lighting. Changing your desktop to 32bit should solve this (I should put that in the log...).

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Jeff

JGO Kernel
*****

Posts: 3535


Got any cats?


« Reply #22 on: 2003-11-27 03:02:12 »

Quote
I'm running OS X 10.3.1 and Java 1.4.2 DP 1.

It started OK for me.  I just checked and I don't see a 1.4.2 DP 2 available, so I'm not sure if Jeff got his version numbers right. /quote]

Your right. java -version gives me:
build 1.4.2-001-31

Is that the same?

if so is there anything else I n eed to do?  Like download JOGL and install it seperately?

Lastly Im on  a tiPB G4, ATI 7800 chip.  Whats your hardware?

I d really like  to make this work Sad

JK

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« Reply #23 on: 2003-11-27 03:15:20 »

Ok, I've created a zip of the files so you can attempt to run it manually. You'll need to download the Mac Jogl files separatly, I keep them in a /Library subdir, but as long as they're in the classpath/native lib path that shouldnt matter.

I've included my own batch file i use for starting this when testing so you can see what you need to put on the command line (the -scene tag needs to point to the scene file to use on startup).

http://studenti.lboro.ac.uk/~cojc5/Temp/STypeDist.zip

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline elias

JGO Ninja
***

Posts: 638



« Reply #24 on: 2003-11-27 03:44:56 »

I'm running SUSE 9 with an NVIDIA GFFX5650 Go and it doesn't work. The log file complains about missing preferences (normal I guess) but at the Creating OpenGL canvas, it just hangs. No window is ever shown, and I have to kille the java process.

- elias


Offline Daath

Full Member
**

Posts: 121


Java games rock!


« Reply #25 on: 2003-11-27 04:52:41 »

on madrake9.1 (NV ti4200)window shows and hangs (have to kill it) - on win2k window shows - you can see scene then I click on windows(to get focus) and it exists.
Offline oNyx

JGO Kernel
*****

Posts: 2943
Medals: 5


pixels! :x


« Reply #26 on: 2003-11-27 05:17:26 »

For the log: it works.

win98se, k7 500, gf2mx, 128mb, 1.4.2ish vm, 30.82 deto

However, the framerate is quite low (<10 I think) and I'd seen some "sparklies" (they are easier to spot with a low framerate Roll Eyes)

Oh and that enemies will clip through you, if you are blocking their path (and should be squished between 'em and a nearby wall).

弾幕 ☆ @mahonnaiseblog
Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« Reply #27 on: 2003-11-27 05:53:18 »

Elias: Yeah, the missing preferences is normal for the first startup, it'll use the defaults and create the file on exit for next time. I assume other Jogl demos work on that machine? Same question for Daath really, is it Jogl in general thats broken or just my use of it?

oNyx: The shadows are pretty expensive in terms of memory bandwidth needed on the graphics card (lots and lots of blending operations) so an MX is bound to suffer. Perhaps I should add an option to disable the shadows for people with slower machines. Is there anywhere in particular you've seen the sparklies? I occasionally get them on the edges of the shadow fins, fixing it is on my todo list..

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline oNyx

JGO Kernel
*****

Posts: 2943
Medals: 5


pixels! :x


« Reply #28 on: 2003-11-27 06:21:51 »

Quote
[...]
oNyx: The shadows are pretty expensive in terms of memory bandwidth needed on the graphics card (lots and lots of blending operations) so an MX is bound to suffer. Perhaps I should add an option to disable the shadows for people with slower machines. Is there anywhere in particular you've seen the sparklies? I occasionally get them on the edges of the shadow fins, fixing it is on my todo list..


Yea... I know that... just tried to give you some numbers to figure out the minimun system requirements Smiley


(I had to shoot about 10 screenshots until I got that little bastards Smiley)

The green line (wich is infact a bit too high) shows were sparklies usually appear (between the blind spot of two or more tris) and there are 4 little sparkies marked with green circles.

If you figure out how to remove that, I would be really interested in reading the solution Smiley

弾幕 ☆ @mahonnaiseblog
Offline Daath

Full Member
**

Posts: 121


Java games rock!


« Reply #29 on: 2003-11-27 06:24:42 »

I can only say I am running more then 30 demos here without problem but cannot get this one. Sorry I cannot be more specific .
Pages: [1] 2 3
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

obsidian_golem 2012-05-23 10:14:50

Danny02 2012-05-21 17:10:34

Danny02 2012-05-21 17:07:10

Danny02 2012-05-21 16:56:12

davedes 2012-05-21 13:59:23

obsidian_golem 2012-05-20 20:28:41

darkjava55 2012-05-12 16:14:40

Ultroman 2012-05-12 09:36:05

Ultroman 2012-05-11 22:49:53

Ultroman 2012-05-11 22:20:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.233 seconds with 19 queries.