Super Spooky House Part 1: Darkness & Torchlight

2

Index

Attached Files

The following files have been attached to this tutorial:

.capx

superspookyhouse-partone.capx

Download now 235.39 KB

Stats

6,033 visits, 12,405 views

Tools

Translations

This tutorial hasn't been translated.

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.

Method Two: Premade Mask

For this one, make a huge black image, and use a small soft eraser to cut a hole in the centre. Save it as a PNG, this will be your mask.

Now bring that image into Construct 2 as a Sprite.

In Events, set the position of the sprite:

    every tick -> set mask position to character.x, character.y


You can make whatever kind of shadow you want, if you want fog, you can make a grey mask. You could create a torch beam that pierces the darkness, and make the light whatever colour you wish.

But if you want to make a beam of light, you have to add an additional Action to your Event:

    every tick -> set mask angle to character.angle

Then:

Boom! We're in Silent Hill!

Now this is great and simple for large areas, but when you reach the edge of your layout you see the edge of the mask. There's probably something you could do about that, but it'll get fiddly and by that point you may as well use a different method

  • 0 Comments

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