takashy

Members
  • Content Count

    7
  • Joined

  • Last visited

About takashy

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. takashy

    Items

    With method mentionned i created one spritesheet (body.png) so maybe 20 textures.. If player equip an item (hat), i would merge spritesheet of hat with spritesheet of body and got a finally spreetsheet named body.png with hat on it So textures not changing.. is always 20 textures if i open body.png spreet sheet and open hat sprite sheet on it over photoshop, i got a spriteeshet with body and hat.. so i can just merge png without pixi and when spritesheet change, reload it over pixi understand what i want to do?
  2. takashy

    Items

    Hello guys, finally i followed savage method mentionned by @Jammy Riguarding items on sprite.. i tought if instead of manupulating textures.. what about merging directly spritesheet png and reload this? anyone tried this way ? ex: I have body sprite sheet When player equip armor, the spritesheet of armor merge with spritesheet of body so i have a ready equipped spritesheet and manipule only one sprite.
  3. takashy

    Items

    Ok thanks really appreciate.
  4. takashy

    Items

    Hello, Thanks again. Yes i have an existing spritesheet and i want to export a json of it.. @ivan.popelyshev Can you tell me which tool can do that ? tried free text packer, shoe box and others but the only way iv found is to export first on multiples images (split sheet) and then create a sprite sheet of this multiples images.. but i don't want to do this i already have a spritesheet
  5. takashy

    Items

    Hello, Thanks for help. Jammy i go for container method, this work well. Anyone know how i can generate a json for pixi from an existing sprite sheet ? like posted above? The only solution iv found is to split spritesheet on multiples images and then create a spritesheet..
  6. takashy

    Items

    Hello ivan thanks for you reply. what you mean by defaultAnchor mechanic in pixi textures, added by texturePacker ? I use shoebox or http://free-tex-packer.com/ And i think i have to write nothing. spritesheet are ready to use example : as you can see sprite sheef of armor follow sprite sheet of body, all i need to do is combining this sprites i think.. so i tried to create a sprite (body) and push armor on children of body. But for that i need to play with anchor.y you think i can go on this way ?
  7. takashy

    Items

    Hello guys im new here, i have some doubt about items equipment.. I have several spritesheet one for body and one for each items, hair ... I want to know what is the best approach for pixijs ? I tried to add hair spritesheet as children on my exisiting body spritesheet this work but i need to modify anchor. This is good ? or there is another solution ? Best regards