Yesterday I had to use the Repeat property and it me a really long time to realise that you must set Scale as well as Repeat for it to work (I found an example).
Could some extra description be added there in order to make it more clear? I checked both the orxOBJECT and orxGRAPHIC description and neither gave me a clear instruction of what I should have done.
Thanks in advance.
Comments
Good spotting by the way.
I could try, I would need to do some testing (as I am not sure what would happen if I had repeat = and 3 scale = 2 or repeat = 2 and scale = 3).
As far as I know I do not have an user on Wiki.
So, the Scale property will define how "big" your visual will be in the end, wheras the Repeat one will define how many time the graphic will be repeated within that size.
For example:
- Scale=3/Repeat=2 -> object will look 3 times bigger on both axes, but the graphic will only be displayed twice per axis on that surface (ie. 4 graphics inside a 9 times bigger surface)
- Scale=2/Repeat=3 -> object will look twice bigger than original on both axes but the graphic will be repeated thrice per axis (ie. 9 graphics inside a 4 times bigger surface)
Does it make any sense?