Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

update()

Purpose

Update screen graphics

Description

Render the current frame buffer to the screen. This means that a lot of drawing operations can be performed without slowing down performance

Syntax

update( )

Arguments

Example

loop
    clear()
    col = { random( 101 ) / 100, random( 101 ) / 100, random( 101 ) / 100, 1 }
    x = random( gWidth() )
    y = random( gHeight() )
    for w = 0 to gWidth() step 5 loop
        line( { x, y },{ w, 0 }, col )
        line( { x, y },{ w, gHeight() }, col )
    repeat
    for h = 0 to gHeight() step 5 loop
        line( { x, y },{ 0, h }, col )
        line( { x, y},{ gWidth(), h}, col )
    repeat
    for i = 1 to 500 loop
        update()
    repeat
repeat

Associated Commands

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

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.