【plugin2.5】Damage Display (Dynamic Version)

Damage show2.5.gd (22.3 KB)

How to Use

  1. Create a Node2D, then add a Label node as its child

  2. Attach the script to the Node2D

  3. Copy and paste the script content into it

  4. Select the Node2D and specify the root node in the right-side panel

Other parameters are adjustable as needed.

Extra Notes
Thanks for the official update, meow! Finally, I managed to make a dynamic damage display with AI, meow! I use the invincibility toggle to trigger the damage text animation. The invincibility cooldown interval is used to control the spawn rate of the damage text. Thanks again to the official team, meow!

2.5:

  1. Now damage text will pop up on taking hits even after scene switching, including when teleporting via portals or switching scenes through scene connections.

  2. This also applies to objects pre-placed in the scene.

  3. For the Act Game Maker Compatibility Mode on the right panel, simply check the boxes for [Use Act Game Maker] and [Auto Detect Scene Changes] (or keep all settings as default).

How to Update the Script

  1. First, close all other object scenes that have already imported this script.

  2. Copy the new script and replace the original one.

  3. This will automatically reset all scenes that have loaded this script to their default values.

  4. If the target scene is open during the update, you need to make the changes manually.

2 Likes

You can also use AI to translate the comments, meow.
※ AI can also translate the comments, meow

1 Like

Also thanks to Justus for providing the rotation script.

1 Like

Awesome! :hand_with_index_finger_and_thumb_crossed: :hand_with_index_finger_and_thumb_crossed: :hand_with_index_finger_and_thumb_crossed:

I added custom font, Label, and customizable decimal place features meow! Also removed the console output prompts meow!

1 Like

2.0

New Features:

  1. Text will disappear synchronously when the target object is removed from the scene.
  2. Added support for customizing text animation duration for more flexible visual tuning.
  3. Integrated curve-based animation system to enable smoother and more dynamic text motion effects.

New Features Added:

  1. Text will disappear synchronously when the target object is removed from the scene.
  2. Added support for customizing text animation duration for more flexible visual tuning.
  3. Integrated curve-based animation system to enable smoother and more dynamic text motion effects.

Added Features:

  1. When the target object disappears from the scene, the damage text will also disappear simultaneously.
  2. Added the ability to customize text animation duration, enhancing flexibility in visual expression.
  3. Integrated a curve-based animation system to achieve smoother and more dynamic text motion effects.
1 Like

2.2

1.增加了自定义颜色渐变
2.在受到暴击情况下优先生成暴击文本
3.自定义暴击文本和颜色渐变

///

  1. カスタムカラーグラデーション機能を追加

  2. クリティカルヒット発生時、クリティカルテキストを優先的に生成するように調整

  3. クリティカルテキストとカラーグラデーションをカスタマイズ可能に対応

///

  1. Added support for custom color gradients

  2. Prioritized critical text generation when a critical hit is detected

  3. Enabled customization of critical text and its color gradient

1 Like

2.3
增加了自定义帧数FPS检测
如果Use Custom Detection Frequency = :check_mark:
那么优先使用Detection Frequency的默认帧数
如果Detection Frequency=0
那么会使用自定义Detection Interval Frames
如果Detection Frequency=3
那么会忽略自定义Detection Interval Frames
动作游戏推荐1-3帧,中等规模推荐3-5帧,弹幕游戏推荐5帧以及5帧以上(可以配合单位的无敌时间来调整检测帧数间隔)

///

2.3 Custom FPS Detection AddedIf Use Custom Detection Frequency is enabled:

  • The Detection Frequency value will take priority.

  • If Detection Frequency is set to 0, the custom Detection Interval Frames will be used instead.

  • If Detection Frequency is set to 3, the custom Detection Interval Frames will be ignored.

Recommended Settings:

  • Action Games: 1–3 frames

  • Medium-scale Games: 3–5 frames

  • Bullet Hell Games: 5+ frames (You can adjust the detection interval according to the invincibility duration of in-game entities.)

///

2.3 カスタム FPS 検出機能の追加カスタム検出頻度を使用を有効にした場合:

  • 検出頻度(Detection Frequency) の値が優先的に適用されます。

  • 検出頻度0 に設定した場合、代わりにカスタム検出フレーム間隔(Detection Interval Frames) が使用されます。

  • 検出頻度3 に設定した場合、カスタム検出フレーム間隔 は無視されます。

推奨設定値:

  • アクションゲーム: 1~3 フレーム

  • 中規模ゲーム: 3~5 フレーム

  • 弾幕系ゲーム: 5 フレーム以上(ゲーム内キャラクターの無敵時間に合わせて、検出フレーム間隔を調整可能です)

2 Likes

2.4 Optimized the code volume and changed the default text size to 16.

1 Like