GameMaker views wrapping

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.
 
Z

zendraw

Guest
can someone say atleast if its even possible to use views for this?
 

S_Kleer

Member
I once tried to implement this through views too, but I found it much easier to draw an object sprite by hand, emulating the room's loop.
 
Top