Skip to content

Add HidingRock sprite support and map placements#403

Merged
TheUnrealZaka merged 1 commit into
mainfrom
feat/fix-mechanics-hide-rock
Jun 12, 2026
Merged

Add HidingRock sprite support and map placements#403
TheUnrealZaka merged 1 commit into
mainfrom
feat/fix-mechanics-hide-rock

Conversation

@victorpeor

@victorpeor victorpeor commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Load and render a hiding-rock sprite for HidingRock entities: add texture fields to the header, load the pre-rotated PNG in Start(), query its size, draw it bottom-aligned and scaled in PostUpdate(), and unload it in CleanUp(). Add the rock PNG asset and a PowerShell helper script to rotate the source image. Also place two HidingRock objects (rock_type=1) into MapLvl1ZonaBaja.tmx.

Canvis

Issues relacionades

Tipus de canvi

  • feat: Nova funcionalitat
  • fix: Correcció de bug
  • art: Asset gràfic
  • docs: Documentació
  • refactor: Refactorització de codi
  • build: Canvis al sistema de build

Checklist

  • El codi compila sense errors
  • He provat els canvis localment
  • He seguit les naming conventions (PascalCase classes, camelCase mètodes, m_ membres)
  • He usat Conventional Commits al títol del PR
  • He enllaçat la Issue corresponent

Load and render a hiding-rock sprite for HidingRock entities: add texture fields to the header, load the pre-rotated PNG in Start(), query its size, draw it bottom-aligned and scaled in PostUpdate(), and unload it in CleanUp(). Add the rock PNG asset and a PowerShell helper script to rotate the source image. Also place two HidingRock objects (rock_type=1) into MapLvl1ZonaBaja.tmx.
@victorpeor victorpeor requested review from a team and TheUnrealZaka as code owners June 12, 2026 02:47
@victorpeor victorpeor linked an issue Jun 12, 2026 that may be closed by this pull request
@TheUnrealZaka TheUnrealZaka merged commit 095b98a into main Jun 12, 2026
3 checks passed
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.

feat: fix mechanics hide-rock

2 participants