[r72] Origin is wrong on "Default" animation

Bugs will be moved here once resolved.

Post » Fri Dec 16, 2011 12:52 am

When I have an animation called "Default", the origin for that animation seems wrong (even though it has been set as "Bottom").

It works fine for the other two animations ("Left" and "Right") and the collision works fine too, when I delete "Default" animation.

Playing on Pale Moon 8 (stripped Firefox 8 build), developing on Construct 2 r71 (64 bit), on Windows 7 (64 bit).

Here is the capx:
Test001.capx

*edit: Originally posted as r71, but still happening with r72Fryght2011-12-16 02:41:18
B
10
G
2
Posts: 5
Reputation: 1,227

Post » Fri Dec 16, 2011 4:27 pm

When I duplicate the "Right" animation and rename it to "Default" it does work correctly. Maybe the file above can be helpful to the developers for figuring out when it happens exactly.
B
10
G
2
Posts: 5
Reputation: 1,227

Post » Tue Dec 20, 2011 1:16 am

I ran it and it seems to work fine. What exactly is the problem?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Dec 22, 2011 7:04 pm

I think I have the same bug.
Look at this CAPX and compare movement in fist and second left pads (use arrow keys to move pads).

http://www.apagada.com/varios/ProyectoPinball_buggy_centers.capx

First pad rotates around its center.
Second pad rotates arount the origin point specified in the sprite.

I've found a solution: using point name instead of point number.

Also keep in mind Construct keywords are sometimes case-sensitive, but syntax checker is always case-insensitive.

Point name (instead of number) should also be used to apply forces.
http://www.apagada.com/varios/ProyectoPinball_buggy_centers.capxarcalaus2011-12-22 19:05:44
B
39
S
11
G
5
Posts: 132
Reputation: 8,228

Post » Thu Dec 22, 2011 7:16 pm

your source totaly beats me... not smart enough to understand what you're doing
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Sat Dec 24, 2011 12:00 am

@arcalaus - your issue is probably different because it uses the Physics behavior, so I'd report it as a separate bug.

@Fryght - still awaiting a description of what is wrong, everything looks fine here.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sun Dec 25, 2011 9:25 am

@aracalus ...i fiddled around with a pinball myself. Here is the CAPX maybe it helps

...sorry guys - the CAPX is broken...Weishaupt2011-12-25 11:59:21
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Wed Jan 11, 2012 3:38 pm

Sorry for not responding sooner:
When I run the game and let the little guy drop, he drops into the floor. Same thing happens sometimes if I keep changing direction in the air a bunch. The issue disappears when I delete the original 'Default' animation, so it's some very odd behavior :s

* Edit: Just opened it again and now everything is fine. Probably fine to ignore/close the case on this one.Fryght2012-01-11 15:41:04
B
10
G
2
Posts: 5
Reputation: 1,227


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests