ParticlesImage

Family: Particles · One form

What it does

ParticlesImage sets Image on a Particles object. It takes ID (an integer) and imageID (an integer), and returns nothing.

Syntax

ParticlesImage(ID integer, imageID integer)

Parameters

NameType
IDinteger
imageIDinteger

Every form returns

nothing

Example · generated

image = LoadImage("assets/sprite.png", 1)ParticlesImage(1, image)DO  Sync()LOOP

LoadImage is there to give the call something to act on; ParticlesImage is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

38 commands in Particles