Draw a pixel art.
You can define pixel arts (6x6 dots) of characters with characters array. Each letter represents a pixel color ( l: black, r: red, g: green, b: blue, y: yellow, p: purple, c: cyan, L: light_black, R: light_red, G: light_green, B: light_blue, Y: light_yellow, P: light_purple, C: light_cyan ).
characters
characters = [` r rrrrrrrr grr grrrrrrrrr rr`,
Pixel arts are assigned from 'a'. char("a", 0, 0) draws the character defined by the first element of the characters array.
char("a", 0, 0)
Information about objects that collided during drawing.
Optional
Generated using TypeDoc
Draw a pixel art.
You can define pixel arts (6x6 dots) of characters with
characters
array. Each letter represents a pixel color ( l: black, r: red, g: green, b: blue, y: yellow, p: purple, c: cyan, L: light_black, R: light_red, G: light_green, B: light_blue, Y: light_yellow, P: light_purple, C: light_cyan ).Pixel arts are assigned from 'a'.
char("a", 0, 0)
draws the character defined by the first element of thecharacters
array.Returns
Information about objects that collided during drawing.