-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement parallax scrolling #238
Comments
It's currently open as a feature request on the Tiled forums. We should determine whether it's worth waiting for support from Tiled, or alternatively, reach out and see if we can figure out how it will eventually be implemented in Tiled. Parallax scrolling for tile layers could be problematic, as it would need to be taken into account when resolving tiles, and the tiles would still be the same size as the other layers. |
@TheRamenChef That's a nice finding. Seeing the creation date of that issue though, I don't have much hope that this will get implemented any time soon. But I totally agree on reaching out to bjorn and see what he has planned regarding this topic. |
I can't imagine this feature being implemented in Tiled too soon either. Regarding the calculation of tile boundaries on scrolling layers, I had in mind that the Tile grid would still persist as is, only considering the unscrolled tile layer (-> the default foreground plane). The offset of scrolled layers would be a solely visual effect, not influencing any Tile calculations. There are plenty of resources on implementing a parallax scrolling effect. |
Any updates on this? Have we contacted bjorn yet? |
No, not yet. And no other updates currently. |
This is, in fact, already a feature in Tiled: We are still only supporting Tiled v1.2 maps - should update our map specifications urgently to the more recent versions of the tmx format. Closing this issue in favor of #464. |
Most awesome 2D games have a parallax scrolling engine. We should support this too.
Maybe the map creator would simply set some sort of "scrollSpeed" Layer property (default: 1.0) and then all layers would be scrolled by our wizardry.
The text was updated successfully, but these errors were encountered: