Jump to content

Player creation from different sprites


Pupolajshu
 Share

Recommended Posts

Hi, I have an idea of a game in which there would be a player who could collect different items(boots, helmet, pants, etc)
It would really be a pain if I had to draw:
10 animation frames for normal character,
10 animation frames for character in boots,
10 animation frames for character in pants,
10 animation frames for character in pants,in boots,
And so on.....
You got me..(Of no, think of Minecraft or Terraria or Starbound where you can wear armor and stuff)
So, my question is - Is it possible(in Phaser) to take different images(One for body, one for head, one for legs) and put them together and move,animate as if it was one image...

Or maybe you have other suggestions? :)

Link to comment
Share on other sites

If you made your animation with Spriter (https://brashmonkey.com) and played it with Spriter Player for Phaser (https://github.com/SBCGames/Spriter-Player-for-Phaser), then it is easy to achieve what you need. Feature you are looking for is named "character maps". It is available only in Spriter Pro, but with it you can switch player's boots, pants, hats... whatever. This feature is supported with Spriter Player for Phaser.

Link to comment
Share on other sites

10 minutes ago, Tom Atom said:

If you made your animation with Spriter (https://brashmonkey.com) and played it with Spriter Player for Phaser (https://github.com/SBCGames/Spriter-Player-for-Phaser), then it is easy to achieve what you need. Feature you are looking for is named "character maps". It is available only in Spriter Pro, but with it you can switch player's boots, pants, hats... whatever. This feature is supported with Spriter Player for Phaser.

Thanks, I will check this out :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...