Probably the simplest thing I've ever had to code
f.history.go(0);
To translate that into english, "f" is the name of the open window. "history.go(0)" is a fancy way of saying refresh. You see, Javascript can't really do a refresh, so us programmers use this little hack, that basically says "go 0 pages into the past" aka. the same page. But I'm rambling now.....
The point is, now the window will refresh automatically, and the Level Editor Preview Window should work now. I didn't think this deseved a new number, (it is only one line of code different) so I just made it version 1.1
I still don't understand why this works, but since it does, who cares?
So please try it, let me know if it works for you now.
http://andrewanimation.biz/games/maze%20adventure/level_ed.html
The Mist
1 year ago

No comments:
Post a Comment