mirror sprite through actions?

New releases and general discussions.

Post » Sun Dec 28, 2008 5:18 pm

i think ive asked for this b4, but i think it would be usefull if we could mirror and flip a sprite through actions, instead of checking a checkbox which gives us no control over when to flip. something similar to how bones mirror would be nice, i find myself having to make different animations for flips and mirror atm which isnt the way it should be done. plz implement this in the next update, i dont know, but it seems like a simple thing that should already be there.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sun Dec 28, 2008 5:22 pm

You can already set a negative width for a Sprite, which mirrors it. You can also set a negative height to flip.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sun Dec 28, 2008 5:27 pm

well thats not very obvious :P
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sun Dec 28, 2008 6:26 pm

doesnt seem to work in my game, check it out.

http://willhostforfood.com/files3/50305 ... round3.cap
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sun Dec 28, 2008 7:07 pm

Ummm... firstly the player seems to flip just fine in that game, where's the problem? Secondly where are you setting a negative width? I can't quickly make sense of a 60 event .cap, I need you to help me help you...

It works for me anyway, check out the attached .cap.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sun Dec 28, 2008 7:27 pm

just set the width to -103 in the layout editor and it wont work. do you know why?

seemed to work fine when i did it in a fresh file

the character flips fine atm, because i added individual animations of flipped frames to each sprite.
the gun and legs dont have this and if i put auto mirror on the gun it works improperly because the gun will flip before the character does. i have to either use a negative width or make new animations which are mirrored (which will take a while) for it to work properly. I need this negative width because the animation way is a bad way to do it.

EDIT: ah never mind lol, im just getting confused it seems to work
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Mon Dec 29, 2008 3:28 am

Though it's not the topic of the thread, damn this game looks cool.
B
4
S
2
G
6
Posts: 161
Reputation: 2,597

Post » Mon Dec 29, 2008 12:10 pm

Apparently if I try to visit willhostforfood it's an attack site and I should get out of there?
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Mon Dec 29, 2008 3:59 pm

I got the same thing Rich - probably an attack hosted on someone's account there (which marks the entire domain dangerous) - will probably sort itself out eventually.

But yeah this game looks awesome Quazi :D
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Mon Dec 29, 2008 7:59 pm

Actually if you read the reasons for the warning, they have no attacks to show for at all. It's only been reported as an attack site because "someone could upload something bad." Which is true of any file hosting site.

There's a link for webmasters to contact, I posted a thread at whff forums asking they straighten it out. I hope they do, I have a lot of files on whff.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 6 guests