A
Ark
Guest
I'm working on a platformer. I have a big room - 2x3 screens in size. The camera (or the view) (or them both) is following the character. (this camera/view thing is super confusing... I read and read again, but I don't understand it... To me it's either views or cameras... I don't know why they exist at the same time...).
I want this: when you press a certain button an object appears on the screen on the x and y of the currently visible part of the room.
I'm trying view_xport[0], but it always gives me the starting point of the view, which is zero.
I'm trying camera_get_view_x(view_camera[0]) and the result is the same.
How can I get the x and y of the currently visible part of the room (I mean the top left point)? Any way of doing this would work for me.
I want this: when you press a certain button an object appears on the screen on the x and y of the currently visible part of the room.
I'm trying view_xport[0], but it always gives me the starting point of the view, which is zero.
I'm trying camera_get_view_x(view_camera[0]) and the result is the same.
How can I get the x and y of the currently visible part of the room (I mean the top left point)? Any way of doing this would work for me.