Construct 2 - One Trick Everyday #9 - Create Lasers in Game

1
  • 2 favourites

Stats

1,659 visits, 2,215 views

Tools

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Hi All,

Today, I am going to show you how to create lasers in game. It is very easy just follow the steps:

1. Create a sprite long in height (make it red if you want red laser)

2. Give it SIN behavior to move back & forth

3. Then create blocks as sprite

4. When laser over laps block set laser height to block.Y

5. Invert condition then set laser height maximum which you want.

Feeling complex? Don't worry. Sharing Free capx for you.

You can see video here to understand the settings:

Download here

  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!