wilmer
Member
Greetings, the problem is that I have a room that measures 1700 x 1000 and the view measures 1280 x 720, I use objects to use them as buttons and in the room editor I place them in a corner, so those buttons should appear there but That is not the case, they appear below where you place them.
These are the only lines of code that I use, and I don't think I should compensate for the position of each button by subtracting X / Y from a create or Step event. What am I doing wrong ?
Create Event
Draw Event
Draw GUI Event
This is what my room looks like and the view, which is positioned in the center of the room and glued down with the edge of the room:
These are the only lines of code that I use, and I don't think I should compensate for the position of each button by subtracting X / Y from a create or Step event. What am I doing wrong ?
Create Event
GML:
display_set_gui_size(camera_get_view_width(view_camera[0]),camera_get_view_height(view_camera[0]))
GML:
///Here I do not put any code, as it should be
GML:
draw_self()