As per request from a Zelda Scratcher, I coded up a backpack-able version of a BOTW/TOTK stamina wheel system I made a while ago Please feel free to make anything with this system, just remember to credit @owaiso To use it, just backpack the "Stamina Wheel" sprite and add it to any of your games. The function to render it is fairly intuitive. _--_--_--_--_--_--_--_--_--_--_--_--_--_--_--_--_--_--_-- I was inspired by @griffpatch 's no pen health bar tutorials when making this, it actually utilizes the same technique! Most stamina wheel systems on scratch utilize pen down features to manually draw a circle. Here I use a combination of three costumes to create a single wheel. For the outer wheels I use the fisheye effect to create a thinner outline. If you have any questions on how this works, let me know in the comments :D I've personally have been using this for a Zombie shooter game I've been working on. _________________________________________________ ゼルダファンの方からのリクエストにお応えして、以前作成した『ゼルダの伝説 BotW / TotK』風の「スタミナホイール」システムをリファクタリング(再構成)しました。他のユーザーの方々が簡単に再利用できるよう、「バックパック」に入れやすい形式にパッケージ化してあります。 このシステムを使って独自のプロジェクトを作成していただいて構いません。ただし、使用する際は必ず @owaiso のクレジット(出典として私の名前を記載すること)をお願いいたします。 使い方はとても簡単です。「Stamina Wheel」という名前のスプライトをバックパックに保存し、ご自身のゲームプロジェクトに追加するだけです。画面上へのホイールの表示(描画)に関する設定も、直感的で分かりやすいように設計されています。 _--_--_--_--_--_--_--_--_--_--_--_--_--_--_--_--_--_--_-- このプロジェクトの着想は、@griffpatch さんの「ペンツールを使わずに体力バーを作る」というチュートリアルから得ました。実際、このシステムの内部的な仕組みには、そのチュートリアルで紹介されていたのと全く同じテクニックが活用されています! Scratch上でよく見かけるスタミナホイールシステムの多くは、「ペンを下ろす」機能を使って手動で円を描画するという手法を採用しています。しかし、このシステムでは、3種類の異なるコスチュームを組み合わせることで一つのスタミナホイールを構築しています。外側のリング部分には「魚眼レンズ」のグラフィック効果を適用し、より細くシャープな輪郭を実現しました。仕組みについてご質問があれば、コメント欄にてお気軽にお尋ねください! :D 私自身、現在制作中のゾンビシューティングゲームで、まさにこのシステムを活用しています。 Music from TOTK
This version only uses two stamps, when @owaiso's version uses 3 stamps.