The Official Blog of Patcoola

Im just a dude watching over my parents,
and trying to make cartoons and video games from home.

R&D: Way Points Plug-in for Construct 2

, By Patcoola

I have created a behaviors plug-in for the game creation program Construct 2 called Way Points, this plug-in allows objects to move from point to point.

Way Points is a behaviors plug-in for instructing an objects motion to moving from point to point. Way Points does not move the object, instead it provides direction. Way Points also provides a curve path generator.

Advertisement

Donate Now!

Hi there, I spend a lot of time making this blog.

It would be great if you would consider donating.


Conditions

Way End Points

Test if the object has hit or passed position B the current index.

Way End Chain

Test if the object has hit or passed the last B position of the last index.

Is Index

Is index currently active.

Is Index End

Test if the object has hit or passed position B of index.

 

Actions

Set State

Enable or Disable the plug-in.

Set Angle

Enable or Disable, allows object to angle towards position.

Set Chain

Enable or Disable, allows the object to move to the next path index automatically.

Set Index

Set the path index.

Append

Add a new path to end of the index.

Append String

Add a new path using a string to the end of the index.

Generate Curve

Automatically creates and appends a chain of paths for a curve.

Generate Points

Generates a set of paths from two positions and appends a chain.

Remove First

Removes the first index.

Remove Last

Removes the last index.

Clear

Removes all indexes.

 

Expressions

Get State

Determines if the plug-in is enabled. Returns 1 for Enabled, 0 for Disabled.

Get Angle

Determines if angles is enabled. Returns 1 for Enabled, 0 for Disabled.

Get Chain

Determines if chains is enabled. Returns 1 for Enabled, 0 for Disabled.

Get Index

Returns the current way point index.

Get Position

Returns the X or Y of the current way points A or B.

Copy Index

Copy way point entry to string.

Count

Returns the number of way points.

 

Advertisement

Donate Now!

Hi there, I spend a lot of time making this blog.

It would be great if you would consider donating.


 

Post Meta

Share Post

 

Comments: Write Comment

Be the first to write a comment.


Leave a Comment


All comments are reviewed before publishing. Comments must be related to the page topic, must not be spam, and must comply with the criminal code of Canada.