Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

setMode()

Purpose

Set the resolution of the screen display

Description

Specify the number of horizontal and vertical pixels in the screen display. The default is 1280 x 720.

Syntax

setMode( width, height )

Arguments

width width of the screen display in pixels (default is 1280)

height height of the screen display in pixels (default is 720)

Example

print( gWidth(), " ", gHeight() )
update()
sleep( 3 )
clear()
setMode( 800, 600 )
print( gWidth(), " ", gHeight() )
update()
sleep( 3 )

Associated Commands

clear(), gHeight(), gWidth(), setDrawTarget(), setMode(), update()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.