Re: Hypercard Simulator
Posted: Sat Apr 19, 2025 2:19 am
Playing around with the styling of various parts of HC sim at the moment.
Sort-of testing if I can transform it into more of a 'OXT Community' Simulator (I've added a few compatibility 'synonyms' and things) while I'm studying how the Sim is constructed.
I'm trying to ditch the macOS System 6/7 appearance of Window titlebars, going for slightly 'OS-generic' with the gradation. There's several things I'm still not sure about how they work exactly. Like how to list and load imported assets, besides black & white ICONs ... there's Dialog, Palette, 'SND ', PICT 'resources'. I sort-of understand how 'parts' are defined in their 'template' sections, would like to add 'image', 'graphic' parts... 'groups' too, which act similar to a 'background' but it's actually a control/part that maintains a list of other controls. Currently the sim only allows to select one control/part at a time, so that would need to change to implement 'group/grp' controls.
One of main things I'd like to modify is file loading so we can load a 'stack' file from local disk. It appears that the 'Home' Stack that's embedded into the Sim .html gets stored in the users local browser cache as JSON (which can then be modified by user). It would also need to be modified so that it saves out to .json in addition to being able to export as HTML 'standalone' page (though it still requires 'script.js' to be functional as a 'stack').
Sort-of testing if I can transform it into more of a 'OXT Community' Simulator (I've added a few compatibility 'synonyms' and things) while I'm studying how the Sim is constructed.
I'm trying to ditch the macOS System 6/7 appearance of Window titlebars, going for slightly 'OS-generic' with the gradation. There's several things I'm still not sure about how they work exactly. Like how to list and load imported assets, besides black & white ICONs ... there's Dialog, Palette, 'SND ', PICT 'resources'. I sort-of understand how 'parts' are defined in their 'template' sections, would like to add 'image', 'graphic' parts... 'groups' too, which act similar to a 'background' but it's actually a control/part that maintains a list of other controls. Currently the sim only allows to select one control/part at a time, so that would need to change to implement 'group/grp' controls.
One of main things I'd like to modify is file loading so we can load a 'stack' file from local disk. It appears that the 'Home' Stack that's embedded into the Sim .html gets stored in the users local browser cache as JSON (which can then be modified by user). It would also need to be modified so that it saves out to .json in addition to being able to export as HTML 'standalone' page (though it still requires 'script.js' to be functional as a 'stack').