Free Hype Templates šŸ—

It's looking more like next Tuesday, not this Tuesday. There's a bit more work involved in this project than I anticipated. And since I like how it's turning out, I don't want to rush it.


UPDATE: OK, I'm having trouble getting my book app approved by Apple. That ruins the excitement of the new template. As apparently, it's not as useful as I thought it would be. Apple will very likely reject an app if it just looks like a regular book. They keep pointing me to the iBooks Store, but I think Revisions works a lot better as an app.

Regardless, the "book" template will be launched tomorrow.

1 Like

The free ā€œbookā€ template is now onlineā€¦

Here are some featuresā€¦

  • Left / Right buttons for navigation
  • Use of data-* element attributes for hyperlink navigationā€¦ https://www.w3schools.com/tags/att_global_data.asp
  • Settings menu (Click the gear icon to toggle it)
  • Thatā€™s another cute thing, the gear icon spins indefinitely. Thatā€™s because itā€™s an animated SVG file
  • Text zoom options

1 Like

Based on the conversation hereā€¦ How do I add a particle effect? ā€¦I created a simple ā€“ no coding ā€“ template / tutorial for adding particles to Hype projects.

https://photics.com/free-template-tuesday-15-tumult-hype-fishy/ :fish:

3 Likes

Hereā€™s just a minor update about the Free Hype Templatesā€¦

After adding a more effective way to display Hype projects on my website, I went back and reviewed the existing Hype Templates. I knew that some of them had display issues, but I didnā€™t get around to fixing them ā€“ until today!

There are updated FPS & FPS2 templates, so that they fit better on the page.

The trick was to hide the ā€œWallā€ elements in the overall ā€œGroupā€ element. Using the ā€œscale behaviorā€ with physics dramatically hurts performance, but thatā€™s sorta the point for the FPS projects. Itā€™s a stress test. On a modern computer, such as a MacBook Air 2017, itā€™s just too extremeā€¦ either too few frames or 60 FPS. Both hardware and software has improved since 2016. Using scaling recreates the intended effect.

2 Likes

7 posts were split to a new topic: How to add Google Fonts to the Photics ā€œBookā€ Template?

If you didnā€™t already know, Iā€™ve been working on a printed version of ā€œA Book About Hypeā€. Since the book is to be printed, Iā€™ll probably just post the templates on my website. I might start as soon as this Tuesday, making new templates available before you can buy the book.

I just realized that this could be a nice Christmas Eve gift to the community, so Iā€™ll try to get the first template online this week. The ā€œOriginā€ template is just a simple project, nothing too fancy. Itā€™s the thought that counts. :smile:

Meanwhile, Iā€™ve been trying to figure out the purpose of the ā€œUse low latency Web Audio APIā€ setting.

document-advanced-options

Iā€™m not sure whatā€™s it forā€¦ uncheck to enable crappy audio?! :crazy_face:

While experimenting with this feature, I realized something. ā€œHey, I can fix the ā€˜Coconutā€™ template!ā€ Previously, the sound effect would lag. It didnā€™t sync with the coconut animation. The ā€œlow latencyā€ option is great! Although, since modern web design/development is becoming a series of rules about things you canā€™t do, one doesnā€™t simply play audio on the Internet.

You need a chaser! :cocktail:
(I donā€™t drink, but it really is a great name for the effect.)

I added a dropping sound effect once the ā€œdrop coconutā€ button is pressed. The user interaction unlocks the ability to play audio. Now it should work in modern web browsers. With over 2,000 downloads, itā€™s the most downloaded template of the bunch. Iā€™m surprised too, as I didnā€™t put that much effort into it. HA HA. Hard work is not directly proportional to success. Regardless, I felt that such a popular template should be respected. So, I fixed it. Enjoy!

1 Like

Basically! Unchecking will use the HTML5 <audio> tag instead of the Web Audio API.

