Open KatDevsGames opened 7 months ago
Hi @KatDevsGames ,
Your timing is absolutely impeccable. The RepeatX and RepeatY for the image layer in tiled is actually something I started looking into last night when trying to implement a parallax image layer for my project. Do you have any idea on how to approach this in regard to the renderer?
Please let me know if I can be of any assistance. I am not exactly sure how to approach it, but wouldn't mind helping tackle that if it is something that proves difficult.
Hi @KatDevsGames and @tigurx !
I have watched PR.
RepeatX
and RepeatY
? Duplicating image N times horizontal and vertical? If yes, I don't think implementation of this is too big trouble.Contains
method, I forgot about this. But I don't understand Cast
. I mean it must be on another logic layer. Collision is not physics (but they are linked of course). CollisionComponent
does not have to move actors and does not know about "hit". May be, for you better to do component which moves actors and asks CollisionComponent
about collisions. Other question, if you need to update collisions for sequence of object (not all, not one). Is it true?In future, please, make PR separately by theme.
@Gandifil , For RepeatX & RepeatY -- Yes, it just repeats the image N times along the respected axis like you suggested.
added support for reading type field from TiledMapPropertyContent (Tiled lets you set it...) added support for repeatX/repeatY fields from Tiled image layers property (renderer still does not support this yet)
value read bugfix @TiledMapProperties.cs:10 - this got introduced when you pulled my previous pr (sorry)