Can anyone explain how the Wrap horizontal and virtual works in layers? I can see this being useful, but I dont know exactly how to work it. I mean can you change the side of layers, so that they wrap?
Can anyone explain how the Wrap horizontal and virtual works in layers? I can see this being useful, but I dont know exactly how to work it. I mean can you change the side of layers, so that they wrap?
Can anyone explain how the Wrap horizontal and virtual works in layers? I can see this being useful, but I dont know exactly how to work it. I mean can you change the side of layers, so that they wrap?
It will simply repeat the layer once it gets to the edge (the coefficient has to be >1 for to see it I think)
I'm not sure if you can change the wrap size (it would be great if you could, but I havn't found anything), but the size of the wrapping layer is you're total frame size... Kinda dumb IMO; if you would want a very large level, with a small pattern repeating over it it would be a pain.
It will simply repeat the layer once it gets to the edge (the coefficient has to be >1 for to see it I think)
I'm not sure if you can change the wrap size (it would be great if you could, but I havn't found anything), but the size of the wrapping layer is you're total frame size... Kinda dumb IMO; if you would want a very large level, with a small pattern repeating over it it would be a pain.

You can change the "wrap size", it's the Virtual Width and Virtual Height properties in the Frame properties.
The virtual width and height are the limits of the playfield (the ones in a Test Position condition, for example).
The "real" width and height are the limits of the frame in the frame editor, and are used to wrap the background objects (Wrap options in the layer properties).
A typical use for this feature is to allow huge scrollings. For example create a 640x480 frame, set its virtual width to -1 (= unlimited), create a new layer, selects its Wrap Horizontally option, put a background of the width of the frame (640) and a character with a platform movement above the background in this layer, and add a Center Window action on the character => the screen will scrolls indefinitely to the right. (note: it's limited on the left side)
Yves.

You can change the "wrap size", it's the Virtual Width and Virtual Height properties in the Frame properties.
The virtual width and height are the limits of the playfield (the ones in a Test Position condition, for example).
The "real" width and height are the limits of the frame in the frame editor, and are used to wrap the background objects (Wrap options in the layer properties).
A typical use for this feature is to allow huge scrollings. For example create a 640x480 frame, set its virtual width to -1 (= unlimited), create a new layer, selects its Wrap Horizontally option, put a background of the width of the frame (640) and a character with a platform movement above the background in this layer, and add a Center Window action on the character => the screen will scrolls indefinitely to the right. (note: it's limited on the left side)
Yves.