Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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
  ignore  |  Print  
  UridiumGL  (Read 13556 times)
0 Members and 1 Guest are viewing this topic.
Offline Cruithne3753

Senior Newbie




Java games rock!


« Posted 2004-04-07 22:56:25 »

Here's my remake of a classic C64 game:-

http://www.cruithne3753.pwp.blueyonder.co.uk/UridiumGL/

It's the first complete game I've put on the Internet, I hope it's not too bad.   Wink
Offline DrBizzar0

Junior Devvie




Raj raj!


« Reply #1 - Posted 2004-04-08 04:48:34 »

Runs great on winXP, Java1.5b, gf4 and 2.0ghz athlon.

I suck as much at it as the original uridium so it must be a true hearted remake Wink

And yes would be nice with a Java Webstart  version also  Grin
Offline Bombadil

Senior Devvie





« Reply #2 - Posted 2004-04-08 05:14:47 »

As a Braybrook fan of course I've to test your version. :-)  Looks and sounds nice but ... it's way too fast. Actually so fast I'm dead within two seconds.

Java 1.4.2 and a ATI Radeon (which uses different VSync behaviour than Geforces with OpenGL I think).

Also the scroll area horizontally only takes half of the screen the right part is filled with the repeating background...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline digitprop

Junior Devvie





« Reply #3 - Posted 2004-04-08 05:28:08 »

Very faithful to the original indeed! Very nice job!!

However, I have to second Bombadil in that it is much too fast. Not much fun at all, being killed moments after the game starts...

Anyway, didn't find any technical glitches under Windows XP, Java 1.4.2.

The dreadnought graphics are painted with 1 bit transparency onto the background, aren't they? At least, there are some jagged edges, and a not-so-beautiful white outline along the big chain links of the dreadnought. Not that it would matter - the graphics are very nice!

M. Fischer . www.digitprop.com
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #4 - Posted 2004-04-08 06:38:17 »

Looks fun, but...needs a webstart version Wink. And send me the details and I'll add it to JGF (preferably once you've got a webstart URL).

malloc will be first against the wall when the revolution comes...
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #5 - Posted 2004-04-08 07:59:26 »

way cool, but waaaay to fast for me!
WinXp, Java 1.5ß, Radeon 9700 (non pro) 2.7GHz P4

Offline darkprophet

Senior Devvie




Go Go Gadget Arms


« Reply #6 - Posted 2004-04-08 08:25:27 »

dude, wayyyyy toooo fast, i was pressing arrow keys randomly because I keep dying. Did you hardcode movements? you should make em time based

Dual Amd64 1.4Ghz
Ati Radeon 9200 // oops wrote 2900 before!
2Gb RAM

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline z.e.r.o

Junior Devvie




Java games rock!


« Reply #7 - Posted 2004-04-09 13:14:37 »

Yes, it definitely have issues with radeons (with mine too).

But it's really good!

Matteo Anelli
.brain - http://www.dot-brain.com
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #8 - Posted 2004-04-09 16:01:35 »

Webstart, webstart, webstart!


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

JGO Coder


Medals: 1


http://t-machine.org


« Reply #9 - Posted 2004-04-09 17:05:00 »

6 players, 3 demands for webstart, and counting...Tongue

malloc will be first against the wall when the revolution comes...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline darkprophet

Senior Devvie




Go Go Gadget Arms


« Reply #10 - Posted 2004-04-10 18:45:53 »

it dont bother me, I dont like webstart, so without it is fine by me.

Webstart hogs down your PC by keeping the game in cache, and you can't delete certain stuff of it, you gotta delete it all. Placing the games where I know where they are is good by me.

DIE WEBSTART

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline pedro

Junior Devvie




Java games rock!


« Reply #11 - Posted 2004-04-10 21:36:07 »

Quote
it dont bother me, I dont like webstart, so without it is fine by me.

Webstart hogs down your PC by keeping the game in cache, and you can't delete certain stuff of it, you gotta delete it all. Placing the games where I know where they are is good by me.

DIE WEBSTART



Hahahah! I think you're underestimating the the usefulness of webstart. Think about a gamer, who simply wants easy access to a game. Webstart achieves that.

Anyway, you shouldn't have said that when Blah^3h is around. AFAIK he is a big defenders of the technology, hopefully he'll lecture you beause I do think pro-webstart points are valids Tongue


