Description

Try my new Mobile Game Development Course 75% OFF!

Easy Image Trail or After Image

This script is designed to make adding graphical effects like image trails (also known as after images) as easy as possible to implement into your game.

This asset contains 1 script. Yes you read that right 1 self contained script. In order to add that awesome after image your after all you have to do is call the following script in your draw event.

scr_after_image()

This script expects 3 arguments.

  • Max Length

  • Spacing

  • Colour (default c_white)

Script is commented thoroughly with example.

Max length is exactly how it sounds. How many sprites should comprise the length of your trail? higher number means longer after image and smaller numbers mean a shorter after image.

Spacing is also as it sounds. How much space is between each image in the image trail. So if you provide the number 2 then it will wait 2 steps before updating the next image position. If you set this to 0 then all the images will be bunched closer together. Higher means farther apart lower means closer together. I recommend a minimum of 2.

Colour is pretty self explanatory. If you use the default c_white then the after image will be of the same sprite of lower alpha values. If you decide to use something like c_aqua or make_colour_rgb then the sprite will be coloured in the after image.

End User Licence Agreement (EULA).

Version 1.0.1. Published April 16, 2017

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.

No reviews yet

No reviews have been left for this asset - be the first!

What is the issue?

Back to Top