The most typical reason for unchecking this is that if an iPhone is set on mute, the Web Audio API will be silent, whereas the <audio> tag will still play audio. (There is a hack we've subsequently learned about and may put into Hype in a future release).

Beyond this, there are some rare contexts users have written about in which the Web Audio API can be buggy or not play at all and the best fix for users is to use the <audio> tag instead. The Web Audio API likely will also use more memory, which may an issue on larger documents on iOS.

There are some situations Hype will always use the <audio> tag regardless of the checkbox setting: having a browser that does not support the web audio api, being offline, being in an iBook, or viewing via a file:/// URL.

2 Likes

Heh, the first reply is funny.

It is disgusting that this is possible or necessary.
ā€“ Matt Montag

Ha ha, I was just playing with my goofy coconut template and wondering why the Internet isn't as fun now as it was years ago. There used to be silly animations and sound effects everywhere. Heh, difficulty in playing HTML5 audio is a big reason.

I did see that in the code, line 2148...

if(_useWebAudioAPI == true && (typeof AudioContext !== "undefined" || typeof webkitAudioContext !== "undefined") && window.location.href.indexOf("file://") == -1 && _resourcesFolderName.indexOf("ibooksimg://") == -1 && iBooksWorkaround == false && navigator.onLine != false && _browserInfo.opera == null) {

audioMethodAPI = HypeAudio_WebAudioAPI;

}

...and it looks like less than IE9 defaults to QuickTime. (I'm not sure why anyone would be running less than IE9 though. Those browsers are long dead. Even Windows 7 is going to be end of life next month.)

The other information is good to know. Thanks!

1 Like

MERRY CHRISTMAS! :christmas_tree:

The ā€œOriginā€ template is available.

ā€“ https://photics.com/free-template-tuesday-16-tumult-hype-origin/

Itā€™s a way to visualize how elements are arranged on an HTML grid. Itā€™s not much, but itā€™s the start of a lot of new templates. The idea is that Iā€™ll be posting new templates while working on the book. Itā€™s also important to know how the ā€œgridā€ works. (That was the original name for this template, but I gave it a Christmas theme.)

There is something interesting about this template. The animation of the crosshairs is done with JavaScript and SVG. This template is over four years old, so Iā€™m not sure why I did it that way. I suppose if you want to practice with Hype, as a way to learn, you could try recreating this template with less JavaScript. Iā€™m thinking that the animation of the crosshairs could be done with Hype.

4 Likes

Happy New Year! :tada:

This weekā€™s template shows how HTML filters work.

3 Likes

You should post the links to twitter to!

I think it's better when the links occur naturally. Like thisā€¦

Besides, social media can be a major distraction. I need to be focused on finishing the book. The plan is to get the templates online, so that the book be printed. It's about one per week for the next six months.

Is everyone OK with that? :slightly_smiling_face:

Sure! Just thought might get some more eyeballs and build up. But then again ā€¦ every approach is valid. Was in the Spirit of what I am currently trying. Either way hope Hype gains even more traction in 2020 ā€¦ looking forward to the book!

image

1 Like

Instead of updating this thread every week, Iā€™ve been focusing on working on the book. Although, with a nice bunch of templates published, and a bunch of templates queued up, I figured that I should do another update.

Hereā€™s a screenshot from the Photics.com website (WordPress) dashboard. It shows the recently published templates and the templates that are upcomingā€¦

I updated the first post with new links.


UPDATE: Iā€™ve been busy. There are so many new templates queued up that the ā€œRecently Publishedā€ section in WordPress canā€™t display them all.

The ā€œLightboxā€ template is scheduled for March 10. (I have some more writing to do, but itā€™s basically done.)

Iā€™m feeling pretty good about this project and A Book About Hype (printed edition). I realized it while working on the ā€œBounceā€ template. This is it for Flash. This is the year that so many classic web games will die. :scream_cat:

Itā€™s terrible. But maybe with Hype 4, the games can be reborn.

Anyway, less talk, more work. :laughing:


Update (2/6/2020) ā€” Templates are scheduled to appear every Tuesday, from now until the end of March. After the ā€œLightboxā€ template are the ā€œSlidingā€, ā€œPicturingā€, and ā€œTimingā€ templates.

More templates are planned for after that too!

2 Likes

https://photics.com/free-template-tuesday-23-tumult-hype-physics/

The Physics template is out today. It uses the standard ā€œno codingā€ Physics settings in Hype. The advanced stuff (Physics API) is later on. This template does use JavaScript though, so you can change the Physics settings.

4 Likes

Wow, some people really wanted this oneā€¦

ā€¦but it wasnā€™t out yet. Now it is!

https://photics.com/free-template-tuesday-24-tumult-hype-clicky/

The ā€œClickyā€ template is about using the parameters in Hypeā€™s built-in JavaScript functions. Doing so can make your project more dynamic. In the ā€œClickyā€ example, thereā€™s only one JavaScript function ā€” not four separate functions or four separate timelines. Thatā€™s because it uses the ā€œelementā€ from the action event. If an element is clicked, modify that element and only that element.

More information is in A Book About Hype. The book is ahead of schedule, but still several months out. If you want to be notified when the book is available, heart the second thread in the announcement post:heavy_heart_exclamation:

2 Likes

Flash is dying!

Itā€™s been a long and slow death. Even this video is almost 5 years oldā€¦

And yet, whatā€™s been done about it?
For many old Flash games, like ā€œPopulation Tireā€, pretty much nothing.

ā€¦but if only people knewā€¦ if only they knew how to make games with Hypeā€¦ perhaps fun would return to the Internet. This weekā€™s free Hype Template shows the possibilitiesā€¦


https://photics.com/free-template-tuesday-25-tumult-hype-bounce/

Making games with Hype is to be a big part of A Book About Hype. The ā€œBounceā€ template doesnā€™t even use the new Physics API. Iā€™m really looking forward to releasing the book, but thereā€™s still much more work to do.

Meanwhile, whatā€™s your high score? :smile:

6 Likes

The lightbox template is now onlineā€¦

6 Likes

sliding

The slide puzzle is now onlineā€¦

4 Likes

The ā€œTimingā€ template is now onlineā€¦

3 Likes