<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


SPRVEC Search:

In Graphics Words in TurboForth Kernal

Word Name: SPRVEC
Type: Standard word
Data Stack Signature: sprite y x --
Return Stack Signature: --
Availability: V1.2
Description:

Defines a movement vector for sprite sprite.

Example:

none

Comment:

When SPRMOV is called, sprite sprite will move y pixels up/down and x pixels left/right. If y is negative sprite will move upwards. If x is negative sprite will move leftwards.

Note: In TurboForth versions 1.0 and 1.1 this word is called SMLIST. It has been renamed in version 1.2 to SPRVEC to better describe its intention/function.

See Also: SPRMOV  SMLIST 

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>