Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (407)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Game Play & Game Design / Re: Question of Basic Esthetics on: 2005-02-12 20:07:13
Great,

Thanks for the info!

Another question.  Is there a JRE 1.5 for macs?
2  Game Development / Game Play & Game Design / Question of Basic Esthetics on: 2005-02-12 15:21:28
Sorry, I'm not sure where else to post this...


What's better style/efficiency?

import javax.swing.*;

or....

import javax.swing.JFrame;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.JScrollPane;
import javax.swing.JPanel;
3  Games Center / Archived Projects / Re: Avalanche! on: 2005-01-25 16:57:36
Hey,

Nah, I wish.  That's my problem with games / GUI programming.  I like the programming but can't do the graphics.  I got it from a free desktop wallpaper website.

DAM
4  Games Center / Archived Projects / Re: Avalanche! on: 2005-01-23 02:37:13
Wow, thanks for all the advice....


getClassLoader() has been added
Re-inserted the proper line into the JNLP file.

Clear the file from your cache and try again!

Thanks again!
5  Games Center / Archived Projects / Re: Avalanche! on: 2005-01-22 15:16:35
Quote
Also, if the game still needs 1.5 I don't think it is good to have:
 <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
Maybe game already is 1.4+?


I just removed it...  is that what you mean?

Quote
Couldn't load image

java.lang.NullPointerException


I thought I ffixed that.... Any more suggestions Cas?
6  Games Center / Archived Projects / Re: Avalanche! on: 2005-01-21 23:01:25
Thanks for the idea.

As it stands, they reset every time you die.

Thanks for trying it.
7  Games Center / Archived Projects / Re: Avalanche! on: 2005-01-21 17:46:01

For JSE2 (1.5):
http://bookexchange.rh.rit.edu/games/avalanche.jnlp

Any suggestions on how to convert this to 1.4??  I have certain syntax (list templates) that won't be recognized in 1.4.

(Thank you all for the help!)
8  Games Center / Archived Projects / Re: Avalanche! on: 2005-01-21 12:09:52
Cas,

You got it on the nose!

Thanks so much!!

I wish I could say this game was worth all the help!   ;)Hahaha
9  Games Center / Archived Projects / Re: Avalanche! on: 2005-01-21 02:41:05
Wow, thanks!

Already off to a great start  :D

I'm stuck - hahaha!

How do I modify the thing to get it to work with webstart.  At first glance this is what I have....

<? header ("Content-Type: application/x-java-jnlp-file"); ?>
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://bookexchange.rh.rit.edu/games" href="avalanche.jnlp">
     <information>
           <title>Avalanche!</title>
           <vendor>DAM</vendor>
           <homepage href="http://bookexchange.rh.rit.edu/games"/>
           <description>Avalanche</description>
           <offline-allowed/>
     </information>
     <resources>
           <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
           <jar href="avalanche.jar"/>
           <property name="webstarted" value="true" />
           
     </resources>
     <application-desc main-class="Avalanche" />
</jnlp>

Not working though.  Any suggestions?? Tells me "nullpointer exception".  My game has NEVER reported that before and still doesn't when I play on my system.

Update: Says "can't load image."  Any generic reasons for that happening? Runs fine when compiled and ran on my machine.  Something to do with images in a jar??
Images are saved in their own folder and the whole folder is then moved over to the jar.

Thanks!
10  Games Center / Archived Projects / Avalanche! on: 2005-01-21 00:25:21
Hello all,

Thanks for all the help!

This is my frist java game and first post to this board.
This is simple game, but kinda cool.

ANY suggestions is much appreciated!!!

Webstart:
http://bookexchange.rh.rit.edu/games/avalanche.jnlp

Zip:
http://bookexchange.rh.rit.edu/games/avalanche.zip


Only tried it on winXP Pro with J2SE.

Use the left and right arrow keys to manuver your character across the screen.  Try to avoid the falling fireballs for as long as you can.  The longer you last, the higher your score.

Extract the files and pull up your command line:

Command line: java Avalanche
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (88 views)
2013-05-17 21:29:12

alaslipknot (96 views)
2013-05-16 21:24:48

gouessej (128 views)
2013-05-16 00:53:38

gouessej (123 views)
2013-05-16 00:17:58

theagentd (131 views)
2013-05-15 15:01:13

theagentd (119 views)
2013-05-15 15:00:54

StreetDoggy (161 views)
2013-05-14 15:56:26

kutucuk (184 views)
2013-05-12 17:10:36

kutucuk (185 views)
2013-05-12 15:36:09

UnluckyDevil (191 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.108 seconds with 21 queries.