Skip to content

API

The classes a game opens without the dock, read from their ## comments on every build. The documents and resources they hold are not here yet.

PixelSprite2D

A node that draws a sprite from the Pixel tab and plays its tags as animations.

PixelSpriteTexture

One frame of a sprite from the Pixel tab, as a texture.

PixelSpriteFrames

Every frame of a sprite from the Pixel tab as SpriteFrames, one animation per tag, for a plain AnimatedSprite2D.

PixelTileSet

A TileSet that is a tileset document, kept in step with it.

PixelTileMapLayer

A TileMapLayer painted with a tileset document’s tiles.

PixelFontFile

A font that is a font document, kept in step with it.

PixelPalette

A palette: a name and a list of colours, saved as a .jcpalette.

PixelPaletteMaths

The maths over a palette’s colours, in OKLCH: a ramp from one colour to another, a nudge, a tint, new hues for the slots not locked, and the swatches sorted by hue or by brightness.

JamChipStyle

The project’s style: the palette, the grid and the chip’s limits every tab starts new documents inside, and warns about when one steps outside.

ChiptuneSfxPlayer

A sound the game fires, like a jump, a hit or a coin.

ChiptuneSfxPlayer2D

A sound the game fires from a place on screen, panned and quieter with distance.

ChiptuneSongPlayer

Music the game steers while it plays.

ChiptuneSongPlayer2D

Music the game steers, from a place on screen, panned and quieter with distance.

ChiptuneAudioStream

A .sfx.tres or a .music.tres in any slot that takes an AudioStream: an AnimationPlayer’s audio track, an AudioStreamRandomizer, Godot’s own AudioStreamPlayer3D.

JamChip, by GlitterSnack. MIT licence. Built from the source on every merge. Its artwork and screenshots are made with JamChip.