Author Topic: [Release][Tool] Hammersprite - Easily generate the XML for custom sprites  (Read 40772 times)

Thein

  • Posts: 13
  • Maggot Crusher.
    • View Profile
I'm assuming that version worked for you on Linux? If it did, I will be sure to update it when I release new versions. Although I have been busy with other things lately, so 1.0.0.2 is still the latest version.


Kashlavor

  • Posts: 79
  • Spike Dodger.
    • View Profile
Re: [Release][Tool] Hammersprite - Easily generate the XML for custom sprites
« Reply #32 on: October 01, 2014, 07:13:07 PM »
Oh this is cool.
Starting work on the Lair of the Archnecromantrix, a Hammerwatch campaign!

Dai Tou Zai

  • Posts: 99
  • Definitely Not Blitzcrank
    • View Profile
Re: [Release][Tool] Hammersprite - Easily generate the XML for custom sprites
« Reply #33 on: December 14, 2014, 04:21:31 AM »
any idea when you will update this for projectiles?

i don't understand how to make them at all -.-
No i'm not blitzcrank, stop asking me.

SG2Tiger

  • Posts: 3
  • Maggot Crusher.
    • View Profile
Re: [Release][Tool] Hammersprite - Easily generate the XML for custom sprites
« Reply #34 on: January 06, 2015, 01:27:14 AM »
Hey all, I'm new to using the editor and Hammersprite, so bear with me...but I'm trying to add a custom lava tilemap. I managed to get my basic tile for the animated lava working as expected (well, except I can walk on it, but that's because I need to learn how to do collisions still and is unrelated to Hammersprite) but when I try to make my bordered tiles I'm running into issues. I followed the video tutorial exactly for creating a bordered tile, but rather than having multiple border pieces in the editor (like the defaults) I only have one...

Basically these are my borders:



Since the lava is animated, it's transparent with the intent of painting over the lava, but I didn't think that would make a difference? In any case, when it's all saved and loaded in the editor, I only see a single option instead of multiple borders to choose from...



And when I try to place the tile it basically places all the corners down as one...



I followed the video tutorial as far as setting up a bordered tile, so what am I doing wrong? I just want to create 'shores' between the land and the lava.

If it helps, the xml Hammersprite generated is as follows:

Code: [Select]
<tileset level="201">
   <sprite scale="16">
      <texture>tilemaps/lava_border.png</texture>
      <frame>16 16 16 16</frame>
   </sprite>
   <borders>
      <sprite name="north" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>16 0 16 16</frame>
      </sprite>
      <sprite name="northeast" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>32 0 16 16</frame>
      </sprite>
      <sprite name="east" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>32 16 16 16</frame>
      </sprite>
      <sprite name="southeast" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>32 32 16 16</frame>
      </sprite>
      <sprite name="south" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>16 32 16 16</frame>
      </sprite>
      <sprite name="southwest" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>0 32 16 16</frame>
      </sprite>
      <sprite name="west" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>0 16 16 16</frame>
      </sprite>
      <sprite name="northwest" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>0 0 16 16</frame>
      </sprite>
      <sprite name="northeastpit" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>64 0 16 16</frame>
      </sprite>
      <sprite name="southeastpit" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>64 16 16 16</frame>
      </sprite>
      <sprite name="southwestpit" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>48 16 16 16</frame>
      </sprite>
      <sprite name="northwestpit" scale="16">
         <texture>tilemaps/lava_border.png</texture>
         <frame>48 0 16 16</frame>
      </sprite>
   </borders>
</tileset>

Thein

  • Posts: 13
  • Maggot Crusher.
    • View Profile
Re: [Release][Tool] Hammersprite - Easily generate the XML for custom sprites
« Reply #35 on: January 06, 2015, 04:26:57 AM »
It's been a while since I've worked with Hammerwatch, but it seems like your problem is the way you've set up the bordered tilemap. It should look something like what I have attached. It's just something I made quickly, so it's not perfect, but you should have the borders surrounding the basic floor tile. Then, you can use the bordered tile in the Hammerwatch Editor, and it will look something like my second attachment.

SG2Tiger

  • Posts: 3
  • Maggot Crusher.
    • View Profile
Re: [Release][Tool] Hammersprite - Easily generate the XML for custom sprites
« Reply #36 on: January 06, 2015, 08:28:24 PM »
Oh, I think I get it...because I made both versions more like the 'pit' variety, compared to the 'sand mound' type you used for the bordered tiles in the tutorial video? I knew it must have been something silly like that. Thank you for your quick response!!

Flemse

  • Posts: 67
  • Maggot Crusher.
    • View Profile
This is really nice. You guys(Crackshell) should consider making an official program like this for the new engine, maybe with integration into the editor.

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
I know, I think it would be a great asset to the community. It's not on my table though.

ChocolatechunkDE

  • Posts: 1
  • Maggot Crusher.
    • View Profile
Re: [Release][Tool] Hammersprite - Easily generate the XML for custom sprites
« Reply #39 on: November 10, 2015, 12:28:43 AM »
Hey, there i have sucessfully used the tool, but there are no new doodads in the editor
and yes, i have reload the resources.

Thanks in advance

ChocchunkDE

MIUPC

  • Posts: 1
  • Maggot Crusher.
    • View Profile
Re: [Release][Tool] Hammersprite - Easily generate the XML for custom sprites
« Reply #40 on: December 28, 2018, 04:08:39 PM »

Hey!
So i tried to install this tool the other day and the link from where it downloads the tool seems to be missing? Is there any other way for me to download the tool?