Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (579)
games submitted by our members
Games in WIP (500)
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  
  Ultratron  (Read 13858 times)
0 Members and 1 Guest are viewing this topic.
Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Posted 2005-07-17 23:50:24 »

For your amusement and delectation:

http://www.puppygames.net/downloads/ultratron_src.zip The source code to Ultratron
http://www.puppygames.net/downloads/ultratron_resources.zip The XML resources for Ultratron
http://www.puppygames.net/downloads/framework_src.zip The Puppygames minigame framework
http://www.puppygames.net/downloads/spgl_src.zip Shaven Puppy Game Library source
http://www.puppygames.net/downloads/ecommerce_src.zip Registration code handling & hiscore server

It uses LWJGL and JOrbis too of course.

Cas Smiley

Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #1 - Posted 2005-07-18 05:15:34 »

Shocked

Nice Smiley

弾幕 ☆ @mahonnaiseblog
Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #2 - Posted 2005-07-18 08:00:39 »

WOW! - and why, may I ask ?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #3 - Posted 2005-07-18 08:02:25 »

oh, and there is a CVS export command to avoid the CVS dirs Wink

Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2005-07-18 11:38:13 »

Well, why not? It's often fun poking through people's code. Maybe some bright spark will figure out how to put it all together and build it and tweak the gameplay Wink

Cas Smiley

Offline Tzan

Junior Member





« Reply #5 - Posted 2005-07-18 18:59:03 »

Thanks!
I do enjoy poking through other people's code.
How did you know  Smiley
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #6 - Posted 2005-07-18 19:49:49 »

Goodness me.  That is generous.  I've admired the slick artwork on your games. Now I can admire the code.

Alan

Time flies like a bird. Fruit flies like a banana.
Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #7 - Posted 2005-07-19 00:23:09 »

Haha Smiley There's nothing elegant about the code! It's just "get it working QUICK code!"

Cas Smiley

Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #8 - Posted 2005-07-19 21:46:21 »

Shaven Puppy Game Library source

 Shocked Shaven Puppy out of the CVS!! 

Many Thanks

   Rafael.-
Offline amannis

Junior Newbie





« Reply #9 - Posted 2005-07-20 15:31:25 »

Ooo, nice. I've already learnt so much from SPGL and AF sources, that I wonder what I'd do without them. No doubt they've been the best resources in the whole web!
Now get into writing a deathmatch game so I can learn some networking  Grin
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #10 - Posted 2005-08-06 06:39:55 »

So if I were to completely change the gameplay and released it, you wouldn't mind?
It can't find the particle diddler. There are a few other things missing like resources.dat which isn't in the resource folder either.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #11 - Posted 2005-08-06 14:12:41 »

Surprise surprise, it doesn't just bolt together to make a game Wink

By all means feel free to use the code to make your own games. I somehow doubt you'll produce Ultratron 2 from it of course, hehe Smiley By the time you've got a finished product together... you'd have spent just as much time on it as we do!

Cas Smiley

Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #12 - Posted 2005-08-07 05:27:33 »

Ahh so it's a challenge thing.


Surprise surprise, it doesn't just bolt together to make a game Wink

By all means feel free to use the code to make your own games. I somehow doubt you'll produce Ultratron 2 from it of course, hehe Smiley By the time you've got a finished product together... you'd have spent just as much time on it as we do!

Cas Smiley

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline builderchad

Junior Newbie





« Reply #13 - Posted 2006-02-08 22:06:20 »

HI, I'm a bit late to the party and the links to the source code above don't seem to work anymore.  I was hoping I could still get hold of the source code as I would like to see a working example of 2D in OpenGL.

Thanks, Chad.
Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #14 - Posted 2006-02-10 11:20:39 »

It would be nice to have the sources back, i'm looking for a lwgl devil + linux workarround and since i haven't had any problems loading ultratron i thought i could borrow if from you  Roll Eyes

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Offline g666

Junior Member





« Reply #15 - Posted 2006-02-10 15:04:04 »

It would be nice to have the sources back, i'm looking for a lwgl devil + linux workarround and since i haven't had any problems loading ultratron i thought i could borrow if from you  Roll Eyes

I think cas' games all use his own propreity formats for images+sound.

desperately seeking sanity
Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #16 - Posted 2006-02-12 16:54:40 »

does the format matters?  Undecided i thought that it was the way in which it's loaded into memory

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Offline g666

Junior Member





« Reply #17 - Posted 2006-02-12 21:15:58 »

does the format matters?  Undecided i thought that it was the way in which it's loaded into memory

If it is his own format then he doesnt need to use devil at all. You can always write ur own loader or use imageio if u want to avoid devil.

