Free Hype Templates šŸ—

You can find something also here
http://www.hypedocks.com/addons

Thanks!

It's been three months since the last free Hype Template at Photics.com. I've been feeling more rested and more creative lately, so I decided to create a new template.

This template is about displaying Frames Per Second. I believe that Hype has the potential to be great game development software. Perhaps little nudges like this can help unlock that potential.

Even if you're not into game development, there is some general information about Hype that might be useful. Creating smooth animations is important for game developers and web designers alike!

The template is available at Photics.com...

It's a two-page article, so the download link is on the second page. Also, for you know-it-alls, I intentionally left an open problem in the template. That way, you don't have to be a beginner to have fun with this week's template. HA!


@DBear started a new thread about the FPS problem here...

5 Likes

After reading this thread...

I started working on a new template. The idea was to show a way to animate buttons. It grew into a "United States Capitals Quiz".

The four buttons don't just turn light-blue on mouse over, it transitions from dark-blue to light blue. This is more advanced than regular button states, as this includes animation.

If you want to learn how to make a quiz, or if you want to find another way to manage button states, you might find this template helpful.

3 Likes

I felt inspired today, so I have another ā€œTemplateā€ ready for next week. Although, itā€™s technically not a traditional Hype Template. Itā€™s the answer to the FPS problem.

I was surprised that no one took on the challenge, so Iā€™ll just post the answer next week. Although, it is just one way to solve the problem. Thereā€™s likely more than one way to solve this problem. Whatā€™s great about this solution is that it should be super easy to use. Itā€™s basically a matter of cut-and-paste. Just about any Hype project should be able to use it ā€” for easy FPS testing.

Will you be able to make it into an extension..

1 Like

It seems similar, but I'd probably just post it at my website.

Part II of the FPS template is online. There some nice effects here.

  • No image files are used for the FPS chart. This is drawn with SVG.
  • No additional elements needed. It dynamically creates the div. (In the example, itā€™s using the background element, but ā€œdocument.bodyā€ could be used instead.)
  • The lines change color based on height ā€“ Black / Red ā€“ to highlight FPS issues.

This template shows how matter.js puts physics elements to sleep after they stop moving for a while.

https://photics.com/free-template-tuesday-8-tumult-hype-fps-part-ii/

3 Likes

Hereā€™s a heads up. Template #9 is set to launch on Tuesday. So, if youā€™re stressing out about the Presidential Election, a mild diversion is on the way. HA!

The template is not about politics though. Hereā€™s a hintā€¦

:unlock:

Is that not enough of a hint? Hereā€™s another. Itā€™s something I think Hype could do by default. So, maybe @jonathan and @Daniel will improve upon the concept and make it a default part of Hype.

Also, some general ranting. I donā€™t like how the exported html file is project-name.html instead of index.html. Itā€™s so tedious renaming the same file over and over. (Yeah, I know about advanced export, but itā€™s not as simple as a regular export.)


Free Template Tuesday #9 ā€“ Tumult Hype ā€œLockā€ is now onlineā€¦

3 Likes

I updated the "looking" template...

Apparently, something changed with the "Ellipse" element. Even though the top border was set to zero, a thin line was appearing. This made the smiley look strange.

Also, I changed layerX / layerY to clientX / clientY.

Apparently, layerX / layer Y is non-standard...

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

1 Like

This weekā€™s template shows how to use Groups to hide / show content. Thereā€™s no programming necessary. Only basic Hype features are used.

6 Likes

This weekā€™s template is the ā€œMultilingualā€ template. It does a few cool thingsā€¦

  • Displays Browser Language
  • The project displays certain text depending upon the Browser Language
  • The user can change the language. (This example uses three different versions of English, but other browser languages could be used instead.)
  • Once the user picks a language, that value is stored. So, when the page is reloaded / revisited, the preferred language is shown.

The key to the project is a two-dimensional array. That makes it easier to manage multiple languages. The columns are a specific language, while the rows are a specific element. In other words, itā€™s not multiple scenes or multiple elements. Instead itā€™s a spreadsheet of data. This approach can be modified for other projects, such as Role-Playing Games. A system like this can make it easy to manage character dialogue or equipment data.

