Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

setView()

Purpose

Set custom screen co-ordinates for drawing

Description

Allows user to input their own screen co-ordinates without changing screen resolution.

Syntax

setView( left, top, right, bottom )

Arguments

left value for the left hand side of the view

top value for the top of the view

right value for the right hand side of the view

bottom value for the bottom of the view

Example

image = loadImage( "Untied Games/Enemy small top C", false )

loop
  clear()
  setView( 0, 0, imageSize( image ).x, imageSize( image ).y )
  // Image will fill the view
  drawImage( image, 0, 0 )
  update()
repeat

Associated Commands

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.