4.2 Compiling applets

Apart from stand-alone executables, you can also compile your scripts to Hollywood applets. These are much smaller because they do not contain the Hollywood Player. Hollywood applets can be started with the interpreter or the freely available Hollywood Player. The advantage of applets is that you save a lot of space. Imagine you want to compile your script for all platforms which Hollywood supports (AmigaOS 3, AmigaOS 4, WarpOS, MorphOS, AROS, Win32, macOS, Linux). The players for all that platforms alone take up more than 25 megabytes so you would have to distribute a rather large archive. In this case it is a much better idea to just compile your script to a Hollywood applet. Then, the user can simply download the freely available Hollywood Player for his platform from http://www.hollywood-mal.com/ and use it to run your applet. And you have to distribute your applet only.

To compile applets with Hollywood, just pass APPLET in the -exetype argument or use the GUI. Hollywood applets carry the suffix *.hwa.

Show TOC