Rex's plugins for Construct2
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About

rex_replacer

Plugin, ACE table, Discussion thread
Dependence: rex_nickname plugin

Introduction
Replace instancne by fade-out itself, and create the target instance then fade-in it. This behavior could be used for transition of background images.

Usage
Sample capx
Call "Action:Replace instance to nickname type", it will
  1. Create target instance by parameter of nickname string, then put it behind current instance.
  2. Fade-out current instance, fade-in target instance.
  3. Destroy current instance when the opacity fade-out to 0.
The duration of fade-out/fade-in could be set by "Fade duration" in properties table, or by "Action:Set duration" .
Another way is using "Action:Replace instance", this action assign target type by object-type (not nickname string)

Create a free web site with Weebly
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About