PlayerSkin?

For questions about using Classic.

Post » Thu Jan 01, 2009 8:16 pm

Is it possible to have a skin to the player? Like, The Player is a Circle for best movement. but with a sprite drawing over it with animations? is it Possible? if so, how? :?

<ZFG>
B
1
G
4
Posts: 9
Reputation: 1,043

Post » Thu Jan 01, 2009 8:31 pm

You mean you want a separate collision box (or mask) for your player sprite? Yes, you can do that, and it's pretty easy. Create your box, (or in your case, a circle) and apply the movement you need to it. All of your controls will move that object. Then do this:

[code:2edfkbxh]
+Always
-> playerSprite: Set position to object hitbox.Sprite
[/code:2edfkbxh]

Make your hitbox invisible and nobody will ever even know it's there.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Jan 01, 2009 8:40 pm

Dear god this is awesome! Thank you! :D
B
1
G
4
Posts: 9
Reputation: 1,043


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests