1. Show the Y/X of the bottom/right side of the view
Or...
2. Tell the height/width of the view
Alright -- What the help file says is #2
view_wview[0..7] Width of the view in the room.
view_hview[0..7] Height of the view in the room.
However while coding I've found that while putting "view_xview[0] + view_wview[0]" does not seem to give me the X of the right side of the view, the "Deactivating Instances" section of the guide seems to agree that this doesn't work. And seems to point out #1 as the proper answer...
{
instance_activate_all();
instance_deactivate_region(view_xview[0],view_yview[0],view_wview[0],view_hview[0],false,true);
}Notice how that example code uses "view_wview[0]" and "view_hview[0]" instead of "view_xview[0] + view_wview[0]" and "view_yview[0] + view_hview[0]"?
So this is pretty much me wondering which one it is so once and for all I will finally know which one to use.
And if it is #1 then -- How do I then find the X/Y of the right/bottom of the view...?
Edited by cori5555, 22 July 2011 - 10:21 AM.











