Hype – enabling the back button

Hype creates all scenes on on one page. Which means, when you change the scene, the URL doesn’t change and therefore the browser history doesn’t change.
So, in order to take advantage of the “back button” we need to add the scene name via a hash to the URL to invoke a history change.

For now I have a very simple version of this. It’s a little js file that you add to your project that will take care of everything.

Just download the file here.

And add it to the Resources Panel. Done.

There are no additional options, and I haven’t tested it yet in many scenarios.
If you have any feedback, improvements, bugs etc. let me know and I will improve the script over time!