Z
zendraw
Guest
so im kinda confused with the camera/view functions.
what im trying to do is have another view to kinda slide in on the current view and cover it which will also display the other side of the map.
basicly:
room is 2048 in width. view is 512 in width. view xpos is at 1600. 448 pixels are outside of the room and will display void, those 448 pixels will be covered by another view.
back to the problem. view0 is actual view, view1 is warp view.
positioning view1 in the stage is not a problem, displaying it properly is the real problem.
i set view_set_xport(view1, 100); and the effect is that view1 covers the whole screen except 100 pixels on the right? i dont understand how this works. or how to achive this effect with these functions.
what im trying to do is have another view to kinda slide in on the current view and cover it which will also display the other side of the map.
basicly:
room is 2048 in width. view is 512 in width. view xpos is at 1600. 448 pixels are outside of the room and will display void, those 448 pixels will be covered by another view.
back to the problem. view0 is actual view, view1 is warp view.
positioning view1 in the stage is not a problem, displaying it properly is the real problem.
i set view_set_xport(view1, 100); and the effect is that view1 covers the whole screen except 100 pixels on the right? i dont understand how this works. or how to achive this effect with these functions.