Please enable JavaScript to use CodeHS

Creative Coding Glossary

Flashcards

Course:

Module:

Search:

Game Design General

Blending of computer programming, graphic design, and a storyline.

gameplay General

Gameplay is a term to describe players interacting with a video or computer game.

game mechanics General

Rules, challenges, abilities, and parameters that dictate how a game functions or operates

game elements General

A game's objectives, opportunities for players to make meaningful choices, game changes over the course of play, and defined rules for playing

game components General

The aesthetics, story, audio, information, and interactive game pieces or objects.

game genre General

Video game genres are specific categories of games based on similar gameplay characteristics, story, or mechanics.

Decomposition General

Decomposition is breaking your program into smaller parts.

Decomposition

Algorithm General

An algorithm is a set of steps or rules to follow to solve a particular problem.

algorithm, process

Abstraction General

Managing complexity by "abstracting away" information and detail, in order to focus on the relevant concepts.

Computational Thinking General

A method that uses decomposition, pattern recognition, abstraction, and algorithms in order to reliably solve complex problems.

Debugging General

Debugging is fixing a problem in your code.

Debugging

Console JavaScript

A computer program that is run using a text-only interface.

console programming

Declare a Variable JavaScript

Declaring a variable is defining it for the first time.

Declare a Variable

Initialize a Variable JavaScript

Initializing a variable is giving it an initial value.

variable General

An identifier that stores data or information and can be changed at any time.

Arithmetic Operators General

Arithmetic operators include + addition, - subtraction, * multiplication, / division, and % modulus. These operators are used to perform basic mathematical tasks.

Define a Function JavaScript

Defining a function means to teach the computer a new command and explain what it should do when receiving that command.

Define a Function

Call a Function JavaScript

Calling a function actually gives the command, so the computer will run the code for that function.

Call a Function

Library C++

A collection of commands and functions that are used to extend the base language.

JSGameLib Library JavaScript

A JavaScript library for creating interactive art and games with a 2D physics engine.

setup() JavaScript

Called once when the program starts and is used to define the initial environment properties.

draw() JavaScript

Continuously executes the lines of code contained inside its block until the program is stopped.

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.

Physics Engine General

A special part of a computer program or a tool that makes objects in a virtual world act like they would in the real world.

If Else Statement General

Control structure that lets us run either one section of code or another depending on a test.

If Else Statement

JSGameLib Group JavaScript

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

JSGameLib Tiles JavaScript

A structure that allows you to easily create sprites on a grid-like layout of the canvas.

For Loop JavaScript

A for loop lets us repeat code a **fixed number of times**.

For Loop

Comparison operator General

Used to make comparisons between values.

comparison operator

Nested for loop JavaScript

A for loop written, or "nested", inside of another for loop.

nested double for

Nested if Statements Java

The process of placing if statements within if statements.

UI General

Stands for "user interface." The way the user interacts with a game or application.

Win Condition General

A win condition is a state that, when reached, determines if a player has won the game.

Pseudocode General

Pseudocode is a brief explanation of code in plain English.

Pseudocode

Comment JavaScript

A message in your code that explains what is going on.

Comment

Boolean JavaScript

A boolean is a true or false value.

Boolean

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'

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

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