Heh, I didnāt realize Eclipse animations would be so competitive. This one seems even more accurateā¦
Hah,hah,hah that was so funny...
Hereās an update about the free Hype Templates.
Itās been over half-a-year since Iāve created a new template. Thereās a high possibility that will change next week. I have a plan for the weekend to create a template, as a way to promote the āWrappingā app.
The plan for the next template is to create a āBookā template, as an easy way to use Hype to create an electronic publicationā¦ not quite an ePub though. Then, once you have your book in Hype, you can export it to an app using the new āWrappingā app.
I have an old sci-fi book Iām planning to bring back to the app store. So, I figured, why not share that template? If the weekend goes well, the book and the template should be online by Tuesdayā¦ FREE TEMPLATE TUESDAY!
Also, since I can edit older posts now, I listed all the templates in the first post of this thread. That should make it easier for everyone to find the templates.
But also, the āTemplateā tag at Photics.com is another way to find themā¦
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.
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
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/
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.
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.
Meanwhile, Iāve been trying to figure out the purpose of the āUse low latency Web Audio APIā setting.
Iām not sure whatās it forā¦ uncheck to enable crappy audio?!
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!
(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!
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.
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!
MERRY CHRISTMAS!
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.
Happy New Year!
This weekās template shows how HTML filters work.
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?
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!
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.
Itās terrible. But maybe with Hype 4, the games can be reborn.
Anyway, less talk, more work.
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!
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.
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
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?