FROGRAIL TRAIN GIF SCENES
Basic Scene Components
suggest for simplicity's sake, you have them in the same folder:
Brian Clough's scripts (go here to
Dr. Clue's scripts (go here to
Train gif (this
one will do fine)
Skeleton scripted scene HTML file (crank
this one up)*
*Yes, the skeleton scripted scene's HTML is just lovely, but will not work as
written. You must do the following:
Create a new folder, and name it trainGifScenes
Put Brian Clough's and Dr. Clue's scripts in the new folder.
Put the train gif and the skeleton script in the new folder.
Now, here are the HTML changes you'll have to make to the skeleton scripted
scene's HTML code. The anchors in the HTML file I've given you are
addressing files in Frograil itself. You must change them to point to your
file locations. Since all of the scripts and other files are in the same
folder, your anchors will actually be greatly simplified:
1. In the
anchor to the loco image, substitute the following:
2. In the src="../trainGifScenes/tgjsp2.js"
..... anchor to Brian's scripts, substitute the following:
3. In the src="../trainGifScenes/jsDHTMLlib.js".....
anchor to Dr. Clue's scripts, substitute the following:
When you've done this, save the file and test it by
opening it in your browser, via Windows Explorer. When the file opens,
nothing will happen for several seconds, and then you should see the KCS engine
going from left to right over and over again. At that point, you've
successfully created your first "train gifs scene".
Congratulations. Now, you're ready to begin adding
cars, trains and other objects.