Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SG2Tiger

Pages: [1]
1
Resources / Custom sprites...
« on: February 23, 2015, 12:29:22 AM »
I want to make some custom sprites of the player characters, and even after reading the topics on the forum I'm a bit confused by it. You should be able to simply replace the default pngs with new ones, right? Like a custom warlock_a.png would simply take the place of the thief in the main game? What is the grid size for the sprites, 16x16? The alignment seems strange to me...

Also I'm having trouble finding some player projectiles, like the thief's knives, which don't seem to be in the projectiles or effects folders.

2
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!!

3
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>

Pages: [1]