A selection of free example projects highlighting how to achieve different effects in GameSalad.
All logic is completely free to use in your own projects, though some may contain images that cannot be used commercially.
2 Player Camera
A camera that forcibly keeps two players on screen at all times, dragging the lagging player if needed.
Download
Parking Puzzle
A template for a parking puzzle game. Pulled from a game I made so the positioning is a little awkward and things are a little over-engineered but should still be a great starting point for making a parking puzzle game.
Download
Alphabetise A List
A basic sort to order a list alphabetically.
Download
Background Spawn on Collision
Spawn an object in the background when two actors collide.
Download
Ball Fire
Fire balls away from swipe direction.
Download
Blink Text
Blur Effect
Add a blur layer using a duplicate of the image. It looks better when not being demo’d in a low-quality gif.
Download
Animate Based on Movement
Play an animation based on direction of movement.
Download
Bounce in a Circle
Bounce within a circle using a custom collision shape.
Download
Bubble Sort
A very basic bubble sorting algorithm.
Download
Camera Panning
Pan the camera around the scene based on dragging.
Download
Change Layers
Have an actor change layers so it can go both over and under other actors. Uses spawning.
Download
Closest Actor
Calculate the closest actor to a specific target, updating as actors move around.
Download
Coins
Spawn coins with a stacking effect.
Download
Comma Separated
An example of how to comma separate numbers using strings, prec() or mod().
Download
Custom Number Fonts
Easily implement custom number fonts using spawned actors, enabling snazzier font effects.
Download
De-Spacer
An example of how to remove spaces using the textReplace() function.
Download
Dice
Swipe to Grow
Have an actor grow and shrink based on how far a player swipes.
Download
Drawing
A fairly in-depth template that shows how to achieve a variety of drawing effects within the limits of GameSalad.
Download
Falling Leaf
Fast Grid Spawn
An extremely fast way of spawning a grid where rather than using a spawning actor, each grid item spawns the next grid item.
Download
Faster on Tap
Flood
Flood fill an area using table, taking into account walls.
Download
Follow Mouse
Have an actor follow the mouse movement.
Download
Follow Touch Path
Retrace a previously determined touch path.
Download
Fonts
A quick demo of the fonts included by default in GameSalad.
Download
Monospace Fonts
An easy way of spawning monospace fonts. Largely moot since GameSalad added custom fonts, but still potentially helpful for fancier text effects.
Download
Move to HUD
Shows how to have a static HUD when the camera is moving and how to move items from the scene to the static HUD.
Download
Music Player
A simple music player that lets you select, skip, repeat tracks.
Download
One Scene Platformer
A super basic platform with multiple levels on a single scene.
Download
Pin and Rotate
Rotate one actor around another. The “pinned” actor can be positioned anywhere and even moving.
Download
Progress Bar
Progress bars with optional rounded ends.
Download
Pulsator
Various methods of creating a pulsating effect.
Download
Radio Buttons
One way of making radio buttons where only one option is selectable at a time.
Download
Random From List with No Repeat
Pull numbers at random from a list of numbers without repeating. Uses a string to store the numbers rather than a table.
Download
Resource Gathering Template
A basic resource gathering template that keeps track of gathered resources while the game is not active. (Or rather, calculates how long the game was inactive when the game re-opens.)
Download
Static HUD, Rotating Camera
Shows how to keep HUD actors in a static position when the camera rotates.
Download
Ease In and Out of Rotations
A way of easing in and out of rotations rather than stopping abruptly. Does not use interpolates.
Download
Select Workers
Keep track of selected actors and trigger actions from them.
Download
Shapes
Draw basic shapes by clicking and dragging. See also the Drawing template found elsewhere on this page.
Download
Simple Tank
A simple top-down tank that keeps its gun pointed at the mouse/touch.
Download
In-app Purchase Tutorial Template
A template that explains how to implement basic in-app purchase buttons.
Download
Smooth Controls
A very smooth control system similar to that used in Jetpack Joyride.
Download
Spawn Across Bottom
Spawn actors across the bottom of the screen.
Download
Swipe Blades
Basic swipe blade for use in a Fruit Ninja type game.
Download
Swipe Factory
Demonstrates how to track the speed, direction and distance of swipes. A little out-of-date but the principles should still hold.
Download
Tic Tac Toe
Tic Tac Toe with a computer opponent. It’s a solved game so the computer should always play optimally and draws will be common.
Download
Top-down Rain
A top-down rain effect. Very CPU intensive so not really practical. Not very clear in the gif but you'll see it if you look closely!'
Download
Typewriter Text Effect
Display text one letter at a time like it’s being typed—a common effect used in games.
Download
Voltage
A very simple voltage calculator game made for a short-duration game jam at some point. A homage to the similar puzzle in Myst.
Download
Wavy Motion
Move in a wavy motion using sin (or cos) to control the vertical motion. It's much smoother than the low-framerate gif implies.
Download
Zoom
Zoom the camera, keeping the centre point consistent.
Download
Freedom Controller
A controller that appears wherever the player taps, rather than being chained to the corner.
Download
High/Low Card Game
A very simple high/low card game demo.
Download
Fall Into Hole
Actors move towards and fall into a hole.
Download
Increase Jump Height
Jump a little higher with each touch.
Download
Interpolate Back and Forth
One way of moving a value up and down using the Interpolate behaviour.
Download
Jump Through Platforms
A method for jumping through and then landing on platforms.
Download
Platformer Ladders
A method for adding ladders in a platform game.
Download
Leaf Blower
Left Centered Bar
A health or progress bar great for putting over characters. Stays left aligned to itself.
Download
Level Select
A Loop In a Loop
A loop inside a Loop behaviour for those times you just can’t get enough of loops.
Download
Line of Sight
Discover if one actor is in line of sight of another actor.
Download
Magnets
A little magnet game. I think it was originally done for a 1-hour game jam.
Download
Spawn Avoiding Player
Spawn enemies while avoiding the player’s location.
Download
Spawn Randomly
Spawn actors randomly anywhere on the screen.
Download
Spawn Time Changer
A little magnet game. I think it was originally done for a 1-hour game jam.
Download
Spawn on Grid
Spawn actors at the nearest grid location to a touch. Shows how to use a grid of any size.
Download
Constrain to touch with Collisions
Constrain an actor to your mouse/touch location while maintaining collisions with other actors. Uses motion instead of position constrains.
Download
Spawn Within a Circle
Spawn only within a circle (or ellipse) while still allowing touches outside the circle.
Download
Poker Hand Calculator
Calculate the winning poker hand. This is a different method from the one in the GameSalad template. It was made earlier so I don’t remember if it’s better or not.
Download
Visualise Sin and Cos
An easy way of visualising the movement of an actor using sin() and cos() values.
Download
Table Previewer
A quick way of previewing the contents of a table at runtime.
Download