Bug Issue: Set Origin point and Grow BUG


Pages: 1

RedEvo

  • Level 3 Stencyler
August 08, 2017, 06:40:27 am
Setting origin point not to Center and use Tween grow block to reduce or enlarge an actor cause a bug.
When you try to click to the actor after growing, click "square" is in the wrong place.

Attached you can find a game to test this bug:
0. number in upper left corner of the game increase only when you click on test image
1- press - 3-4 times to reduce image by 30-40%.
2- try to inside reduced actor near the upperleft corner, number does not increase
3- try to click outside bottom right corner and you can see clicknumber increase.
Something similar can be noticed when you grow to more than 100%, the click "square" seems shifted upper left.

I've noticed this bug also in the past but never go deep so I'm not sure about versions. I'm working on 3.5beta, last version.
« Last Edit: August 08, 2017, 06:42:32 am by RedEvo »


New attachment added by RedEvo - August 08, 2017, 06:41:34 am


RedEvo

  • Level 3 Stencyler
August 08, 2017, 09:31:58 am
Issue is in the calculation of offset in isMouseOver(). Actual function don't take care about scaling of origin point during Grow scaling . Results of yPos and xPos are the same indipentently by currOrigin declared in xml file. Grow scale is strictly related to currOrigin
« Last Edit: August 08, 2017, 09:42:51 am by RedEvo »


Issue updated by Justin - February 01, 2018, 05:34:44 pm
  • Tags added: 3.5 LP


rob1221

  • Master Stencyler
  • *
May 26, 2018, 01:58:09 pm
Fixed in b9884.
  • Status changed from New to Resolved
  • Issue Assigned from (none) to rob1221
  • Tags removed: 3.5 LP


Pages: 1

Details

  • Reported
    August 08, 2017, 06:40:27 am
  • Updated
    May 26, 2018, 01:58:09 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.5, 3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    rob1221
  • Category
    Engine

Tags


Attachments


* 1.swf (5463.49 kB, 640x480 - viewed 85 times.)