View Single Post
Old 28 September 2017, 21:31   #2
Dan
Registered User
Dan's Avatar
 
Join Date: Nov 2004
Location: Germany
Posts: 481
Its cool.

Iv got few hints:

Amos Pro is saving the sprite/icon/sample banks with the program.
But compiled program would cause a Guru Crash. (i guess because the length of the banks has to be even/ haven't checked their size)

I have added a simple On Break procedure, erasing all banks (after the sprites/sound icon banks are loaded):

Code:
on break proc br

Procedure Br
erase all
end
End Proc
So pressing ctrl c will erase them.

As you are loading them anyway, then they do not need to be saved with the source.

And for loading the banks, use relative paths.

e.g. If you want them to be organized in folders:

Code:
Load "images/Image bank new"
Load "icons/icons"
Load "snd/Sound effects"
anyway, attached is the compiled exe and a bootable adf, if someone would like to test it.
Attached Files
File Type: zip DoubleDragonAmos-WB-Compiled.zip (352.8 KB, 107 views)

Last edited by Dan; 28 September 2017 at 22:13.
Dan is offline  
 
Page generated in 0.04443 seconds with 12 queries