_____________________________________

About

_____________________________________

This is a Construct 3 template project. You can either use it as a start point for your game or you can merge it with your project using Construct 3 Project Merger.

Sprite Shadow Trail for Construct 3 is a Contruct 3 template project that contain objects that will enable you to:

  • Add a shadow trail  effect to your sprite objects

_______________________________________

How to use it

_______________________________________

Setting up the project 

Start a new project using the attached file in this page or merge this template with your project using Construct 3 Project Merger.

  1. Include the "sprShadowTrail_include" sheet into the sheet you want the effect to be available.
  2. Add the sprites you wish to apply the effect into the "sprShadowTrail" family
  3. Use the functions available in this template to work with this effect

The debug layout

This template comes with a debug layout where you can preview the effect setting parameters in real time.

_______________________________________

Template Functions

_______________________________________

Action functions

Those functions are available to use as actions under the Functions plugin. Action functions doesn't return values.

  • [Set Shadow Trail State
  • Parameters:
    • number object_uid - The uid from the sprite obj that is in the sprShadowTrail family
    • boolean enabled - Set the state of the shadow trail effect
  • Description: Enable or disable the shadow trail effect for a object in the "sprShadowTrail" family
  • [Set Shadow Trail Parameters]
  • Parameters:
    • number object_uid - The uid from the sprite obj that is in the sprShadowTrail family
    • number shadow_frequency - The frequency in seconds that the shadows will spawn
    • number shadow_fade_time - The time in seconds for a spawned "shadow" to fade out
    • string shadow_color - The "R,G,B" value of the shadows. This input are always 3 number values separated by ",". For example the input "100,0,0" will give you a red shadow
    • boolean trail_over_object - If true the shadows will spawn over the sprShadowTrail obj
  • Description: Enable or disable the shadow trail effect for a object in the "sprShadowTrail" family




StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorRelixes
Made withConstruct
Tagsc3, c3pack, c3pm, construct, construct-3

Download

Download NowName your own price

Click download now to get access to the following files:

Shadow Trail for Construct 3 sprites v1.0.0.c3p 58 kB

Comments

Log in with itch.io to leave a comment.

(+2)

i’m making a deep sea diving game next, and this will be a neat thing to add to the creatures that live in the deepest parts…like a ghost/shadow effect.

great work, as usual.