Scale (Sprite object extension) (Behaviours)

Discuss Scirra's 2D Asset Store

Post » Fri Sep 15, 2017 10:49 am

Scale (Sprite object extension) — Now for sale in the Scirra Store!

What you buy here?

  • Scale behavior for C2 and C3
  • Capx example

What is Scale behavior?

It's a behavior dedicated for Sprite objects which lets you set, get and compare current Sprite's scale.

How is it different than using the normal scale?

The difference is that Sprite object does not have the Scale expression at all so you can't read the current scale.

With this behavior you can set/get/compare 6 type of scales:

* General scale (by self)

* Width scale (by self)

* Height scale (by self)

* General scale (by image)

* Width scale (by image)

* Height scale (by image)

By self - means that it's a scale based on the initial Sprite size (the dimensions of the instance at it's creation are considered as scale = 1).

By image - means that it's a scale by the Sprite's image/texture size (the image dimensions are considered as scale = 1.


  • 6 types of scales to cover any project needs,
  • Extension to the most commonly used object type - Sprite,
  • Built-in Actions, Conditions & Expressions for all 6 scales manipulation,
  • Super light-weight (nothing is calculated per tick, calculations only on demand)


This plugin does not rely on any third party libraries so it will never get outdated or broken.

Note that all of my plugins work with all platforms (including Cocoon Canvas+) unless described otherwise in the description.

I'm a full time programmer, in case of encountering any issues, please send me an email, I'll fix it ASAP!

Want to be notified about updates?

Join my Discord server:

Use this topic to leave comments, ask questions and talk about Scale (Sprite object extension)
Posts: 1,039
Reputation: 46,232

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 1 guest