Please enable JavaScript to use CodeHS

Creative Coding Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Decomposition General

Decomposition is breaking your program into smaller parts.

Decomposition

Canvas JavaScript

The screen in which our graphics programs are drawn.

Canvas

Sprite General

A graphical object with properties that determine how it looks and behaves on the canvas.

JSGameLib Group JavaScript

A collection of, and blueprint for, sprites with similar traits and behaviors.

Static Collider JavaScript

A type of collider used for unmoving game elements like terrain

Tile Map JavaScript

A grid-based layout used to place terrain or objects using characters like 'g'

Boolean JavaScript

A boolean is a true or false value.

Boolean

Velocity General

How fast, and in what direction, an object is moving.

Rotation General

Rotates or turns the pre-image around an axis

Camera HTML

Defines the viewer’s perspective in a 3D scene.

kb.pressing() JavaScript

Function that checks if a key is currently being pressed

kb.presses() JavaScript

Function that checks if a key was pressed once in a frame

Animation JavaScript

Showing several still images one after another very quickly, to give the illusion of animated movement.

Frame General

A single image in a sequence of pictures

sprite sheet General

A sprite sheet is a single image file containing multiple smaller images (sprites) arranged in a grid, typically used for animation or dynamic game elements.

Conditional Input General

Code logic that responds to multiple keypresses simultaneously

Collider General

A component that handles an object's collisions with other objects.

Scale (Dialation) JavaScript

Expands or contracts the shape

Idle Animation JavaScript

A looping animation shown when a character is not moving

Frame Delay JavaScript

The time (in frames) before switching to the next animation frame

Mirror JavaScript

Flipping a sprite horizontally or vertically for visual effect

Overlap JavaScript

A function to detect when one sprite touches another

Score UI JavaScript

A user interface element that shows the player's score

Ground Sensor JavaScript

An invisible sprite used to detect if the character is touching the ground

moveTowards() JavaScript

A method to smoothly move a sprite toward a target position

Reset Condition JavaScript

A trigger used to return the player to a starting state

Fall Detection JavaScript

Logic to check when a player has left the play area vertically

Pseudocode General

Pseudocode is a brief explanation of code in plain English.

Pseudocode

End Condition General

An end condition is what determines the end of the game. It could be satisfying a win or loss condition, like defeating an enemy or dying, or something else like a predetermined number of rounds, levels, resources, or minutes.

Offset JavaScript

Adjustment of a sprite’s position relative to its anchor point

Playtesting JavaScript

Having others play a game to observe user experience and balance

Design Process General

A series of steps that help you solve a problem or build something new.

Feature JavaScript

A unique gameplay mechanic or visual element added to a game

Level Progression JavaScript

The transition from one game level to the next

Feedback Loop JavaScript

A process for incorporating user input into design changes