Hello fine people!
I have been working on what has been my most involved Hype project to date.
Almost all of this 58 page ebook runs out of a single hype file:
https://content.une.edu.au/2020/apps/interactive_ebooks/index.html
The hype file essentially uses two scenes, one scene for painting activities, and another scene for standard pages, with assets loaded in for each page.
I came up against an issue where event listeners were 'stacking up' each time a scene was loaded, however I think these are mostly fixed. Everything appears to be working nicely, however I am wondering if anyone could help me identify other elements I need to be careful of, e.g I am unsure about:
-Html canvas
-Garbage collection
-Hype's on-drag events
Should I be concerned with these things or is Hype/Javascript garbage collection likely to be sufficient? My knowledge in this area is rather limited, and I am not sure whether Hype handles some of this too when using it's built-in functions.
I have attached my working file, however it won't function correctly without disabling CORS. Please forgive my messy code . The live version above + web inspector may be more insightful for some, perhaps.
Thanks everyone!!
index.zip (1.1 MB)