ps: can you honestily imagine that to install Quake (for example), you would buy the CD, and then would manually copy files to your computer. Then, you would read a note from Carmack saying :"ah, please go to url1 to download opengl.dll if you use windows, and url2 to download whatever.."? Yes: DIE EASY INSTALL PROGRAMS! Tongue
Offline Seekely

Senior Newbie




I am java


« Reply #12 - Posted 2004-04-11 00:58:54 »

"Webstart hogs down your PC by keeping the game in cache, and you can't delete certain stuff of it, you gotta delete it all. Placing the games where I know where they are is good by me."


Actually, that comment about caching and deleting isn't exactly valid.  At least for the 1.5 webstart, it will add the application to your Add/Remove Programs so you can completely uninstall even the cached versions.

http://www.untoldevils.com  
An RPG like every other, except this one is made by me
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #13 - Posted 2004-04-11 01:34:01 »

Quote

Think about a gamer, who simply wants easy access to a game. Webstart achieves that.


Exactly; well-put.

Quote

Anyway, you shouldn't have said that when Blah^3h is around. AFAIK he is a big defenders of the technology, hopefully he'll lecture you beause I do think pro-webstart points are valids Tongue


Nah, if someone's dumb enough to say "die webstart" after seeing people demand it, and not stopped to think about why the market is demanding something, and whether that means they should probalby find out why, then they probably deserve never to write a popular game (which is what tends to happen if you completely ignore your players).

Quote

Then, you would read a note from Carmack saying :"ah, please go to url1 to download opengl.dll if you use windows, and url2 to download whatever.."? Yes: DIE EASY INSTALL PROGRAMS! Tongue


Again, well-put. In a nutshell, for *me*, webstart means I can install all games in a totally platform-independent way, even when they insist on using native library apps.

For instance, linux installs of LWJGL *still* do not work "out of the box" (I've sent a note to the lwjgl.org website pointing out their own installation instructions won't work on linux). But...I've run loads of webstarted LWJGL games and didn't even notice they were using LWJGL - it all just happened "as if by magic". Which is what webstart is supposed to do Grin.

