L
Linkforce
Guest
I'm surprised myself I don't how to do this exactly.
Let's say I have a view following the player, and when I press the Z key, I want something to pop up in the exact middle of the screen.
Now if the view is a 640x480, of course I can just do,
instance_create( view_xview+320, view_yview+240,obj_object)
But is there a way so that I would never have to go back that code if I were to change the view to another size?
Let's say I have a view following the player, and when I press the Z key, I want something to pop up in the exact middle of the screen.
Now if the view is a 640x480, of course I can just do,
instance_create( view_xview+320, view_yview+240,obj_object)
But is there a way so that I would never have to go back that code if I were to change the view to another size?