Ex: Simple Platformer
Download Assets
https://drive.google.com/file/d/1arkVoY2tQdWBh5_jys8zmPeY242umBIV/view?usp=drive_link
Layout
New game with defaults
Go to
Layout 1
Size
property(
1000, 500
) value
Setup Character
Insert New Object
->Sprite
-> uploadcharacter1.png
add new frame
Insert New Object
->Sprite
-> uploadcharacter2.png
add new frame
Insert New Object
->Sprite
-> uploadcharacter3.png
Animations
panel -> click name of animation e.g.Animation 1
-> checkloop
Character Behaviors
0
frame spriteBehaviors
->Add new behavior
typePlatform
to jump run along platformsScroll To
viewports follows/pans with CharacterBound To Layout
keep Hero within Layout
Ground
New object
Tile Background
-> uploadground.png
Note: you may have to resize the Character to proportionate to the Ground or vice
Extend ground to full length of
Layout 1
Platform
New object
Tile Background
-> uploadplatform.png
Behaviors
->Add new behavior
typeSolid
Walls
New object
Tile Background
-> uploadwall.png
Behaviors
->Add new behavior
typeSolid
Check: Initial Level Layout
Ensure the level is playable
Adjust height of platforms and walls
Experiment with
Character
sprite ->Jump strength
Adjust scale of characters, platforms, etc.
Check: Collision Points
Check where objects touch, overlap, etc.
double click
Hero
spriteclick on
Edit Collision Points
buttonedit if needed
Mirroring Movements
Mirror character movements
Go to
Layout 1
Add invisible
Keyboard
objectGo to
Event sheet 1
New
Event
Condition:
Keyboard
object ->On key pressed
->Left
Action:
Character
->Set mirrored
-> StateMirrored
New
Event
Condition:
Keyboard
object ->On key pressed
->Right
Action:
Character
->Set mirrored
-> StateNot mirrored
"Hurty Things"
Things that hurt our character
New object
Tile Background
-> uploadspikes.png
Go to
Event sheet 1
Condition:
Character
->On Collision with another object
->Spikes
Action:
System
->Restart Layout
Take note of
Hero
starting positionAdd Action for this Event
Action:
Hero
->Set Position
-> your starting x and y values
Reward & Complete Level
Reward outside of layout
select
star
object
Add
Behaviors
Destroy outside of layout
to keep out of layout until neededPhysics
Go to
Event sheet 1
Condition:
Character
->Is overlapping another object
->Finish
Action:
Finish
->Spawn another object
Action:
Character
->Start ignoring user input
->Start ignoring
Z-Index : Background Image
New object
Tile Background
-> uploadzIndexTile1.png
Rename object to
zIndexTile1
New object
Tile Background
-> uploadzIndexTile2.png
Rename object to
zIndexTile2
Select
TileZIndex
->Z Order
->Send to bottom of layer
Optionally, change
Opacity
if too dark
Lift or Elevator
New object
Tile Background
-> uploadgreenPlatform.png
Rename object to
Lift
Add
Behaviors
Solid
to stand onSine
to rise/lower like a sine curve
Sine
section ->Movement
property ->Vertical
valueSine
section ->Period
property ->3
value or seconds to go up/downSine
section ->Magnitude
property ->100
value or how far it goes up/downAdjust values as needed
Collectible
New object
Sprite
-> uploadcollectible1.png
Rename object to
Collectible1
Collectible Effect
Go to
Layout 1
New object
Particles
-> uploadcollectible1.png
Particles
object ->Properties
Spray cone
:360
valueType
:One-shot
Go to
Event Sheet
Condition:
Charcter
->On collision with another object
->Collectible1
Action:
Collectible1
->Spawn another object
->Collectible1
Action:
Collectible1
->Destroy
Next Level Door
Go to
Layout 1
New object
Sprite
-> uploaddoor1.png
Rename object to
NextDoor
Go to
Event Sheet
Condition:
Character
->NextDoor
Action:
System
->Go to next layout
Last updated