BlocosIA Wiki Editor

Camera outline

Draws the outline of objects the camera sees (edges, light, dark, one color or what moves) and tells where they are. Light and offline.

Works best with a plain background. "objects of the chosen color" is great with a colored bottle cap or paper. Use "x/y of object 1" for a sprite to follow the biggest object and "is any outline touching me?" for body games. Adjust the sensitivity if there are too many (or too few) outlines.

To use it: in the editor, click "Extensions" (bottom corner) and add "Camera outline".

Stack

turn on camera outline: [edges (everything)]

Turns on the camera and starts finding outlines: all edges, light objects, dark objects, one color or what moves.

Stack

turn off the outline

Stops looking for outlines.

Stack

color of objects to find: [red]

Chooses the color of the objects to find (and switches to color mode).

Stack

draw the outline with [neon cyan] and thickness ( )

Color (even rainbow) and thickness of the outline.

Stack

outline sensitivity ( ) %

More sensitive finds more outlines; less sensitive only the strongest.

Stack

show the outline: [yes]

Shows or hides the outline drawing (the sensors keep working).

Hat

when an object appears on camera

Starts when at least one object appears on camera.

Reporter

number of objects on camera

How many objects were found.

Reporter

[x] of object ( ) (1 = the biggest)

x, y, width, height or area of an object (1 = the biggest). Great for a sprite to follow a colored object.

Boolean

is any outline touching me?

True if the shape found by the camera touches this sprite (body games).

Stack

stamp the outline with the pen

Draws the current outline on the pen layer, to make art.