Skip to content

Conversation

@wjt
Copy link
Member

@wjt wjt commented Jan 30, 2026

Verso combat: Override less of throwing_enemy.gd

Previously throwing_enemy_health.gd overrode shoot_projectile() with two changes:

  1. It adjusts the distance from the enemy that the projectile spawns;
  2. It sets can_hit_enemy = true on the projectile.

Since this scene was first written, it has become possible to adjust
both of these properties.

Make a copy of the projectile, verso_projectile.tscn, which sets
can_hit_enemy to true.

Adjust ThrowingEnemyHealth.tscn to use this copy of the projectile, and
to set the distance to 75.

Delete the shoot_projectile() override.

@wjt wjt requested review from a team as code owners January 30, 2026 14:54
Previously throwing_enemy_health.gd overrode shoot_projectile() with two changes:

1. It adjusts the distance from the enemy that the projectile spawns;
2. It sets can_hit_enemy = true on the projectile.

Since this scene was first written, it has become possible to adjust
both of these properties.

Make a copy of the projectile, verso_projectile.tscn, which sets
can_hit_enemy to true.

Adjust ThrowingEnemyHealth.tscn to use this copy of the projectile, and
to set the distance to 75.

Delete the shoot_projectile() override.

Resolves #1316
@wjt wjt force-pushed the wjt/verso-combat-override-less-of-throwing-enemy-gd branch from 81f2dee to 47148a9 Compare January 30, 2026 14:57
@github-actions
Copy link

Play this branch at https://play.threadbare.game/branches/endlessm/wjt/verso-combat-override-less-of-throwing-enemy-gd.

(This launches the game from the start, not directly at the change(s) in this pull request.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants