Skip to content

feat: RescaleClsn and GuardCount - #1577

Merged
K4thos merged 2 commits into
ikemen-engine:developfrom
potsmugen:clsn
Jan 2, 2024
Merged

K4thos merged 2 commits into
ikemen-engine:developfrom
potsmugen:clsn

Conversation

@potsmugen

@potsmugen potsmugen commented Jan 1, 2024 •

Copy link
Copy Markdown
Contributor

Two parameters added for resizing the collision boxes when a character or projectile is resized:

  • RescaleClsn in AngleDraw
  • ProjRescaleClsn in Projectile
  • Both are booleans

GuardCount and GetHitVar(GuardCount) triggers:

  • Similar to HitCount, but they keep track of guarded hits

- These parameters make the hitboxes match the character or projectile's scale when resizing them
- RescaleClsn is used with AngleDraw. ProjRescaleClsn is used with Projectile. Both are booleans
@github-actions github-actions Bot added the PR: feat This PR implements a new feature label Jan 1, 2024
- GuardCount returns how many hits of the current state were guarded by the opponent
- GetHitVar(GuardCount) returns how many hits the char has guarded without a change to fight back
- Similar to HitCount
@github-actions github-actions Bot added PR: feat This PR implements a new feature and removed PR: feat This PR implements a new feature labels Jan 1, 2024
@potsmugen potsmugen changed the title feat: AngleDraw RescaleClsn and ProjRescaleClsn feat: RescaleClsn and GuardCount Jan 1, 2024
@github-actions github-actions Bot added PR: feat This PR implements a new feature and removed PR: feat This PR implements a new feature labels Jan 1, 2024
@K4thos
K4thos merged commit 548ee32 into ikemen-engine:develop Jan 2, 2024
@potsmugen
potsmugen deleted the clsn branch January 28, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feat This PR implements a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants