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

rex_simplex

Plugin, ACE table, Discussion thread
Dependence: None

Introduction
Adjust an object's position, size, angle or other properties with simplex 1d algorithm.
Reference: SimplexNoise.cpp

Usage
Sample capx
Concept
This behavior moves on a virtual 1d axis, from initial position with an increment.
Properties setting
The properties table is very similar with official sine behavior.
  • "Initial", "Initial random": set the initial position to Initial + random(1) * Initial random
  • "Increment", "Increment random": set the increment to Increment + random(1) * Increment random
  • "Seed", "Seed random": set the seed to Seed + random(1) * Seed
  • "Magnitude", "Magnitude random": set the magnitude to Magnitude + random(1) * Magnitude random
These properties also could be set by actions -
  • "Action:Set mapping position"
  • "Action:Set increment"
  • "Action:Set seed"
  • Action:Set magnitude"
And read these properties by expressions -
  • "Expression:MappingPosition"
  • "Expression:Increment"
  • "Expression:Seed"
  • "Expression:Magnitude"

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