Blank screen when using samples
I an getting lots of problems with Beta 7. I tracked it down to having samples in the 5.samples directory. When I removed them it worked again, though I could also get the program to run bu adding a shoot command in a particular place.
I created a new application as an AOZ one, then made this:
#manifest:"amiga" #splashScreen:false //shoot // disable this line to break the whole thing, unless you have no samples. print "End" wait key
I have a wav file in 5.samples.
If I enable the shoot command it runs and prints End. If I comment the line I just get a blank screen (AOZ player or browser). If I delete the sample it runs.
I've attached the HTML of the broken program.
I was told that the transpiler didn't include the audio scripts and that's why it failed.
I'm having similar random problems in another Amiga program. Various things are mis-behaving (blanks screen, screens not showing things I print, audio giving bank errors, etc), which might all be because of this problem.
Updated by Paul Kitching about 1 year ago
I just made a new Amiga application, copied my Amiga program in, took out the #manifest command and left the manifest in the directory that I assume is an Amiga on.
Ran the program and samples wouldn't play, and some screens weren't showing, but it did run.
I copied a new image in and ran it again and I get the blank screen again. At this point I can't really use AOZ, at least with any Amiga programs.