korlibs / korlibs/korge-particles
Particle system do not seem to take window scaling in consideration
- Dominant language
- Kotlin
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Thank you so much for creating world-base coordinate particle. I've notice that the particle scale incorrectly if the window size is different than the game resolutions. For example:
```kotlin
class GameModule : Module() {
val game = Game()
override val size = SizeInt(game.stageWidth, game.stageHeight)
override val windowSize = SizeInt(game.stageWidth * 2, game.stageHeight * 2) // Doubling window size
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the Kotlin GameModule example, using a window twice the game resolution. Trace how the particle system applies world-based coordinates during scaling and identify the relevant source and test entry points. Done means particle size remains correct when the window and game resolutions differ, with regression coverage if the project has tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100