My only complaint (aside from the bugs, which appear to have mostly disappeared now) is that you cannot export things cleanly from webstart into a jar. This is especially desirable considering java now has an explicit mechanism for doing such things in 1.5 (unless I've been eating too many cookies and having strange dreams recently  Shocked) - and I'm fairly confident a right-click-export-as-jar will appear real soon now. It is a major PITA that you cannot currently distribute your webstarted downloads to friends directly from your webstart cache (not without farting about in the FS and learning the vagaries of how JWS works).

malloc will be first against the wall when the revolution comes...
Offline Cruithne3753

Senior Newbie




Java games rock!


« Reply #14 - Posted 2004-04-11 16:12:28 »

Right, I've spent a couple of days ruminating on this...

I've only just realised that the only things that might be controlling the timing is Window.update() at the start of my loop
and Window.paint() at the end.  It has been working perfectly fine for me, but it may be different on other set ups.  I've also noticed that I seem to have got away without doing any double-buffering stuff.  LWJGL does that for me, right?
I think I'll make the aliens a bit less trigger happy, and give the mines a slightly longer launch delay, too.

A friend of mine has just got a new Compaq Presario, 2.7Ghz with Intel Extreme graphics, it took a little tweaking of the OpenGL settings to get it running reasonably smoothly.  The white line round the edge of the dreadnought graphics shows up on it.  Not sure what I can do about it, it's probably down to the way the stencil buffere is used.  A stencil buffer is cut out using the dreadnought tiles, then a huge quad for the surface texture is drawn into this before the tiles are overlaid using alpha blending to get the bas-relief effect.  Before I worked out how to use the stencil buffer, I pre-generated the tiles, but this could mean over 2000 tiles per dreadnought!

I'm now trying to get Web Start to work, I didn't even know how do this when I put the page up, it will be a few days before I get it working; I'm still on ye-olde dialup so its a bit slow on the upload-download-see if it works cycle.  Seeing some of the recent posts, I think I should leave the usual download as an option.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #15 - Posted 2004-04-11 16:34:14 »

Quote

I'm now trying to get Web Start to work, I didn't even know how do this when I put the page up, it will be a few days before I get it working; I'm still on ye-olde dialup so its a bit slow on the upload-download-see if it works cycle.  Seeing some of the recent posts, I think I should leave the usual download as an option.


Kev has done a nice 2-minute tutorial on getting webstart to work, even comes with sample JNLP source files you can rip Wink. It's linked to from the "submit your game" page (linked to from the front page) on http://www.grexengine.com/sections/externalgames/

malloc will be first against the wall when the revolution comes...
Offline Cruithne3753

Senior Newbie




Java games rock!


« Reply #16 - Posted 2004-04-14 19:10:10 »

Thanks for that pointer, there is now a Web Start option available,  (Adjusted URL):

http://www.cruithne3753.pwp.blueyonder.co.uk/games/uridiumgl

Next, gameplay tweaks...
Offline TheBohemian

Junior Devvie




Java will rule them all!


« Reply #17 - Posted 2004-04-14 21:38:24 »

Hm. I think your JNLP is not Linux/Mac friendly.

This is how one of my own JNLPs looks like. For lwjgl have a look at the one for AlienFlux.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
<resources os="Windows" arch="x86">
        <nativelib href="jogl-natives-win32.jar"/>
      </resources>

      <resources os="Linux" arch="i386">
            <nativelib href="jogl-natives-linux.jar"/>
      </resources>

      <resources os="Solaris" arch="sparc">
            <nativelib href="jogl-natives-solsparc.jar"/>
      </resources>

      <resources os="MacOS X" arch="ppc">
            <nativelib href="jogl-natives-macosx.jar"/>
      </resources>


-- EDIT: changed arch on Linux from x86 to i386

cya

TheBohemian

---------------------------------------
my favorite OS: http://jnode.sf.net
Java 1.5 -> 1.4 converter: http://retroweaver.sf.net
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #18 - Posted 2004-04-15 10:06:45 »

Ditto Sad. Would like to play this game...

malloc will be first against the wall when the revolution comes...
Offline TheBohemian

Junior Devvie




Java will rule them all!


« Reply #19 - Posted 2004-04-15 18:54:48 »

I do not want to be picky on this but webstart is definitely NOT the right term regarding JNLP files. The thing is called Java Network Launching Protocol (or JNLP).

Webstart is Sun's reference implementation of that specification. I often hear people cry Webstart is doing nasty things in its cache and these people believe this is the fault of the JNLP specification. If you are unhappy with webstarts behaviour try OpenJNLP:
http://openjnlp.nanode.org/ -> too bad that it is abandoned for some time now Cry

cya

TheBohemian

---------------------------------------
my favorite OS: http://jnode.sf.net
Java 1.5 -> 1.4 converter: http://retroweaver.sf.net
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #20 - Posted 2004-04-15 19:26:27 »

Quote

http://openjnlp.nanode.org/ -> too bad that it is abandoned for some time now Cry


Um. When there's actually a genuine viable alternative that is less buggy than JWS and has enough features to make it worth adopting, sure.

At the moment, JWS seems to be the only horse in town Sad. There's also something to be said for "keeping it simple" given how much of a struggle it currently is to get a significant portion of developers to even use the thing at all Sad [rough stats from JGF: about 40% (keeps increasing the more I harp on about it Grin) submit their games already JWS'd, about 10% categorically refuse because they're *only* releasing a windows EXE, no linux or mac *at all*, about 10% refuse for random arbitrary strange reasons, and the rest can be persuaded if you sell it to them hard enough Cheesy].

FYI to anyone evangelising JWS: the key to persuading most people seems to be, funnily enough, pointing them at Kev's tutorial and pointing out that:
 - he gives you all you need, just copy, paste, in most cases you're done.
 - If you need to add more, all the info you need is there.
 - it only takes 30 secs (unlike adopting many other worthy technologies, this one really is trivial to get working; at least, it is with the tutorial Wink)

malloc will be first against the wall when the revolution comes...
Offline Cruithne3753

Senior Newbie




Java games rock!


« Reply #21 - Posted 2004-04-16 17:08:52 »

Right, with any luck it should (might) work for Mac and/or Linux (I have no way of testing myself):-

http://www.cruithne3753.pwp.blueyonder.co.uk/games/uridiumgl
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #22 - Posted 2004-04-17 07:03:48 »

Quote
Right, with any luck it should (might) work for Mac and/or Linux (I have no way of testing myself):-

http://www.cruithne3753.pwp.blueyonder.co.uk/games/uridiumgl


Looks like this bit still isn't working:
1  
2  
3  
4  
5  
6  
7  
<resources os="Linux" arch="x86">

    <j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se" />

    <nativelib href="lib/lwjgl-linux.jar" />

  </resources>


Try removing the "arch" bit. Kev's example doesn't have it, and his games work OK... (just a guess).

In fact, checking what arch 1.4.2_04 reports in linux on a pentium-3 @ 1ghz, I get the answer:
Quote

i386


I.e. the linux JVM is apparently compiled only to work on i386 machines (which implicitly means all later pentiums and celerons, but excludes earliers such as the 286 etc - which x86 would NOT exclude).

Still, I'm surprised that the windows JVM reports x86 and the linux reports i386 Huh.

malloc will be first against the wall when the revolution comes...
Offline Cruithne3753

Senior Newbie




Java games rock!


« Reply #23 - Posted 2004-04-18 16:40:09 »

I've changed it to arch="i386"... fingies crossed...
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #24 - Posted 2004-04-18 17:32:35 »

Quote
I've changed it to arch="i386"... fingies crossed...


Why don't you remove it entirely?

Anyway, that seems to work.

However, you have a really clever game. It throws an Exception:
Quote

OS 'Linux' not yet supported.
     at cruithne3753.games.uridiumgl.UridiumGL.main(UridiumGL.java:237)

malloc will be first against the wall when the revolution comes...
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #25 - Posted 2004-04-18 17:37:00 »

Well, here in the windows world it looks great! Way to fast still, but looks (and sounds) brilliant.

Nice to see a fellow Bristolian producing such quality,

Kev

Offline Seekely

Senior Newbie




I am java


« Reply #26 - Posted 2004-04-18 18:38:36 »

Just like the rest, looks good, sounds good, but I can't play at all becaues its about 1000x too fast  :-/

1.5b
2000 XP Athlon
Windows 2000

http://www.untoldevils.com  
An RPG like every other, except this one is made by me
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #27 - Posted 2004-04-18 19:43:48 »

On Mac OS X


An error occurred while launching/running the application.

Category: Launch File Error

No JRE version found in launch file for this system


Ditch the 'arch' specification for one.  And I think the OS should be "Mac OS" with a space.

Offline TheBohemian

Junior Devvie




Java will rule them all!


« Reply #28 - Posted 2004-04-21 06:49:23 »

I think the arch section is necessary ... have look at this

JRE/JDK 1.4.x for Linux:
i386, ia64 - Sun Microsystems
x86_64 (AMD 64Bit) - Blackdown
sparc - Blackdown (planned for late 2004)

JRE/JDK 1.5.x for Linux:
'various architectures' (?) - Blackdown
x86_64 - Sun
i386 - Sun

Even on Win there are 3 archictures x86, x86_64 and ia64 .... so do not underestimate the necessarity of this attribute in JNLP Smiley

Btw: Thank you for fiddling out that Linux-i386-not-x86 issue, that was an error in my own JNLPs Cheesy

cya

TheBohemian

---------------------------------------
my favorite OS: http://jnode.sf.net
Java 1.5 -> 1.4 converter: http://retroweaver.sf.net
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #29 - Posted 2004-04-21 11:41:10 »

Quote
I think the arch section is necessary ...

In some cases. If it is set correctly it shouldn't be a problem.  At some point even the Mac version will likely need 32 bit and 64 bit versions of native libs.

Quote
Even on Win there are 3 archictures x86, x86_64 and ia64 .... so do not underestimate the necessarity of this attribute in JNLP Smiley

Well sure, except there is no 64 bit version of any of the native libraries (LWJGL, JOGL, etc.) as far as I know.  So for now it would probably be best to not specify and hope that the 32 bit subsystem of the 64 bit Win OS versions is able to cope with it.  I don't know if the 64 bit VM can use a 32 bit JNI lib or not.

Pages: [1] 2
  ignore  |  Print  
 
 

 
DesertCoockie (36 views)
2018-05-13 18:23:11

nelsongames (80 views)
2018-04-24 18:15:36

nelsongames (73 views)
2018-04-24 18:14:32

ivj94 (755 views)
2018-03-24 14:47:39

ivj94 (85 views)
2018-03-24 14:46:31

ivj94 (626 views)
2018-03-24 14:43:53

Solater (101 views)
2018-03-17 05:04:08

nelsongames (182 views)
2018-03-05 17:56:34

Gornova (408 views)
2018-03-02 22:15:33

buddyBro (1068 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
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!