P4nch0 Posted February 19, 2016 Share Posted February 19, 2016 Hi everyone, is it any way to do character look choosing? https://www.assetstore.unity3d.com/en/#!/content/45423 Can i load this tile with characters and make it possible to choose look and them compile it in one character? I will be gratefull for every sugestions Link to comment Share on other sites More sharing options...
P4nch0 Posted February 29, 2016 Author Share Posted February 29, 2016 Hi, i found better solution to implement character look choosing. this is character generator: http://gaurav.munjal.us/Universal-LPC-Spritesheet-Character-Generator/# Is any way to implement this generator on site with game or i must to create a lot of look options and add it manually to the serwer and them give player way to chose? Paease give yours ideas Link to comment Share on other sites More sharing options...
P4nch0 Posted March 1, 2016 Author Share Posted March 1, 2016 A lot of people rode and anyone dont want to talk about it? So what is the aim of this forum? Link to comment Share on other sites More sharing options...
Alexalten Posted March 1, 2016 Share Posted March 1, 2016 Hi, You can use Phaser to customize you character using different layers (one layer for the body, one for the hair, etc. remember the correct sequence in the z-axis). There are a lot of open source sprite sheet to do this (also called "Frankensheet" (e.g. http://opengameart.org/content/lpc-medieval-fantasy-character-sprites ) ). To change the sheet (e.g. for the "head") with a new one, you can use the "myHeadSprite.loadTexture('newSheetToUse', 0);" method. So, the player has the possibility to change the layer (loading a different sprite sheet for the body, etc.). The way is similar to the example you've used (http://gaurav.munjal.us/Universal-LPC-Spritesheet-Character-Generator/#). But, I think that, at least, You have to use a server side program to merge the selected sheets (probably Imagemagick is a good solution) and save the final asset (for example as a blob in a database). Alex Link to comment Share on other sites More sharing options...
Alexalten Posted March 1, 2016 Share Posted March 1, 2016 If you need an example made with Phaser about the use of "loadTexture", check the following link: http://www.magratheaworks.net/RPG/class_select/index.html Link to comment Share on other sites More sharing options...
P4nch0 Posted March 2, 2016 Author Share Posted March 2, 2016 Ok i will try to find something about it, thx If You find some more example please give me answer Link to comment Share on other sites More sharing options...
P4nch0 Posted March 2, 2016 Author Share Posted March 2, 2016 Quote There are a lot of open source sprite sheet to do this (also called "Frankensheet" (e.g. http://opengameart.org/content/lpc-medieval-fantasy-character-sprites ) ). To change the sheet (e.g. for the "head") with a new one, you can use the "myHeadSprite.loadTexture('newSheetToUse', 0);" method. I am interested how phaser will be know about it must change the head. How to tell it? Link to comment Share on other sites More sharing options...
Alexalten Posted March 4, 2016 Share Posted March 4, 2016 Hi, I've just uploaded the last module of my ARPG, his name is "Customize the Avatar" For further information, You can check this topic: I hope this can help you, Bye, Alex Link to comment Share on other sites More sharing options...
Recommended Posts