Ground image suddenly ends. Cannot get it to 'stretch'...
WildShroom
Member Posts: 7
My image is currently 1024 pixels long; not the entire length of the level. I cannot get it to stretch, replicate, or tile. What am I missing? I need it to continue to the end of the level.
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
@mulcahy: The actor runs out in the middle of the game. That is fine based on the image restrictions. However, why won't it tile the actor again so that the ground seems to run the entire scene?
It is usually best to roll your own parallax so you can control/instill a little overlap between tiles as sometimes GS introduces vertical gaps (from what I have seen/heard but not yet implemented myself).
So the actor image you want repeated is 1024 x some-Y. And your scene is what size?
Maybe set the scene width equal to an even multiple of 1024 in width and "some-Y" in height (or a multiple of "some-Y" if you want it tiled in multiple directions.
Then in the actor who has the image, set it to tile and its width to 1024 and height to "some-Y".
I've done that with a 10x10 grid pattern and it worked. They key may be it being an even multiple. Maybe even scale it back to 1000 x some-Y to avoid the extremes. Just throwing out some idears.
Maybe it is just a GS bug with images over a certain size tiling...
I haven't tried any views scenes bigger than the default view. I know you have done some big scene stuff and some faked big scene stuff, so I stand down to your input! ;-)
I was going off of successfully tiling a 10x10 actor in the current view and extrapolating that a 1024xY could be tiled into a scene whose width is a multiple of 1024.
I thought I read somewhere that was used for anchoring stuff like HUD and always thought it was sort of mislabeled.
<feelin' like an idiot>
I just tried and I was reminded why I rolled my own wrap screen. If you move stuff off-screen to hide it, it wraps back on. Thusly, there is no off screen with scene "wrap" enabled (well, if both X and Y "wrap" are enabled). Thusly, I rolled my own on actors that needed it.
Anyway, WildShroom, just ignore my last three entries in this thread (including this one). The first three posts of mine still pertain to the subject at hand.