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

Pages: [1]
1
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.

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

3
Sure, that would be great! Thanks  :)

4
oh also as a side note.
how exactly does the hammerwatch engine work?
would you mind if I decompiled it and took a look inside?

I don't work for Crackshell, so I'm not the person you should be asking ;D. You should ask Myran or Hipshot.


5
Hoffa: I tried to load the item, and it gave me the error "Editor can only read RGB or RGBA textures". I've had this error before, to fix it you just have to convert your PNG to a 32 bit depth. My way of doing this is to open the image in Paint.NET (http://www.getpaint.net/), go to Save As, save over your PNG image, and choose 32 bit depth. I attached the fixed 32-bit sprite, so see if it works. If not, I'm afraid it might have something to do with the editor version you are using.   :'(

shiftyBOT: The setup.exe doesn't need to be in your Hammerwatch folder, but I figured it wouldn't let you use the installer on Linux. I have attached a zip containing the application exe itself, let me know if it works for you.

Also, I just updated Hammersprite to version 1.0.0.2. Only a couple changes:

Changelog:
Added pixel border around image boundaries so you don't accidentally drag outside
Added "Auto-Fit" option. When enabled, it automatically shrinks rectangle borders based on transparency (only when dragging new rectangles)
Fixed crash when you resize a rectangle negatively

6
Hoffa: Could you attach the image and xml file so I can see what's going on? Or if you don't want to post it publicly send me a private message. Items work fine for me, but there could be bugs that I haven't discovered.

Haha thanks t0werblade. Let me know if there's any particular features you want to see.  ;D

7
Hey shiftyBOT. To be honest, I have no idea if it will run on Linux, but you are free to try. I don't have enough experience with Linux to test it myself. Hammersprite was written entirely with the .NET Framework, so it looks like you might be able to run it using mono. If you can't use the installer on Linux, I can upload the application executable for you, but I don't think the auto-updates would work.

8
That's awesome Hipshot. I'm glad to see Hammersprite is working for you. I agree, allowing custom classes would open up so many possibilities for total conversion mods.

Hoffa: It's weird that the item would show up in the editor and not in the game. Did you make sure to save your level before running it? A lot of times I forget to save and I end up playing on a blank level. If that's not the problem, I'll be sure to look into it.  ;)

9
Alright, I just updated Hammersprite with quite a few great changes! Thanks for the feedback Hipshot. Maybe someone can let me know if the automatic updating worked? It should either prompt you upon launch or you can go to Help > Check for Updates. After updating, it should say version 1.0.0.1 in the Help > About option.

Also, I'm not sure why you would want to drag multiple rectangles in the same spot. You can always assign the same rectangle to different animations with no problems. Although one current issue is that you can't use the same frame twice in a single animation. For example, if you need to use the same "in-between steps" sprite multiple times in a walking animation. That's something I'll have to fix later.

Changelog:
Gave "Custom Grid" a menu of it's own
Added "Snap to Custom Grid" option
You can now resize and move rectangles
Resizing and moving also snaps to custom grid
Optimized grid drawing for much better performance

10
Yeah, apparently computers don't like .application files. I have added another download link for the setup.exe instead of the .application file. Maybe it will work better. Thanks for the info about circle collisions, I'll definitely add them. I already have circle collisions for actor creation, but I haven't added them for doodads and items. Also I need to add support for multiple colliders on one object.

11
Hey Finn,

All the sprites from the videos are posted in the YouTube descriptions, but here they are:
http://opengameart.org/content/lpc-sandrock-alt-colors
http://opengameart.org/content/lpc-dungeon-elements
http://opengameart.org/content/simple-broad-purpose-tileset

Opengameart is a great place to find sprites, sounds and music for custom levels. Enjoy!

12
Sorry about that! I think you need to install the .NET Framework in order to run .application files:

http://www.microsoft.com/en-us/download/details.aspx?id=30653

13
Hammersprite is a little tool that lets you easily get your custom sprites ready for the editor. With it, you can easily create tilemaps, doodads, items, and enemies without needing to write out every single sprite coordinate and dimension. It also generates default values for item behaviors, actor behaviors, and lights, which you can easily edit in the xml file.

Supported:
Single tiles
Bordered tiles
Single-state doodads
All item types (unless I forgot some?)
Both 1-Directional and 8-Directional enemies
Melee and ranged enemy behaviors
Collision polygons for doodads and items
Circle collision for actors
Static/Non-static colliders and shoot-through
Glow effect
Attached lights
Automatic updates
And more!

Not yet supported:
Multi-state doodads
Default doodad layers
Projectiles
Particle Effects
Spawners
Composite, caster, boss, and tower enemy behaviors
Possibly more? Let me know!

Video Tutorials (Watch in HD):
<a href="http://www.youtube.com/watch?v=0-W-TJEPCSA" target="_blank">http://www.youtube.com/watch?v=0-W-TJEPCSA</a>

<a href="http://www.youtube.com/watch?v=YntTaVQ_gVE" target="_blank">http://www.youtube.com/watch?v=YntTaVQ_gVE</a>

Hopefully the videos will be enough to learn how to use Hammersprite, but if anyone needs further help just ask! There is no video yet for creating actors, but it's very similar to creating doodads and items. If you want a video for actor creation just let me know. Also, please leave feedback, bug reports, and suggestions below! I know the Resources section of this forum isn't super active, so feel free to tell other people about this if you find it useful. Thanks  ;D

Installation instructions
Just download and run Hammersprite.application. You might get security warnings from Windows, but I promise it's completely safe. If you can't open the .application file, try installing the Microsoft .NET Framework:
http://www.microsoft.com/en-us/download/details.aspx?id=30653

Download link (extract folder and install using Hammersprite.application)
https://www.dropbox.com/s/ul7g7gjgt6d4z85/Hammersprite.zip?dl=0

Source Code (C# Visual Studio Project. Released under MIT License)
https://www.dropbox.com/s/0uzzv5edd2w91lc/Hammersprite%20Source.7z?dl=0

Pages: [1]