Additional information, and the free Hype template download link, can be found hereā€¦

4 Likes

Heh, I was wondering where all that Twitter traffic was coming fromā€¦

Thanks!

With retro gaming being in fashion these daysā€¦ https://www.nintendo.com/super-nes-classic ā€¦some of you might be considering the creation of your own nostalgic video games. A great way to create that classic look is with a passcode system. Thatā€™s what this weekā€™s template is about.

https://photics.com/free-template-tuesday-12-tumult-hype-passcode/

I didnā€™t explain how the template works, in order to show that itā€™s a fairly effective deterrent. Whatā€™s the passcode? Itā€™s a secret. :blush:

Hereā€™s a hint: Itā€™s sneaky marketing, similar to ā€œBe sure to drink your Ovaltineā€ :smile:

1 Like

I wouldnā€™t use base64 on itā€™s own! Also, would put a disclaimer in that this isnā€™t a full proof system :wink: as you will inevitably get people complaining that they got hacked or something similar. Highlight the fact itā€™s a deterrent :slight_smile:

Password hint: link to a resource that Michael has created!

1 Like

I did. It's mentioned in the article. (I updated the article for even more clarity though.) The system is good for single-player video games, where if the person cheats then they're only cheating themselves. It's not for securing bank information. :smile:

...but what is nice, if you're creating a webview app from a Hype project, there isn't an easy way to view the source from an iOS device. (If there is, I don't know it. How do you view web page source on iOS?) So, this method is pretty good for creating a video game passcode system across multiple mobile platforms. (Sure, someone could just copy the app to the desktop, look at the code and figure it out, but again... just a deterrent.)

Another way to explain it is this... it's like the Mike Tyson's Punchout code. It's not really a secret to experienced players. Lots of kids from the 80s probably have it memorized. But when you saw that code on the screen for the first time, you probably wrote it down. :smirk:

For securing information, no... it's terrible. That's the point of the system. The codes are ultimately meant to be shared, but not right away. There has to be a perceived value. It's like when a girl is undressing in an old movie. She will be nearby and say to the guy... no peaking... but then they totally have sex later in the movie. The "no peaking" is part of the foreplay.

Video game cheat codes are meant to be shared. Normally, you don't post replies about my templates. Today, you did. You got to reverse engineer the system and tell others about it. This creates buzz. Imagine if people didn't know the famous Konami 30 lives cheat code, would their games be as popular?

Iā€™ve been working on an HTML-to-Xcode (webview) project and I was getting frustrated. Thatā€™s when inspiration hit for a new Hype Template. Next week, on Monday, August 21, 2017, a total Eclipse will travel across America ā€“ Coast-to-Coast.

If you believe what David Baron saysā€¦ https://www.ted.com/talks/david_baron_you_owe_it_to_yourself_to_experience_a_total_solar_eclipse ā€¦you should see a total eclipse before you die. Pretty bold words and high expectations, for an event that can easily be rained outā€¦ https://darksky.net/forecast/32.7876,-79.9403/us12/en

Yet, even from a simulated view, I can understand the experience is probably awe inspiring. By using basic features in Hype - no additional JavaScript needed - you can create a Total Solar Eclipse animation. Thatā€™s what this weekā€™s Free Hype Template is aboutā€¦

Also, I updated the look of Photics.com :smiley:

3 Likes

Hah, you just reminded me of one I wrote for someone who missed an partial eclipse ( 2015 I think) and wanted to see one. I made this for them and they had it on a second monitor for the whole day ( takes just over an hour- It does move but in speed of if it was real ). Only have the original export to hand now. But a simple restore can get the Project back.
This was the only version I could find on the Mac I am on now. I am sure I wrote one that had a corona flare at the summit of the eclipes
.
Archive.zip (635.4 KB)

Heh, I didnā€™t realize Eclipse animations would be so competitive. This one seems even more accurateā€¦

1 Like

Hah,hah,hah that was so funny...

3 Likes