Construct 2 game development by example / / John Bura |
Autore | Bura John |
Pubbl/distr/stampa | Birmingham, England : , : Packt Publishing, , 2014 |
Descrizione fisica | 1 online resource (230 p.) |
Disciplina | 794.8 |
Collana | Community Experience Distilled |
Soggetto topico |
Video games - Design
Computer games - Design |
Soggetto genere / forma | Electronic books. |
ISBN | 1-84969-807-4 |
Formato | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chaper 1: Getting Started with Construct 2; Downloading and installing Construct 2; What do the numbers mean?; Coding in Construct 2; Working with visual programming languages; Layout and event sheets; Sprites; Summary; Chaper 2: Inputs and Controls; Getting started with inputs and controls; Keyboard inputs; Inserting a new keyboard object; Adding functionality to the keyboard object; Setting the keyboard key; Controlling the sprite with the keyboard
Setting up the direction of the sprite's movementSetting keys for other directions; Testing the keyboard controls; Making the sprite move constantly; Changing the sprite's speed; Keeping the sprite onscreen; Mouse inputs; Adding mouse functionality; Setting up the Every tick command; Rotating the sprite to the mouse location; Facing the sprite towards the mouse point; Touch control inputs; Summary; Chaper 3: Variables and Arrays; Introducing variables; Number variables; Integer variables; Real variables; String variables; Boolean variables; Other variables; Declaring variables Writing variables in codeVariables in JavaScript; Examining JavaScript code; Variables in Construct 2; Adding a variable; Creating a global variable; Making a score variable; Adding a variable to a sprite; Creating a health variable; Introducing arrays; Adding an array in Construct 2; Checking an array's properties; Setting data and adding variables; Checking an array for data; Summary; Chaper 4: Game Mechanics; Introducing game mechanics; Game mechanics in Construct 2; Setting up a game mechanics project; Adding a game mechanics behavior to a sprite; Giving a sprite 8Direction movement Editing the properties of a behaviorAdding a collision event; Destroying the power-up on collision; Increasing the player sprite's speed; Setting the duration of the speed boost; Restoring the player speed to normal; Summary; Chaper 5: Making a Simple Shooter; Starting the project; Controlling a sprite with the keyboard; Organizing the event sheet; Adding mouse controls; Making the player shoot; Adding the enemy; Destroying the enemy; Adding a spawner; Summary; Chaper 6: Making a Tower Defense Game; Starting the project; Creating a spawn point; Laying out the level; Setting up the turrets Adding enemies and projectilesRotating the turret; Firing the turret; Setting up the path for the enemy; Setting up an enemy wave; Summary; Chaper 7: Making a Puzzle Physics Game; Starting the project; Setting the background layer; Adding the cannon; Adding sprites; Adding functionalities; Rotating the cannon; Creating a cannonball; Spawning the cannonball; Creating the spawning image point; Adding physics; Applying force at an angle; Setting cannonballs to fire one at a time; Setting the viewpoint to follow the cannonball; Making an immovable ground; Reloading the cannon; Adding the blocks Destroying the cannonball on a complete stop |
Record Nr. | UNINA-9910464623903321 |
Bura John
![]() |
||
Birmingham, England : , : Packt Publishing, , 2014 | ||
![]() | ||
Lo trovi qui: Univ. Federico II | ||
|
Construct 2 game development by example / / John Bura |
Autore | Bura John |
Pubbl/distr/stampa | Birmingham, England : , : Packt Publishing, , 2014 |
Descrizione fisica | 1 online resource (230 p.) |
Disciplina | 794.8 |
Collana | Community Experience Distilled |
Soggetto topico | Video games - Design |
ISBN | 1-84969-807-4 |
Formato | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chaper 1: Getting Started with Construct 2; Downloading and installing Construct 2; What do the numbers mean?; Coding in Construct 2; Working with visual programming languages; Layout and event sheets; Sprites; Summary; Chaper 2: Inputs and Controls; Getting started with inputs and controls; Keyboard inputs; Inserting a new keyboard object; Adding functionality to the keyboard object; Setting the keyboard key; Controlling the sprite with the keyboard
Setting up the direction of the sprite's movementSetting keys for other directions; Testing the keyboard controls; Making the sprite move constantly; Changing the sprite's speed; Keeping the sprite onscreen; Mouse inputs; Adding mouse functionality; Setting up the Every tick command; Rotating the sprite to the mouse location; Facing the sprite towards the mouse point; Touch control inputs; Summary; Chaper 3: Variables and Arrays; Introducing variables; Number variables; Integer variables; Real variables; String variables; Boolean variables; Other variables; Declaring variables Writing variables in codeVariables in JavaScript; Examining JavaScript code; Variables in Construct 2; Adding a variable; Creating a global variable; Making a score variable; Adding a variable to a sprite; Creating a health variable; Introducing arrays; Adding an array in Construct 2; Checking an array's properties; Setting data and adding variables; Checking an array for data; Summary; Chaper 4: Game Mechanics; Introducing game mechanics; Game mechanics in Construct 2; Setting up a game mechanics project; Adding a game mechanics behavior to a sprite; Giving a sprite 8Direction movement Editing the properties of a behaviorAdding a collision event; Destroying the power-up on collision; Increasing the player sprite's speed; Setting the duration of the speed boost; Restoring the player speed to normal; Summary; Chaper 5: Making a Simple Shooter; Starting the project; Controlling a sprite with the keyboard; Organizing the event sheet; Adding mouse controls; Making the player shoot; Adding the enemy; Destroying the enemy; Adding a spawner; Summary; Chaper 6: Making a Tower Defense Game; Starting the project; Creating a spawn point; Laying out the level; Setting up the turrets Adding enemies and projectilesRotating the turret; Firing the turret; Setting up the path for the enemy; Setting up an enemy wave; Summary; Chaper 7: Making a Puzzle Physics Game; Starting the project; Setting the background layer; Adding the cannon; Adding sprites; Adding functionalities; Rotating the cannon; Creating a cannonball; Spawning the cannonball; Creating the spawning image point; Adding physics; Applying force at an angle; Setting cannonballs to fire one at a time; Setting the viewpoint to follow the cannonball; Making an immovable ground; Reloading the cannon; Adding the blocks Destroying the cannonball on a complete stop |
Record Nr. | UNINA-9910786675003321 |
Bura John
![]() |
||
Birmingham, England : , : Packt Publishing, , 2014 | ||
![]() | ||
Lo trovi qui: Univ. Federico II | ||
|
Construct 2 game development by example / / John Bura |
Autore | Bura John |
Pubbl/distr/stampa | Birmingham, England : , : Packt Publishing, , 2014 |
Descrizione fisica | 1 online resource (230 p.) |
Disciplina | 794.8 |
Collana | Community Experience Distilled |
Soggetto topico | Video games - Design |
ISBN | 1-84969-807-4 |
Formato | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chaper 1: Getting Started with Construct 2; Downloading and installing Construct 2; What do the numbers mean?; Coding in Construct 2; Working with visual programming languages; Layout and event sheets; Sprites; Summary; Chaper 2: Inputs and Controls; Getting started with inputs and controls; Keyboard inputs; Inserting a new keyboard object; Adding functionality to the keyboard object; Setting the keyboard key; Controlling the sprite with the keyboard
Setting up the direction of the sprite's movementSetting keys for other directions; Testing the keyboard controls; Making the sprite move constantly; Changing the sprite's speed; Keeping the sprite onscreen; Mouse inputs; Adding mouse functionality; Setting up the Every tick command; Rotating the sprite to the mouse location; Facing the sprite towards the mouse point; Touch control inputs; Summary; Chaper 3: Variables and Arrays; Introducing variables; Number variables; Integer variables; Real variables; String variables; Boolean variables; Other variables; Declaring variables Writing variables in codeVariables in JavaScript; Examining JavaScript code; Variables in Construct 2; Adding a variable; Creating a global variable; Making a score variable; Adding a variable to a sprite; Creating a health variable; Introducing arrays; Adding an array in Construct 2; Checking an array's properties; Setting data and adding variables; Checking an array for data; Summary; Chaper 4: Game Mechanics; Introducing game mechanics; Game mechanics in Construct 2; Setting up a game mechanics project; Adding a game mechanics behavior to a sprite; Giving a sprite 8Direction movement Editing the properties of a behaviorAdding a collision event; Destroying the power-up on collision; Increasing the player sprite's speed; Setting the duration of the speed boost; Restoring the player speed to normal; Summary; Chaper 5: Making a Simple Shooter; Starting the project; Controlling a sprite with the keyboard; Organizing the event sheet; Adding mouse controls; Making the player shoot; Adding the enemy; Destroying the enemy; Adding a spawner; Summary; Chaper 6: Making a Tower Defense Game; Starting the project; Creating a spawn point; Laying out the level; Setting up the turrets Adding enemies and projectilesRotating the turret; Firing the turret; Setting up the path for the enemy; Setting up an enemy wave; Summary; Chaper 7: Making a Puzzle Physics Game; Starting the project; Setting the background layer; Adding the cannon; Adding sprites; Adding functionalities; Rotating the cannon; Creating a cannonball; Spawning the cannonball; Creating the spawning image point; Adding physics; Applying force at an angle; Setting cannonballs to fire one at a time; Setting the viewpoint to follow the cannonball; Making an immovable ground; Reloading the cannon; Adding the blocks Destroying the cannonball on a complete stop |
Record Nr. | UNINA-9910807862603321 |
Bura John
![]() |
||
Birmingham, England : , : Packt Publishing, , 2014 | ||
![]() | ||
Lo trovi qui: Univ. Federico II | ||
|