I think part of the problem is that people around here donāt like to read long threads. Although, I like having a single thread, so everything is in one spot. So, here are links to the four templates in one spotā¦
Those link to the original post with the link to the corresponding template page. Should there be a template #5? I havenāt decided yet.
Update ā I think thatās it for this project. Surprisingly, I donāt see a lot of interest in free templates. It seems that more people are interested in buying A Book About Hype. Besides, Iām low on ideas anyway. I had already put my good projects in the book.
Meanwhile, does anyone else have a template request?
If not, then I might just do this one...
...it would involve some JavaScript though. Hype doesn't include collision detection. I've got some projects that are waiting on it, so I'm not sure if I should wait much longer.
Thatās good! Although, I had something somewhat different in mind, more like a game control ā where you couldnāt move forward if there was an object in the way. But instead, I decided to work on different projects this weekend. One of the project ideas is to try and use Matter.js without using Hype. It would be nice if there were more physics options in Hype. But by using Hype, Iāve become less adverse to manually writing JavaScript code.
Web app UI elements templates, not for game behavior. Iām talking about UI prototyping here: tables (expandable, editable, etc.), dropdown lists, menus, radios, switches, accordions, all form elements, 3-state buttons, trees, etc.
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!
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...
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.
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.
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.
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ā¦
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ā¦
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.
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.
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ā¦