Author Topic: Glowing Tilemap???  (Read 4559 times)

MrJanCraft

  • Posts: 11
  • Creator of The Castle of Hell 0.5
    • View Profile
Glowing Tilemap???
« 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!

rpc190

  • Posts: 44
  • Map Maker
    • View Profile
Re: Glowing Tilemap???
« Reply #1 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>

MrJanCraft

  • Posts: 11
  • Creator of The Castle of Hell 0.5
    • View Profile
Re: Glowing Tilemap???
« Reply #2 on: September 30, 2014, 05:06:12 PM »
Thank you ;)

BaMheeMooDang

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Re: Glowing Tilemap???
« Reply #3 on: October 14, 2014, 06:18:17 AM »
This was pretty great.  Too bad about them throws .