view_xview[0] = x-view_xview[0]/2
view_yview[0] = y-view_yview[0]/2
Right, this next script goes on the idea that if the player enters the boundrys of the view, it will switch the view. For example, those classic oddworld games or the old prince of persia or even heart of darkness style views. Pretty much screen to screen. Very simple but very effective. Place also in the "END STEP" event.
if(x > view_xview+view_wview){view_xview += view_wview;}
if(y > view_yview+view_hview){view_yview += view_hview;}
if(x < view_xview){view_xview -= view_wview;}
if(y < view_yview){view_yview -= view_hview;}
Hope you all like
Edited by HelpMyFellowPeople, 15 July 2012 - 04:12 AM.











