home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Más de 2,500 Juegos
/
CD3.iso
/
zipdat
/
3229
/
3229.txt
next >
Wrap
Text File
|
2000-08-13
|
6KB
|
163 lines
FALLING STARS
(c)1996 RJHM van den Bergh
---------------------------------------------------------------------------
This Java Applet is TOTAL FREEWARE.
You may even sell it and make profit off it.
You may even distrubute it.
This all under one condition you may not make changes to the program.
If you want a changed version contact the author rvdb@nedernet.nl
The purpose off this program is to advertise this site.
So more visitors will come.
DISCLAIMER :
Because this is a free product the use is at your own risk.
Because it's for free we don't accept any claims.
However if you encounter any bugs please report them to us.
---------------------------------------
TECHNICAL NOTES : USER INSTRUCTION :
STEP 1 :
Insert the following in your html file :
(between the <body> and </body> tags)
<APPLET CODE="FallingStars.class" WIDTH=480 HEIGHT=270 align=middle>
Sorry Your browser doesn't support Java.
Use a java enabled browser and a 32 bit operating system
Such as Windows 95 and (Ms explorer 3.0 or Netscape 2.0 or higher
</APPLET>
STEP 2 :
Put the following files in the same directory as
the html file .
FallingStars.class (the java applet program)
fallingstars.cab (used only by Ms Explorer it contains all files in a compressed form)
ship.gif (picuture off ship)
shipexplode.gif (picture off exploding ship)
star.gif (picture off a star)
shipexplode.au (sound off exploding ship)
explosion.au (sound off exploding star)
laser.au (sound off the laser)
alert.au (sound off siren)
NOTE : WATCH the letter cassing off the files .
Some ftp and old unpakcing software changes the letter cassing.
(FallingStar.class is not equal to fallingstar.class etc.
You then will get the message class FallingStar not found).
DISCRIPTION OFF TAGS :
<APPLET CODE="FallingStars.class" WIDTH=480 HEIGHT=270 align=middle>
This tells the browser that there is
an applet on this html page.
The CODE attribute ONLY tells the browser the name off the java applet program.
To change the adress off this class file use the codebase attribute.
Note : the codebase attribute in this case also changes the adress off
the other files.
Example :
<applet codebase=http://www.blabla.com/blabladir/bladir/ code=someblabla.class height=100 width=100>
Width and heigth are the size off the java applet
Note you can change this applet to any size you want.
It automaticly adjust all parameters.
Sorry Your browser doesn't support Java.
Use a java enabled browser and a 32 bit operating system
Such as Windows 95 and (Ms explorer 3.0 or Netscape 2.0 or higher
You can put any standard html tags between the applet start and endtag.
If a browser doesn't support applets this standard html tags will be executed.
(most modern browsers support java)
(There is also a plug in for java for Windows 3.1x from IBM)
(windows 3.1x is a 16 bit operating system)
</APPLET>
this is the applet endtag
---------------------------------------------
GAME DISCRIPTION :
You can use the keyboard or mouse.
KEYBOARD:
spacebar = fire laser
up arrow = fire laser
s or S = Togles the sound siren
arrows = go left or right
esc = cancels the game
MOUSE :
moves = left and right
left button = fire laser
NOTE : the mouse only works if it is over the applet.
NOTE : a mouse move overides the keyboard move.
STORY :
The USS Enterprice is grounded on a planet.
The klingons have increased the gravity off this planet.
So the enterprice can't take off.
Your task is to shoot as many falling stars to survive.
--------------------------------------------------------------------
FAQ:
JAVA.LANG.APPLETSECURITY EXCEPTION
Some applet will not work if started localy with
an Explorer 3.01 3.02 and 4.0.
But they will work if started from the net.
Microsoft made a very rigid security ristriction on applets.
There where many complains abouth this restriction,
because it makes it impossible to test applets localy.
There where many complains abouth this restriction so
microsoft made it possible to install
another Java Virtual Machine on the Explorer.
http://www.microsoft.com/java/download/dl_vmsp2.htm
Note: that this download only works if you haven't start
an applet.
So close the Ms Explorer and restart it and go to this url.
------------------------------------------------------------------
BUGFIX:
1:Two loops where discovered that could eat up to much resources.
(Note that if the program doesn't respond it could be that it
hasn't got the focus.
Click on the applet to retain the focus.)
2:A possibility of a synchronisation error was discovered.
It can be caused by a system (OS) repaint call.
3: Netscape 6.0beta seems to have implemented the Sun Java runtime module version 1.3
This JRE does seem to have trouble with classfiles that where optimized with HashApplet0.8.
HashApplet 0.8 a freeware Java applet optimizer that I used for over three years.
Anyway the class files in this email are optimized with another program.
The disadvantage they are 40% bigger.
Hope they do fix the problem at Netscape side.
Improvement:
Added is the fallingstars.cab file
and the <PARAM NAME="CABBASE" VALUE="fallingstars.cab"> tag
The cab file is only used by Ms Explorer it contains all the files in a compressed form.
Other browsers will ignore it.
Please report bugs or comments questions related to this program to
rvdb@nedernet.nl
or rvdb@comweb.nl
-------------------------
Notice:
My site http://www.nedernet.nl/~rvdb will be up untill end of the year 2000.
This is because my provider has merged with another company.
All homepages are transfered to another domain.
I've set up a mirror site at my new server:
http://alpha.comweb.nl/~rvdb
Still a lot of work to do to create a fully working mirror site.
Enjoy:
RJHM van den Bergh
rvdb@comweb.nl