ok, to the first question,
how to find X: and Y:
well, i dont actually know a good method, and thus experiment. Change the values by making a guess on where you think it would be. I dont think there is a mathematical method, so yeah, experiment.
second question,
How to line up a row of trees/objects
this is fairly simple. Have the tree sprite on a layer, with a specific width (you choose what width it has) then, on the next layer, have it placed exactly under it on the DC, and make it have the same width and Y: value, but a different X: value, to move it next to the first tree
it should look a little like this:
the width is the important thing in this. it makes object scroll slower, to get a better 3D-effect. The X: value should be about the same width of the tree sprite, to move it next to one another.
hope this helped ;)
how to find X: and Y:
well, i dont actually know a good method, and thus experiment. Change the values by making a guess on where you think it would be. I dont think there is a mathematical method, so yeah, experiment.
second question,
How to line up a row of trees/objects
this is fairly simple. Have the tree sprite on a layer, with a specific width (you choose what width it has) then, on the next layer, have it placed exactly under it on the DC, and make it have the same width and Y: value, but a different X: value, to move it next to the first tree
it should look a little like this:
DC-Code:
name: forest width: 1280 zboundary: 510 550 shadow: bg\sys\forest\s.bmp shadowsize: 37 9 layer: bg\sys\forest\tree.bmp transparency: 0 width: 500 x: 0 y: 129 layer_end layer: bg\sys\forest\tree.bmp transparency: 0 width: 500 x: 460 y: 129 layer_end |
the width is the important thing in this. it makes object scroll slower, to get a better 3D-effect. The X: value should be about the same width of the tree sprite, to move it next to one another.
hope this helped ;)