Search this site
Embedded Files
Skip to main content
Skip to navigation
Game Dev Journey
Home
Developer Diaries
Unity Diaries
Bread and Fred
The Witch's Bakery
Shadows of the Werewolf
Mind Keeper
Sunstone War
Enoch
Tower of Whispers
Of Love and Eternity
Scarlet Lake
Minami Lane
Venture to the Vile
Isle of Swaps
Tempest Tower
Gacha Fever
One Room Dungeon
Tribe Quest
Death by Misstep
Behind The Kingdom
Below the Stone
Alien Boom Boom
Tenebris
Junklands
Big Boy Boxing
Shadow Walker
Myth Caller
BIONIC BAY
Tormentis
REPUNK
Envelope
Mystopia
Rack and Slay
Aestik
1-bit Castle
Dunjungle
It's Better Alone
Kindness Quest
Mika
Dwarves
Symphonia
Northanda Chronicles
Thronefall
Home: A story of light
The Night is Grey
Indie Racing
Felbound
Ship Miner
Danchi Days
BZZZT
Cryptmaster
Slime 3K
Paws & Leaves
Run From Mummies
Au Revoir
Prophecy Island
The Newton Mystery
Tako no Himitsu
Dungeon Watchers
LIGHT: Path of the Archmage
Timothy and the Mysterious Forest
Turbo Sliders Unlimited
Handshakes
Ardent Seas
Superation
Oops you're the hero
Hauntii
Winnie's Hole
NAIAD
Quasimorph
Excoverse
Slime 64
Morning Star
TIES: Soul Link
Bramblewood
Box Room
I AM A CATERPILLAR
Pretty Sweet
Mazestalker
Wilderless
Little Boy: Whisper Tales
Those who rule
Go Slimey Go!
VELKYN
Koroneko
Boardwalk Builders
Broken Shell
Seer's Gambit
Unity-Chan
INANIMA
Defend from Candyland
Super Roboy
Soul Blossom
PARKSIDE
Ctrl Alt Ego
7DAYS HEROES
Luthier
Rocket Penguin
Shadow Walker
Gambonanza
Godot Diaries
Jump 'n' Brawl
Desvelado
Primal Planet
Milky Way Mailing Inc.
Unto Deepest Depths
Master of Chess
KilaFlow
Stunt Xpress
Axe Ghost
Mops & Mobs
Cozy Space Survivors
XENOSPORE
Rita
Fallacy Quiz
Dreamed Away
Planetary Life
Pillory
AOKAKI
Glitch Dungeon
Vignettes
Find This Pixel Anomaly
Micro Macro Farm
Lil Guys
Broken Lens
Wild Cosmos
Object Wars
Prickle
Brutal Katana
Gorgon Shield
Voice of Flowers
Sugar Overdrive
Wolley's Dungeon Adventure
Super Adventure
Koira
Construct Diaries
POOOOL
Neko Pirate
Asteroid Emporer
Explory Story
SomnaBuster
The Devilry Reservation
GameMaker Diaries
Gum Flesh
Shrine's Legacy
Dynamite Flare
MultiEnding Heroes
Bail Force
RoboGAL
Flora & Fang
Torchless
Horn of Balance
Aurascope
Anatine
Research Story
Rogue Night
Windswept
Unreal Diaries
LIFELong
Mycelium Heaven
MOTORSLICE
Tailgate
Garden Trills
Codex Lost
Project Feline
Poradora
Ground Zero
Radiolight
Monterona
The Burst
Super VHS
Uppercute
Monogame Diaries
Garbanzo Quest
SDL Diaries
Wizwag
QB64 Diaries
Whispers in the moss
Pygame Diaries
Froggo's Adventure
RPGMaker Diaries
Tales of Frah
Evering
Final Profit
8-Bit Adventures 2
Trials of Cascadia
Cairn: Mathair's Curse
Leyline Chronicles
Custom Engine Diaries
Octopus City Blues
Stig
Deepest Chamber
Soulash
Welcome back commander
Meteor Diaries
Pixel Art Academy
Adventure Game Studio Diaries
Captain Disaster
SRPG Studio Diaries
Gales of Nayeli
Visionaire Diaries
Stencyl Diaries
Castle V Castle
Heaps
Cursemark
Bevy Diaries
Greenfeet Haven
Articles
Intro to Game Dev
Unity 3D
(1) Prefabs
(2) Obstacle Course
(3) Clock
(4) Rocket Boost
Construct
Merge Game Tutorial
Game Overview
Make a Merge Game
Basic Setup
Elements
Controls
Enhancements
Atmosphere
Set Dressing
Adding Noise
Background
Foreground
Collision Layer
River
Player Interatctions
Vegetation
Fireflies
Humidity
Fog
Steam
Bubbles
Ambient Lighting
Z-ORDER BAR
PlayerCollider
Player Animations
Hierarchies
Dust Cloud
Animation Code
Plant Interaction
Timeline
Water Drops
Rebuild Bridge
Bridge Trigger
Final Touch
Game Juice
Simple Dialogue
Level Mechanics
Mechanics 1 - Breaking Boxes
Box Setup
Box Code (Below)
Box Code Above
Box Idle
Box Breaking
Mechanics 2 - Trampolines
Trampoline Setup
Trampoline Code
Mechanics 3 - Fans
Fan Dust Particles
Fan Code
Mechanics 4 - Rails
Vertical Platform
Horizontal Platform
Mechanics 5 - Falling Platforms
Falling Animations
Platform Behaviors
Platform Code
Mechanics 6 - Saw
Saw Animations
Saw Setup
Code: Platform Saw
Vertical Saw
Horizontal Saw
Mechanic 7 - Dash
Mechanic 8 - Spike Ball
Rotating Ball
Swinging Ball
Player Mechanics
Enemy Mechanics
Bombing Bee
Bee Enemy
Item Mechanics
Merge Fruits
Fruit Assets
Cursor
Cursor Movement
Fruit Background
Fruits
Game Boundary
Game Interface
Pick Fruit Function
Merging
Scoring Setup
Increase Score Function
Score Flash
Best Fruit So Far
Ending the game
Restarting
Construct Foundational Projects
Construct Pong
Pong Board
Pong Walls
Paddle Player
Pong Ball
Paddle Enemy
Goals
Pong UI
Trails
Platformer
(0) Project Setup
(1) Background Layer
(2) Level Layer
(3) Player Layer
(4) Checkpoint
(5) Mushroom
(6) The Player
(1) Spawning
(2) Jump-through
(3) Running
(4) Jump/Double Jump
(5) Fall
(6) Wall Jump
(7) Hit Function
(8) Player Death
(9) Player Particles
(7) HUD Layer
Vectors
(8) Collectibles
(9) Confetti
(10) Audio
(1) Background Music
(2) Jump Sound
(3) Hurt Sound
(4) Death Sound
(5) Collectible Sound
(6) Mushroom Death
(7) Confetti
(11) Transition Layer
Level 2 Setup
Game Over
Level 2 Design
Tree Enemy
Tree Code
Level 3 Design
Bird Enemy
Bird Code
Menu Screen
Menu Code
Godot
Intro to Godot
Project Setup
Nodes & Scenes
Node Tools
Parenting
Intro to 3D
Snowman
Materials
Lighting
Scripting
Variables
Vectors
Delta
Coin Collector
Player
Player Script
Custom Camera
Coin
Exporting
3D Platformer
Level Design
Player
Player Script
Script Refinement
Enemy
Enemy Script
Hazard
Scoring
Collectible
Coin Script
Background
HUD
CheckPoint
Flag Script
Level 2
Know Your Nodes
Area2D and Area3D
CharacterBody
Platform
Level
Character
Character Script
2D Platformer
TileMap Setup
Level Design
Character Controller
Player Script
Game Over State
Enemy Scene
Enemy Script
Hazards
Setting the Score
Collectible Scene
Displaying the Score
Finishing Flag
2D RPG
Setup
Advanced 2D Platformer
Scrolling Options
Background Script
Scroll Shader
TileSet Setup
Painting the TileMap
Combining Scenes
The Player
Animations
HitBox
Scripting the Player
Pass-Through Code
Frog Animations
Double Jump
Wall slides
Dash Mechanic
Dash Effect
Death
Collectibles
Strawberry Script
Mushroom Enemy
Mushroom Enemy Script
Platform Patrol
Stomp Area
Hurt Player
Mushroom Death
Level Checkpoint
CheckPoint Code
Level Completion
Transitions
Fancy Fade
Godot Foundational Projects
Pong
Game Board
Board Walls
Installing Walls
Player Paddle
Player Paddle Code
Pong Ball
Enemy Paddle
Pong Goal
UI
Board Script
Glow
Trail
Rocket Boost
The Player Rocket
Rocket Level
Pads
More Levels
Changing Scenes
Load Delay
Moving Obstacle
AudioFX
Boost Particles
Other Particles
Rocket Design
Rocket Material
Rocket Background
Rocket Lighting
Game Design Tips
Principles
Tutorials
Game Assets
Pro Tips
Interface Tools
Normalisation
Game Dev Journey
Home
Developer Diaries
Unity Diaries
Bread and Fred
The Witch's Bakery
Shadows of the Werewolf
Mind Keeper
Sunstone War
Enoch
Tower of Whispers
Of Love and Eternity
Scarlet Lake
Minami Lane
Venture to the Vile
Isle of Swaps
Tempest Tower
Gacha Fever
One Room Dungeon
Tribe Quest
Death by Misstep
Behind The Kingdom
Below the Stone
Alien Boom Boom
Tenebris
Junklands
Big Boy Boxing
Shadow Walker
Myth Caller
BIONIC BAY
Tormentis
REPUNK
Envelope
Mystopia
Rack and Slay
Aestik
1-bit Castle
Dunjungle
It's Better Alone
Kindness Quest
Mika
Dwarves
Symphonia
Northanda Chronicles
Thronefall
Home: A story of light
The Night is Grey
Indie Racing
Felbound
Ship Miner
Danchi Days
BZZZT
Cryptmaster
Slime 3K
Paws & Leaves
Run From Mummies
Au Revoir
Prophecy Island
The Newton Mystery
Tako no Himitsu
Dungeon Watchers
LIGHT: Path of the Archmage
Timothy and the Mysterious Forest
Turbo Sliders Unlimited
Handshakes
Ardent Seas
Superation
Oops you're the hero
Hauntii
Winnie's Hole
NAIAD
Quasimorph
Excoverse
Slime 64
Morning Star
TIES: Soul Link
Bramblewood
Box Room
I AM A CATERPILLAR
Pretty Sweet
Mazestalker
Wilderless
Little Boy: Whisper Tales
Those who rule
Go Slimey Go!
VELKYN
Koroneko
Boardwalk Builders
Broken Shell
Seer's Gambit
Unity-Chan
INANIMA
Defend from Candyland
Super Roboy
Soul Blossom
PARKSIDE
Ctrl Alt Ego
7DAYS HEROES
Luthier
Rocket Penguin
Shadow Walker
Gambonanza
Godot Diaries
Jump 'n' Brawl
Desvelado
Primal Planet
Milky Way Mailing Inc.
Unto Deepest Depths
Master of Chess
KilaFlow
Stunt Xpress
Axe Ghost
Mops & Mobs
Cozy Space Survivors
XENOSPORE
Rita
Fallacy Quiz
Dreamed Away
Planetary Life
Pillory
AOKAKI
Glitch Dungeon
Vignettes
Find This Pixel Anomaly
Micro Macro Farm
Lil Guys
Broken Lens
Wild Cosmos
Object Wars
Prickle
Brutal Katana
Gorgon Shield
Voice of Flowers
Sugar Overdrive
Wolley's Dungeon Adventure
Super Adventure
Koira
Construct Diaries
POOOOL
Neko Pirate
Asteroid Emporer
Explory Story
SomnaBuster
The Devilry Reservation
GameMaker Diaries
Gum Flesh
Shrine's Legacy
Dynamite Flare
MultiEnding Heroes
Bail Force
RoboGAL
Flora & Fang
Torchless
Horn of Balance
Aurascope
Anatine
Research Story
Rogue Night
Windswept
Unreal Diaries
LIFELong
Mycelium Heaven
MOTORSLICE
Tailgate
Garden Trills
Codex Lost
Project Feline
Poradora
Ground Zero
Radiolight
Monterona
The Burst
Super VHS
Uppercute
Monogame Diaries
Garbanzo Quest
SDL Diaries
Wizwag
QB64 Diaries
Whispers in the moss
Pygame Diaries
Froggo's Adventure
RPGMaker Diaries
Tales of Frah
Evering
Final Profit
8-Bit Adventures 2
Trials of Cascadia
Cairn: Mathair's Curse
Leyline Chronicles
Custom Engine Diaries
Octopus City Blues
Stig
Deepest Chamber
Soulash
Welcome back commander
Meteor Diaries
Pixel Art Academy
Adventure Game Studio Diaries
Captain Disaster
SRPG Studio Diaries
Gales of Nayeli
Visionaire Diaries
Stencyl Diaries
Castle V Castle
Heaps
Cursemark
Bevy Diaries
Greenfeet Haven
Articles
Intro to Game Dev
Unity 3D
(1) Prefabs
(2) Obstacle Course
(3) Clock
(4) Rocket Boost
Construct
Merge Game Tutorial
Game Overview
Make a Merge Game
Basic Setup
Elements
Controls
Enhancements
Atmosphere
Set Dressing
Adding Noise
Background
Foreground
Collision Layer
River
Player Interatctions
Vegetation
Fireflies
Humidity
Fog
Steam
Bubbles
Ambient Lighting
Z-ORDER BAR
PlayerCollider
Player Animations
Hierarchies
Dust Cloud
Animation Code
Plant Interaction
Timeline
Water Drops
Rebuild Bridge
Bridge Trigger
Final Touch
Game Juice
Simple Dialogue
Level Mechanics
Mechanics 1 - Breaking Boxes
Box Setup
Box Code (Below)
Box Code Above
Box Idle
Box Breaking
Mechanics 2 - Trampolines
Trampoline Setup
Trampoline Code
Mechanics 3 - Fans
Fan Dust Particles
Fan Code
Mechanics 4 - Rails
Vertical Platform
Horizontal Platform
Mechanics 5 - Falling Platforms
Falling Animations
Platform Behaviors
Platform Code
Mechanics 6 - Saw
Saw Animations
Saw Setup
Code: Platform Saw
Vertical Saw
Horizontal Saw
Mechanic 7 - Dash
Mechanic 8 - Spike Ball
Rotating Ball
Swinging Ball
Player Mechanics
Enemy Mechanics
Bombing Bee
Bee Enemy
Item Mechanics
Merge Fruits
Fruit Assets
Cursor
Cursor Movement
Fruit Background
Fruits
Game Boundary
Game Interface
Pick Fruit Function
Merging
Scoring Setup
Increase Score Function
Score Flash
Best Fruit So Far
Ending the game
Restarting
Construct Foundational Projects
Construct Pong
Pong Board
Pong Walls
Paddle Player
Pong Ball
Paddle Enemy
Goals
Pong UI
Trails
Platformer
(0) Project Setup
(1) Background Layer
(2) Level Layer
(3) Player Layer
(4) Checkpoint
(5) Mushroom
(6) The Player
(1) Spawning
(2) Jump-through
(3) Running
(4) Jump/Double Jump
(5) Fall
(6) Wall Jump
(7) Hit Function
(8) Player Death
(9) Player Particles
(7) HUD Layer
Vectors
(8) Collectibles
(9) Confetti
(10) Audio
(1) Background Music
(2) Jump Sound
(3) Hurt Sound
(4) Death Sound
(5) Collectible Sound
(6) Mushroom Death
(7) Confetti
(11) Transition Layer
Level 2 Setup
Game Over
Level 2 Design
Tree Enemy
Tree Code
Level 3 Design
Bird Enemy
Bird Code
Menu Screen
Menu Code
Godot
Intro to Godot
Project Setup
Nodes & Scenes
Node Tools
Parenting
Intro to 3D
Snowman
Materials
Lighting
Scripting
Variables
Vectors
Delta
Coin Collector
Player
Player Script
Custom Camera
Coin
Exporting
3D Platformer
Level Design
Player
Player Script
Script Refinement
Enemy
Enemy Script
Hazard
Scoring
Collectible
Coin Script
Background
HUD
CheckPoint
Flag Script
Level 2
Know Your Nodes
Area2D and Area3D
CharacterBody
Platform
Level
Character
Character Script
2D Platformer
TileMap Setup
Level Design
Character Controller
Player Script
Game Over State
Enemy Scene
Enemy Script
Hazards
Setting the Score
Collectible Scene
Displaying the Score
Finishing Flag
2D RPG
Setup
Advanced 2D Platformer
Scrolling Options
Background Script
Scroll Shader
TileSet Setup
Painting the TileMap
Combining Scenes
The Player
Animations
HitBox
Scripting the Player
Pass-Through Code
Frog Animations
Double Jump
Wall slides
Dash Mechanic
Dash Effect
Death
Collectibles
Strawberry Script
Mushroom Enemy
Mushroom Enemy Script
Platform Patrol
Stomp Area
Hurt Player
Mushroom Death
Level Checkpoint
CheckPoint Code
Level Completion
Transitions
Fancy Fade
Godot Foundational Projects
Pong
Game Board
Board Walls
Installing Walls
Player Paddle
Player Paddle Code
Pong Ball
Enemy Paddle
Pong Goal
UI
Board Script
Glow
Trail
Rocket Boost
The Player Rocket
Rocket Level
Pads
More Levels
Changing Scenes
Load Delay
Moving Obstacle
AudioFX
Boost Particles
Other Particles
Rocket Design
Rocket Material
Rocket Background
Rocket Lighting
Game Design Tips
Principles
Tutorials
Game Assets
Pro Tips
Interface Tools
Normalisation
More
Home
Developer Diaries
Unity Diaries
Bread and Fred
The Witch's Bakery
Shadows of the Werewolf
Mind Keeper
Sunstone War
Enoch
Tower of Whispers
Of Love and Eternity
Scarlet Lake
Minami Lane
Venture to the Vile
Isle of Swaps
Tempest Tower
Gacha Fever
One Room Dungeon
Tribe Quest
Death by Misstep
Behind The Kingdom
Below the Stone
Alien Boom Boom
Tenebris
Junklands
Big Boy Boxing
Shadow Walker
Myth Caller
BIONIC BAY
Tormentis
REPUNK
Envelope
Mystopia
Rack and Slay
Aestik
1-bit Castle
Dunjungle
It's Better Alone
Kindness Quest
Mika
Dwarves
Symphonia
Northanda Chronicles
Thronefall
Home: A story of light
The Night is Grey
Indie Racing
Felbound
Ship Miner
Danchi Days
BZZZT
Cryptmaster
Slime 3K
Paws & Leaves
Run From Mummies
Au Revoir
Prophecy Island
The Newton Mystery
Tako no Himitsu
Dungeon Watchers
LIGHT: Path of the Archmage
Timothy and the Mysterious Forest
Turbo Sliders Unlimited
Handshakes
Ardent Seas
Superation
Oops you're the hero
Hauntii
Winnie's Hole
NAIAD
Quasimorph
Excoverse
Slime 64
Morning Star
TIES: Soul Link
Bramblewood
Box Room
I AM A CATERPILLAR
Pretty Sweet
Mazestalker
Wilderless
Little Boy: Whisper Tales
Those who rule
Go Slimey Go!
VELKYN
Koroneko
Boardwalk Builders
Broken Shell
Seer's Gambit
Unity-Chan
INANIMA
Defend from Candyland
Super Roboy
Soul Blossom
PARKSIDE
Ctrl Alt Ego
7DAYS HEROES
Luthier
Rocket Penguin
Shadow Walker
Gambonanza
Godot Diaries
Jump 'n' Brawl
Desvelado
Primal Planet
Milky Way Mailing Inc.
Unto Deepest Depths
Master of Chess
KilaFlow
Stunt Xpress
Axe Ghost
Mops & Mobs
Cozy Space Survivors
XENOSPORE
Rita
Fallacy Quiz
Dreamed Away
Planetary Life
Pillory
AOKAKI
Glitch Dungeon
Vignettes
Find This Pixel Anomaly
Micro Macro Farm
Lil Guys
Broken Lens
Wild Cosmos
Object Wars
Prickle
Brutal Katana
Gorgon Shield
Voice of Flowers
Sugar Overdrive
Wolley's Dungeon Adventure
Super Adventure
Koira
Construct Diaries
POOOOL
Neko Pirate
Asteroid Emporer
Explory Story
SomnaBuster
The Devilry Reservation
GameMaker Diaries
Gum Flesh
Shrine's Legacy
Dynamite Flare
MultiEnding Heroes
Bail Force
RoboGAL
Flora & Fang
Torchless
Horn of Balance
Aurascope
Anatine
Research Story
Rogue Night
Windswept
Unreal Diaries
LIFELong
Mycelium Heaven
MOTORSLICE
Tailgate
Garden Trills
Codex Lost
Project Feline
Poradora
Ground Zero
Radiolight
Monterona
The Burst
Super VHS
Uppercute
Monogame Diaries
Garbanzo Quest
SDL Diaries
Wizwag
QB64 Diaries
Whispers in the moss
Pygame Diaries
Froggo's Adventure
RPGMaker Diaries
Tales of Frah
Evering
Final Profit
8-Bit Adventures 2
Trials of Cascadia
Cairn: Mathair's Curse
Leyline Chronicles
Custom Engine Diaries
Octopus City Blues
Stig
Deepest Chamber
Soulash
Welcome back commander
Meteor Diaries
Pixel Art Academy
Adventure Game Studio Diaries
Captain Disaster
SRPG Studio Diaries
Gales of Nayeli
Visionaire Diaries
Stencyl Diaries
Castle V Castle
Heaps
Cursemark
Bevy Diaries
Greenfeet Haven
Articles
Intro to Game Dev
Unity 3D
(1) Prefabs
(2) Obstacle Course
(3) Clock
(4) Rocket Boost
Construct
Merge Game Tutorial
Game Overview
Make a Merge Game
Basic Setup
Elements
Controls
Enhancements
Atmosphere
Set Dressing
Adding Noise
Background
Foreground
Collision Layer
River
Player Interatctions
Vegetation
Fireflies
Humidity
Fog
Steam
Bubbles
Ambient Lighting
Z-ORDER BAR
PlayerCollider
Player Animations
Hierarchies
Dust Cloud
Animation Code
Plant Interaction
Timeline
Water Drops
Rebuild Bridge
Bridge Trigger
Final Touch
Game Juice
Simple Dialogue
Level Mechanics
Mechanics 1 - Breaking Boxes
Box Setup
Box Code (Below)
Box Code Above
Box Idle
Box Breaking
Mechanics 2 - Trampolines
Trampoline Setup
Trampoline Code
Mechanics 3 - Fans
Fan Dust Particles
Fan Code
Mechanics 4 - Rails
Vertical Platform
Horizontal Platform
Mechanics 5 - Falling Platforms
Falling Animations
Platform Behaviors
Platform Code
Mechanics 6 - Saw
Saw Animations
Saw Setup
Code: Platform Saw
Vertical Saw
Horizontal Saw
Mechanic 7 - Dash
Mechanic 8 - Spike Ball
Rotating Ball
Swinging Ball
Player Mechanics
Enemy Mechanics
Bombing Bee
Bee Enemy
Item Mechanics
Merge Fruits
Fruit Assets
Cursor
Cursor Movement
Fruit Background
Fruits
Game Boundary
Game Interface
Pick Fruit Function
Merging
Scoring Setup
Increase Score Function
Score Flash
Best Fruit So Far
Ending the game
Restarting
Construct Foundational Projects
Construct Pong
Pong Board
Pong Walls
Paddle Player
Pong Ball
Paddle Enemy
Goals
Pong UI
Trails
Platformer
(0) Project Setup
(1) Background Layer
(2) Level Layer
(3) Player Layer
(4) Checkpoint
(5) Mushroom
(6) The Player
(1) Spawning
(2) Jump-through
(3) Running
(4) Jump/Double Jump
(5) Fall
(6) Wall Jump
(7) Hit Function
(8) Player Death
(9) Player Particles
(7) HUD Layer
Vectors
(8) Collectibles
(9) Confetti
(10) Audio
(1) Background Music
(2) Jump Sound
(3) Hurt Sound
(4) Death Sound
(5) Collectible Sound
(6) Mushroom Death
(7) Confetti
(11) Transition Layer
Level 2 Setup
Game Over
Level 2 Design
Tree Enemy
Tree Code
Level 3 Design
Bird Enemy
Bird Code
Menu Screen
Menu Code
Godot
Intro to Godot
Project Setup
Nodes & Scenes
Node Tools
Parenting
Intro to 3D
Snowman
Materials
Lighting
Scripting
Variables
Vectors
Delta
Coin Collector
Player
Player Script
Custom Camera
Coin
Exporting
3D Platformer
Level Design
Player
Player Script
Script Refinement
Enemy
Enemy Script
Hazard
Scoring
Collectible
Coin Script
Background
HUD
CheckPoint
Flag Script
Level 2
Know Your Nodes
Area2D and Area3D
CharacterBody
Platform
Level
Character
Character Script
2D Platformer
TileMap Setup
Level Design
Character Controller
Player Script
Game Over State
Enemy Scene
Enemy Script
Hazards
Setting the Score
Collectible Scene
Displaying the Score
Finishing Flag
2D RPG
Setup
Advanced 2D Platformer
Scrolling Options
Background Script
Scroll Shader
TileSet Setup
Painting the TileMap
Combining Scenes
The Player
Animations
HitBox
Scripting the Player
Pass-Through Code
Frog Animations
Double Jump
Wall slides
Dash Mechanic
Dash Effect
Death
Collectibles
Strawberry Script
Mushroom Enemy
Mushroom Enemy Script
Platform Patrol
Stomp Area
Hurt Player
Mushroom Death
Level Checkpoint
CheckPoint Code
Level Completion
Transitions
Fancy Fade
Godot Foundational Projects
Pong
Game Board
Board Walls
Installing Walls
Player Paddle
Player Paddle Code
Pong Ball
Enemy Paddle
Pong Goal
UI
Board Script
Glow
Trail
Rocket Boost
The Player Rocket
Rocket Level
Pads
More Levels
Changing Scenes
Load Delay
Moving Obstacle
AudioFX
Boost Particles
Other Particles
Rocket Design
Rocket Material
Rocket Background
Rocket Lighting
Game Design Tips
Principles
Tutorials
Game Assets
Pro Tips
Interface Tools
Normalisation
Tree Code
The End Goal
171
Add a new event sheet for the Tree enemy.
Name it evTree
172
Write code so that the tree does not fall off a platform.
Code Explanation
For each tree enemy that can walk
If the tree is on the floor
If the tree is overlapping the edge to the right - turn tree around
If the tree is overlapping the edge to the left - turn tree around
If the tree is mirrored (facing left) move left
Otherwise, move right.
173
Write code for when the Tree is just on the Ground
Code Explanation
For each Tree enemy that can walk and is not currently attacking:
If the tree has a wall to its left:
Go into idle state
Wait 2 seconds
Turn around (face right)
If the tree has a wall to its right:
Go into Idle state
Wait 2 seconds
Turn around (face left)
If the Tree is moving:
Go into Run state
174
Write code to make the Tree Shoot
*Use System - is between values for the tree x and y comparison to the player*
Code Explanation
For each Tree:
If the tree is less than 200 pixels away from the player horizontally
and the tree is less than 10 pixels away from the player vertically
and the tree is not currently attacking
Set CanWalk to false (stop the tree)
Enter Idle state
If the players x value is less than the trees x value (player is on left of tree)
Mirror the tree (turn it to face the player on the left)
Wait 1.2 seconds
If the tree is mirrored (facing left)
Enter Attack state
Wait 0.4 seconds
Spawn a tree bullet
Set the angle to horizontal
Wait 0.2 seconds
Return to Idle state
Otherwise the tree is not mirrored (facing right):
Enter Attack state
Wait 0.4 seconds
Spawn a tree bullet
Set the angle to horizontal
Wait 0.2 seconds
Return to Idle state
Otherwise if the Tree is no longer Attacking:
Set CanWalk to true (allow tree to move again)
175
Write code for when the Tree collides with the Player
Code Explanation
For each Tree
If the Tree collides with the playercontroller
If the Player is slightly above the tree
and the player is falling
perform the following events ONCE:
Play the audio for the tree dying
Bounce the player upwards 400 pixels
Allow the player to jump again in the air if they wish
Spawn the landing particles at the players feet
Angle the particles upwards (270 degrees)
Put the Tree in the Hit state
Wait 0.1 seconds
Spawn the DeadTree Sprite where the Tree was
Destroy the Tree Sprite
Disable collisions on the Dead Tree Sprite
Bounce the Dead Tree Sprite upwards 600 pixels
Otherwise if the Player is not being hit
Call the Hit function
176
Write code to destroy the Dead Trees
177
Write code for bullets colliding with solids
Code Explanation
When the TreeBullet collides with a solid object:
Create two different bullet fragments.
Destroy the original bullet
Apply phsical forces to the bullet pieces
When the Bullet fragments are created:
Wait 2 seconds
Flash
Wait 1 second
Destroy the fragment
178
Write code for when the Bullet collides with the player
Code Explanation
When the tree bullet collides with the player:
Create two fragments
Destroy the bullet
Apply physical forces to the fragments
Call the Hit function which acts on the Player
179
Remember:
include Tree event sheet in Level 2 Event Sheet!
Previous: Tree Enemy
Next: Level 3 Design
Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse