EVENT UPDATESCREENAREA: Difference between revisions
Jump to navigation
Jump to search
Doom64hunter (talk | contribs) mNo edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
See [[screenarea_x1]], [[screenarea_y1]], [[screenarea_x2]], [[screenarea_y2]]. | See [[screenarea_x1]], [[screenarea_y1]], [[screenarea_x2]], [[screenarea_y2]]. | ||
The struct members [[RETURN|ud.return[0] to ud.return[3]]] hereby store '''x1''', '''y1''', '''x2''' and '''y2''' in sequence. Alter | The struct members [[RETURN|ud.return[0] to ud.return[3]]] hereby store '''x1''', '''y1''', '''x2''' and '''y2''' in sequence. Alter these in order to resize the screen area. | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 12:33, 23 February 2020
EVENT_UPDATESCREENAREA is a Misc Event.
This event is triggered whenever the visible game area is updated. Use this event to change the size of the game view, similar to when you press + or -
See screenarea_x1, screenarea_y1, screenarea_x2, screenarea_y2.
The struct members ud.return[0] to ud.return[3] hereby store x1, y1, x2 and y2 in sequence. Alter these in order to resize the screen area.