Moving Objects for animation
- Selecting objects > behaviors > add behavior > scroll to
Adding Layouts
-Adding levels
Adding Behaviors
-Actions that sprites have
Adding Events
-Events that occur in game
Saturday, January 18, 2020
Coin System Event
- Global Variable on the event sheet
Name: Scoring
Type: Number
Initial Value: 0
- "Player" (Sprite 1) On collision with "Coin" on the event sheet
-"Once we're in the Edit action menu, we would need for it to add points to our global variable. So, set it to Add to, found in 'Global & local variables'
-Set the variable to scoring.
-In the Event Sheet, it should look like this:
"Player" On collision with "Coin": System: Add 1 to Scoring
-Destroy Coin
(This tells the game to Destroy Coin > Update Score > Refresh ScoreText)
SOURCE:
https://www.construct.net/en/tutorials/create-coin-based-points-1221
Friday, January 17, 2020
Construct - Interface
Properties
-Object, Behavior, and Effect Parameters
Workspace
-Everything in game; the space you'll be working in
-two tabs: layout and event sheet
Toolbar
-Run layout
Layers
-Layers
-Sprites
-Object, Behavior, and Effect Parameters
Workspace
-Everything in game; the space you'll be working in
-two tabs: layout and event sheet
Toolbar
-Run layout
Layers
-Layers
-Sprites
Fundamentals: More than one event sheet
- Have an event sheet for each individual layout so, that you can add different effects for each one, while maintaining the variables you've worked with in previous layouts.
- This makes for a more dynamic gaming experience
Fundamentals: Creating Solids for each Sprite
- Always develop the habit of creating solids for each sprite
- Back track; see what objects shouldn't be solid
Essential Hotkeys
Essential Hotkeys
CTRL+E - Go to associated event sheet from layout view
CTRL+C - Copy
CTRL+V - Paste
Click+Hold middle mouse button+drag or Click+Hold space and move mouse: Pan the view
CTRL+S - Save
Ctrl + Mouse - Wheel Up or Num pad + Zoom in
Ctrl + Mouse - Wheel Down or Num pad - Zoom out
Ctrl + 0 - Return to 100% zoom
F5 - Preview current layout (hold shift for continuous preview)
Arranging Sprites
Ctrl + Shift + Up Send to front of layer
Ctrl + Shift + Down Send to back of layer
SOURCE:
https://www.scirra.com/manual/64/keyboard-shortcuts
Behaviors > Actions
Bullet -
Sine -
- Up and Down, Left and Right between solids - Bounce off Solids (select "yes")
- Gravity - what causes the solid to move up and move down automatically by pixel
- Acceleration - speed of solid
Sine -
- Up and Down, Left and Right Effect moving through solids
Turret
- A rotating behavior detecting moving solid. (Ex: a moving army tank with cannon rotating around in accordance to the movement of the solid your controlling)
Subscribe to:
Posts (Atom)