desperately seeking sanity
Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #18 - Posted 2006-02-12 22:22:27 »

afaik, ultratron doesn't use devil..

Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #19 - Posted 2006-02-13 23:26:25 »

If it is his own format then he doesnt need to use devil at all. You can always write ur own loader or use imageio if u want to avoid devil.

ok, i have worked it our, i will share it here after testing it a litle. I have just written the ByteBuffer data of the image down to a file, with some info about the texture (dimension, format, etc...) i seems to work  Roll Eyes

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Offline magemog

Senior Newbie




Jaded Samurai


« Reply #20 - Posted 2006-02-14 02:44:29 »

The links are down  Sad

Hmm... sounds vaguely familiar... yeah
Offline nicolas_bol

Senior Newbie





« Reply #21 - Posted 2006-03-02 16:25:17 »

Arg,

I am late and links are gone  Sad !!

Anybody still have them ?

Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2


Make it work; make it better.


« Reply #22 - Posted 2006-03-02 19:05:57 »

I asked Cas about it and he said he is busy right now, but as soon as he gets a chance he'll put them back up.

Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #23 - Posted 2006-03-04 00:44:56 »

Yeah, gimme a bit, I'll put it up somewhere sometime... and no I don't use DevIL, I use my own format which is more or less like TGA (i.e. really totally simple) and convert stuff ahead of time.

Cas Smiley

Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #24 - Posted 2006-03-04 13:10:19 »

i have been tweaking kev's tga loader to load rle-encoded tga and if someone finds it usefull i can go for indexed  Roll Eyes

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #25 - Posted 2006-03-04 15:34:54 »

RLE isnt worth it. The TGAs get compressed either way. Your time is better spend with indexed and/or 16bit.

弾幕 ☆ @mahonnaiseblog
Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #26 - Posted 2006-03-04 19:52:03 »

JPEG with alpha is the best of course Smiley (For graphics where that works ok) (And that's where DevIL might come in handy, as a JPEG decoder that's easy to use)

Cas Smiley

Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #27 - Posted 2006-03-05 04:23:48 »

Hmm... "best"... well, I think that DXTn is pretty neat. Way smaller than TGA (zipped and unzipped) and usually it saves a lot vram and there is no decompression involved (apart from that on-the-fly decompression of course). If the card doesnt support it, those extra benefits are gone and you need to decompress it yourself (way faster than jpg tho).

One of those rather useless comparsion images:
http://kaioa.com/k/formatcmp.png

I'm actually a bit surprised that it does look that good with this kind of image data.

With photo based textures its a bit different. A jpg can be easily a third smaller, because the dxt stuff wont compress as nicely anymore. Well, you still have faster loading times and greatly reduced vram usage.

弾幕 ☆ @mahonnaiseblog
Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #28 - Posted 2006-03-05 09:46:41 »

I'm likin' the look o' that! Perfect compression format for my games. Is there a Java compressor source around that I can use to apply to a BufferedImage?

Cas Smiley

Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #29 - Posted 2006-03-05 16:26:28 »

>Is there a Java compressor source around that I can use to apply to a BufferedImage?

Dunno. Havent seen one yet, but it shouldnt be too difficiult, because the compression scheme is very simple (it has to be since its decompressed on the fly each time the texture is drawn).

Well, the most usable option seems to be using the DDS format for storing the images. DDS can store the texture data in over 20 kind of flavours (DXT1-DXT5, 24bit raw, 32bit raw, 4-4-4-4, 5-6-5, 8-8 etc). The advantage of using that format is that you can use your every day image viewer (say irfanview) for inspecting the images and it also means that you can use existing batch converter tools from Nvidia or ATI.

Eg this photoshop plugin and this stuff (you need to create a profile with the photoshop plugin for using that command line thingy).

OpenIL can read dds files and there are also some half usable readers written in java. IIRC CDF was working on one for VE (volatile engine).

弾幕 ☆ @mahonnaiseblog
Pages: [1] 2
  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.

xsi3rr4x (37 views)
2014-04-15 18:08:23

BurntPizza (33 views)
2014-04-15 03:46:01

UprightPath (48 views)
2014-04-14 17:39:50

UprightPath (31 views)
2014-04-14 17:35:47

Porlus (48 views)
2014-04-14 15:48:38

tom_mai78101 (69 views)
2014-04-10 04:04:31

BurntPizza (129 views)
2014-04-08 23:06:04

tom_mai78101 (229 views)
2014-04-05 13:34:39

trollwarrior1 (193 views)
2014-04-04 12:06:45

CJLetsGame (200 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!