Wiki

Case Status
Log In

Wiki

 
Home ยป Add-ons»Sprite Manager 2 Custom Action…»SM2 Sprite Truncate
Index
Navigation
Community Wiki

SM2 Sprite Truncate

Truncates edges of the sprite to the specified percentage. 1 == no truncation 0 == complete truncation. 

Game Object
The game object to work with
Truncate Left
The left truncate value
Truncate Right
The right truncate value
Truncate Top
The top truncate value
Truncate bottom
The bottom truncate value
Every frame
Work every frame so that you can change the truncates values without leaving the state
 

Warning:

If you try to truncate left and right together OR top and bottom together, it will not work as expected. You can truncate only one side at a time.

 
Sprite Manager help here (left, right, top and bottom are individual methods, but they are conveniently combined into one action)
 
Download the SM2 package here

Last modified on 9/21/2011 1:22 AM by User.

  • RSS Feed