Question: Are Animated Tiles Possible?


If you are interested in helping with tiles, vaults, patches or documentation, this is the place for that.

User avatar

Halls Hopper

Posts: 85

Joined: Friday, 22nd March 2019, 16:06

Location: Right behind you

Post Tuesday, 26th March 2019, 14:50

Question: Are Animated Tiles Possible?

Pretty simple question, so I don't think I really need to explain. Things like idle animations would be nice, but mainly I'm asking for things like Makhleb's altar. Would it be possible in crawl to create a tile that is animated?
Relatively new to Crawl, and willing to help development in any way I can.

Lair Larrikin

Posts: 27

Joined: Saturday, 15th September 2018, 16:54

Post Tuesday, 26th March 2019, 15:20

Re: Question: Are Animated Tiles Possible?

Not sure what you mean? They already are animated... many altars (Xom, Makhleb, Jiyva...), wizlab portals, etc... check out the feat.png file in tiles folder of the offline distribution, the frames are there. These rc options control the animations:

  Code:
tile_water_anim = true
        If disabled, animation of liquids will be suppressed.
        Defaults to false on WebTiles.

tile_misc_anim = true
        If disabled, animation of miscellaneous things such as altars and
        torches will be suppressed.

tile_realtime_anim = false
        If enabled, tile animations will run in real time and will not be tied
        to player actions.
        This option is only available on WebTiles.
User avatar

Halls Hopper

Posts: 85

Joined: Friday, 22nd March 2019, 16:06

Location: Right behind you

Post Tuesday, 26th March 2019, 15:50

Re: Question: Are Animated Tiles Possible?

Goratrix wrote:Not sure what you mean? They already are animated... many altars (Xom, Makhleb, Jiyva...), wizlab portals, etc... check out the feat.png file in tiles folder of the offline distribution, the frames are there. These rc options control the animations:

  Code:
tile_water_anim = true
        If disabled, animation of liquids will be suppressed.
        Defaults to false on WebTiles.

tile_misc_anim = true
        If disabled, animation of miscellaneous things such as altars and
        torches will be suppressed.

tile_realtime_anim = false
        If enabled, tile animations will run in real time and will not be tied
        to player actions.
        This option is only available on WebTiles.


...I'm smart.
Thank you, though.
Relatively new to Crawl, and willing to help development in any way I can.

Lair Larrikin

Posts: 27

Joined: Saturday, 15th September 2018, 16:54

Post Tuesday, 26th March 2019, 16:16

Re: Question: Are Animated Tiles Possible?

Well, really not sure now. Anyway, it's static frame based animation, so if you are asking about player / monster tile animation, that would require preparing every frame (which is obviously impossible for player tiles composed of many dynamic elements).

Return to Contributions

Who is online

Users browsing this forum: No registered users and 8 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.