TI99 Environment

# TI_SYNC

Syntax

TI_SYNC()

Description

When this function is called, the program updates the contents of the screen, the positions of all active sprites that have been set in auto-motion, and any animation image frames for animated sprites.

Example Code

    ` Animation of a single-color, double-sized sprite
    call_char(128,"38181D8FC2A3B7AF6F5F17070302040A383070E2868ADAEAECF4D0C0808040A0")
    call_char(132,"38181D0F82C3A7B7AF6F5F170302040A383070E08286CADAEAECF4D0808040A0")
    call_char(136,"38181D0F0283C7A7B7AF6F5F1302040A383070E08082C6CADAEAECF4908040A0")
    Call_CreateAnimation(1,128,3,4)
    call_magnify(3)
    call_sprite(1,128,6,100,100,0,10)
    Call_CreateAnimatedSprite(1, 1, 200)
    do
       TI_SYNC()
    loop

Go back to ...

TI99E Commands Menu
Main Menu

Copyright © Carlos Santiago Lebron - TI99 Environment 2020