NOTE:
This is a preview of the content. To access the individual nodes and download the project files, you must buy the course.

Area2D

Detects when things enter and exit it

Use it when

You want to create a perimeter that warns you when objects enter or exit it

Examples

  • Attaching a hurt box to a character so it can take damage
  • Attracting coins to the player when in range
  • Opening a chest when standing next to it and pressing a button
Go to guide

Camera2D

Controls what's on-screen in a 2d scene

Use it when

You need to control the game view, make the view follow an entity, zoom in and out, or shake the screen

Examples

  • Making the view follow the player character with or without an offset
  • Shaking the screen when the player takes a hit
  • Zooming the view in and out to keep multiple entities on screen
Go to guide

CharacterBody2D

Lets you code custom character movement

Use it when

You want to create a character or enemy that collides with the game world and moves in a specific way

Examples

  • Coding a side scroller character that can stomp enemies
  • Making your character stand on moving platforms
  • Creating a top down character that can push objects
Go to guide

GPUParticles2D

GPUParticles2D draws textures to create visual effects

Use it when

You want to create an explosion, fire, smoke, or other visual effects.

Examples

  • Creating dust puffs when a character lands on the ground
  • Making a torch or campfire with flames
  • Creating a trail behind a character moving fast
  • Making a special attack charging effect
  • Creating a healing beam
Go to guide

Line2D

Line2d draws lines

Use it when

You need to draw lines, curves, or trails in your game.

Examples

  • Creating a trail for bullets or projectiles
  • Drawing a trajectory for a homing missile
  • Creating a tether between two objects
  • Drawing a path for a character to follow
Go to guide

RayCast2D

Fires a ray that detects collisions

Use it when

You need to detect if and where a line intersects with physics bodies

Examples

  • Firing a laser beam that splashes on impact or that mines resources
  • Giving a line of sight to an enemy
  • Making an enemy or NPC detect obstacles in its path and steer around them
Go to guide

AnimationPlayer

Plays and queues handmade animations

Use it when

You need animations that have a known start and end point, and you want to control the timing of the animation

Examples

  • Fading the screen to black
  • Designing an explosion animation for a weapon
  • Creating a gun reload animation
Go to guide

AudioStreamPlayer

Plays sound and music

Use it when

You need to play any audio in the game

Examples

  • Playing background music or looping ambiances
  • Playing footsteps sounds in sync with a character's animation
  • Playing voice-overs for dialogues
Go to guide

Timer

Counts time and triggers events

Use it when

You need to count time, delay code execution, or trigger events after a set amount of time once or repeatedly

Examples

  • Creating a cooldown time for a special ability
  • Spawning enemies at regular time intervals
  • Implementing a game timer that you can pause and resume
Go to guide

Tween

Animates properties procedurally

Use it when

You want to animate a property of a node, and you don't know the start or end points of the animation in advance

Examples

  • Animating items the player collects in the game world flying towards the user interface
  • Animating cards moving from a deck to different positions in the player's hand
  • Moving a character to the position of a mouse click in a point-and-click game
Go to guide

BoxContainer

Creates rows and columns for your UI

Use it when

You need to arrange UI nodes in rows or columns

Examples

  • Aligning the options vertically in a menu
  • Arranging the player's Heads-Up Display along the top of the screen
  • Displaying a form where the player can enter their account name and password
Go to guide

Button

Draws a button the player can press

Use it when

You need a button to start an action, make a choice, or provide information

Examples

  • Navigating to different sub-menus from a game's main menu
  • Displaying items you can click and buy in a shop
  • Selecting a weapon or a skill by clicking on it in a shortcut bar
Go to guide

Label

Displays simple text

Use it when

You want to display text, and you don't need formatting or special effects

Examples

  • Displaying dialogue lines that appear letter by letter
  • Showing the names of items and prices in a shop
  • Showing the player's score or the number of coins they have
Go to guide

RichTextLabel

Displays formatted and animated text

Use it when

You want to display large amounts of text with formatting, animations, or interactions

Examples

  • Displaying game dialogs with colored, bold, or animated text
  • Creating a chat log in a multiplayer game
  • Displaying a tooltip when the player hovers over a keyword
Go to guide
Site is in BETA!found a bug?