Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: MrJanCraft on September 28, 2014, 11:25:12 AM

Title: Glowing Tilemap???
Post by: MrJanCraft on September 28, 2014, 11:25:12 AM
Is it Possible to make a Glowing Tilemap because i made Lava and i will that the Lava glows:

I posted a Screenshot of the Lava.

Hope on Fast Awnsers!
Title: Re: Glowing Tilemap???
Post by: rpc190 on September 29, 2014, 07:59:44 PM
It looks like you've made a custom tilemap there judging by the picture. If you want it to glow you will have to copy the image on your tilemap 3-5 times and change the brightness/contrast/etc. on each one in sequence then change your tilemap code from:

<frame>0 0 0 0</frame>
to
<frame time="200">0 0 0 0</frame>

copy that 3-5 times then change the coordinates based on however you set up your image. Here is some example code:

Code: [Select]
<tileset level="-300">
<sprite scale="16">
<texture>tilemaps/waterset2.png</texture>
<frame time="200">0 0 64 64</frame>
<frame time="200">64 0 64 64</frame>
<frame time="200">0 64 64 64</frame>
<frame time="200">64 64 64 64</frame>
</sprite>
</tileset>
Title: Re: Glowing Tilemap???
Post by: MrJanCraft on September 30, 2014, 05:06:12 PM
Thank you ;)
Title: Re: Glowing Tilemap???
Post by: BaMheeMooDang on October 14, 2014, 06:18:17 AM
This was pretty great.  Too bad about them throws .