I want to make a bitmap scroll indefinitely through the screen. I saw there is a Texture.REPEAT property in the Texture.new method. But I don't know how to use it.
I tried to offset the anchor point of a bitmap, then the anchor position but to no avail.
Also, how do I extend my bitmap if I want to use a smaller texture that should repeat itself?
Comments
To achieve the infinite scrolling I would go for 2 objects one aside of the other that scroll from the beginning to the end of the screen, then switch position
Likes: pie
https://deluxepixel.com
You can then also...
https://deluxepixel.com
https://deluxepixel.com
Use tilemaps and use the scroll commands to feed in one of the edges or again use tilemaps and use the commands to say it basically loops back to the beginning when out of space. You will have to use mod (%) on your x,y positions so they loop too.
https://deluxepixel.com
Likes: SinisterSoft, pie, antix
Likes: Apollo14
https://deluxepixel.com