Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 19: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 14: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 15: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 01: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 14: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 22: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 16: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 11: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 01: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-20 23: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]
 

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

The first screenshot will be displayed as a thumbnail.

Dwinin (21 views)
2014-09-12 09:08:26

Norakomi (55 views)
2014-09-10 13:57:51

TehJavaDev (65 views)
2014-09-10 06:39:09

Tekkerue (32 views)
2014-09-09 02:24:56

mitcheeb (54 views)
2014-09-08 06:06:29

BurntPizza (38 views)
2014-09-07 01:13:42

Longarmx (24 views)
2014-09-07 01:12:14

Longarmx (30 views)
2014-09-07 01:11:22

Longarmx (28 views)
2014-09-07 01:10:19

mitcheeb (36 views)
2014-09-04 23:08:59
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!