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

1

Stats

1,925 visits, 2,590 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.

Published on 26 Mar, 2018. Last updated 19 Feb, 2019

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

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