Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gml_pragma("forceinline");
- /// @desc sets the window to the desired size and centres it
- /// @param w
- /// @param h
- // Credit: Nuxii @Kat3Nuxii
- window_set_rectangle(
- (display_get_width()-argument0) div 2,
- (display_get_height()-argument1) div 2,
- argument0,
- argument1
- );
Add Comment
Please, Sign In to add comment