Skip to content

Comments

fix: use parallaxx and parallaxy from the tiled tmx#449

Merged
Geokureli merged 1 commit intoHaxeFlixel:devfrom
ninjamuffin99:tiled-parallax
Oct 7, 2024
Merged

fix: use parallaxx and parallaxy from the tiled tmx#449
Geokureli merged 1 commit intoHaxeFlixel:devfrom
ninjamuffin99:tiled-parallax

Conversation

@ninjamuffin99
Copy link
Member

in Tiled 1.5 parallax related variables were added to layers. This PR will read the layer attributes from the tmx file and set the parallaxX and parallaxY values if it exists in the tmx, otherwise defaults to 1

@Geokureli Geokureli merged commit 0d07752 into HaxeFlixel:dev Oct 7, 2024
@Geokureli
Copy link
Member

Thanks!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants