Godot Game Feelのロゴ

Godot Game Feel

コミュニティ
EL4CTEO
godot-game-feel

Game feel and juice in Godot 4.7 - trauma-based screen shake (2D and 3D), hit-stop and slow motion via Engine.time_scale, hit flash shaders, squash and stretch and easing via Tweens, knockback, FOV kicks, damage numbers, randomized sound, rumble, UI juice through offset_transform, accessibility toggles, and recording trailers in Movie Maker. Use when actions feel flat or weak.

概要

公開者EL4CTEO
リポジトリgodot-skills
スキル名godot-game-feel
スター
60
フォーク
6
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    EL4CTEOがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Godot Game Feel」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-game-feel
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/godot-skills.git /tmp/godot-skills
mkdir -p .claude/skills
cp -r /tmp/godot-skills/skills/godot-game-feel .claude/skills/godot-game-feel
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGodot Game Feelを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGodot Game Feelを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Godot Game Feelは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Game Feel and Juice (4.7)

Juice is feedback layered on a correct mechanic: tune the controls first (godot-2d has coyote time, jump buffering and variable jump height; godot-3d-gameplay has controllers), then add feedback. Every player action should answer "did it work, and how much?" within 100 ms through several channels: motion, flash, particles, sound and rumble.

Toolkit

EffectRecipeTypical values
Screen shaketrauma 0–1, offset = max × trauma² × noise; decays per second. 2D: Camera2D.offset (godot-2d reference). 3D: Camera3D.h_offset/v_offset + a small rollhit 0.2–0.3, explosion 0.6–1.0, decay 1.5/s
Hit-stopfreeze a few frames on impact: Engine.time_scale = 0.05, restore with get_tree().create_timer(t, true, false, true) (ignore_time_scale = true)40–90 ms light, 120–200 ms heavy
Slow motiontween Engine.time_scale down and back. Multiply sound pitch_scale too if you want audio to follow0.3 for 0.5 s
Hit flasha shader uniform flash 0 → 1 → 0 over ~0.1 s (modulate only darkens or tints)white, 80–120 ms
Squash and stretchtween scale on the visual child, never on the physics bodyland: (1.25, 0.8) → (1, 1) with TRANS_BACK
Knockbackadd an impulse to velocity and decay it with move_toward; optionally disable input for 0.1–0.2 s300–600 px/s, 6–10 m/s
FOV kick (3D)tween fov +5–10° on dash or sprint, back on stop0.15 s out, 0.3 s back
Camera lookaheadoffset the camera toward velocity or aim direction, smoothed10–20 % of the screen
Damage numbersa Label that tweens up, fades and scales; color by damage type; crits bigger0.6–0.8 s
Particlesone-shot GPUParticles2D/3D (one_shot, explosiveness = 1), restart() per hit; spawn a pooled copy, don't reuse one for overlapping hits (godot-shaders-vfx)8–30 particles
SoundAudioStreamRandomizer (random_pitch 1.05–1.15, several samples) so repeats don't sound robotic; layer a low thump with a crisp click (godot-audio)
RumbleInput.start_joy_vibration(device, weak, strong, seconds); phones: Input.vibrate_handheld(ms, amplitude)0.1–0.2 s
UI juicetween Control.offset_transform_scale/_rotation (4.7): a visual-only transform that containers don't override. Center it with offset_transform_pivot_ratio = Vector2(0.5, 0.5)press 0.92, hover 1.05

Tween cheat sheet

  • create_tween().set_trans(Tween.TRANS_BACK).set_ease(Tween.EASE_OUT) overshoots (pop-in). TRANS_ELASTIC wobbles, TRANS_QUAD/CUBIC are smooth, TRANS_EXPO is snappy, TRANS_BOUNCE is for landing.
  • tween_property(node, "scale", target, t).from(start); .as_relative() for offsets; set_parallel() for simultaneous tracks; chain() to go sequential again.
  • Kill the previous tween before starting a new one on the same property (if _t: _t.kill()), or rapid hits fight each other.
  • Feedback during hit-stop: tweens follow Engine.time_scale unless you call set_ignore_time_scale(true) on them. Use that for UI and the flash itself.
  • set_pause_mode(Tween.TWEEN_PAUSE_PROCESS) keeps menu tweens running while the tree is paused.
  • Frame-rate independent smoothing: a = a.lerp(b, 1.0 - exp(-speed * delta)), not lerp(a, b, 0.1).

Rules

  • Scale feedback with impact. A pistol and a rocket must not shake the same. Pass the strength in from the event (damage, speed).
  • Keep juice in components (Shaker, HitFlash, Squash) or a Juice autoload driven by signals, so gameplay code only emits hit(strength).
  • Feedback goes on visuals, not on physics: shake the camera, not the world; squash the sprite, not the collider.
  • Hit-stop pauses the whole game through time_scale. For per-entity freezes in action games, pause only the attacker and the victim (process_mode = PROCESS_MODE_DISABLED for N ms).
  • Accessibility: settings for screen-shake intensity (0–100 %), flashing (off/reduced), rumble on/off and slow-motion off. Read them in the components. Never flash the full screen more than 3 times per second.

Recording trailers and GIFs (Movie Maker)

  • godot --path . --write-movie out.avi --fixed-fps 60 [scene.tscn] --quit-after 1200 renders every frame offline (no dropped frames even if the scene is heavy). Formats by extension: .avi (MJPEG + PCM), .png (an image sequence + WAV), .ogv (Theora/Vorbis; editor/movie_writer/ogv/* settings).
  • In the editor: toggle Movie Maker mode (the film icon next to Run) and set editor/movie_writer/movie_file. Quality: editor/movie_writer/video_quality, fps, mix_rate.
  • Not headless: it needs a GPU. Hide debug UI with a trailer feature tag or a command-line user arg (OS.get_cmdline_user_args()).

3D shaker, hit-stop, flash shader, squash, knockback, damage numbers, juicy button and a settings-aware Juice autoload (compiled by the tests): references/patterns.md

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Godot Game Feel」では何ができますか?

Game feel and juice in Godot 4.7 - trauma-based screen shake (2D and 3D), hit-stop and slow motion via Engine.time_scale, hit flash shaders, squash and stretch and easing via Tweens, knockback, FOV kicks, damage numbers, randomized sound, rumble, UI juice through offset_transform, accessibility toggles, and recording trailers in Movie Maker. Use when actions feel flat or weak.

TypingMindでGodot Game Feelを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Godot Game Feelはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGodot Game Feelをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-game-feelを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Godot Game Feelを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Godot Game Feelで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGodot Game Feelを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Godot Game Feel」は無料ですか?

はい。EL4CTEOがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