# Allowing sprites bigger than one tile

**URL:** <https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067>\
**Category:** The Lab\
**Created:** [December 12, 2015, 10:53am UTC](https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067 "2015-12-12T10:53:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparr](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sparr/32/1188_2.png) [@sparr](https://discourse.cataclysmdda.org/u/sparr)\
**Post date:** [December 12, 2015, 10:53am UTC](https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067/1 "2015-12-12T10:53:43Z")

</div>

This patch allows tileset authors to define one or more of their sprite sheets has having larger (or smaller!) sprites than the tile size. For each sprite file an x/y offset can be given from the normal tile placement. Also included is a test tileset which is a clone of RetroDays10px with the fire sprites replaced with a 16x16 sprite with a -3,-6 offset (bottom aligned, horizontally centered on the 10x10 grid).

I’d like some feedback from tileset authors on functionality and usability here. I’ll remove the retrodays test tileset once there’s a real updated tileset to push here (probably from @Chezzo).

> <https://github.com/CleverRaven/Cataclysm-DDA/pull/14397>

 ![](http://i.imgur.com/PaOxdF6.png)

---

<div class="post-metadata">

**Author:** ![sparr](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sparr/32/1188_2.png) [@sparr](https://discourse.cataclysmdda.org/u/sparr)\
**Post date:** [December 12, 2015, 10:54am UTC](https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067/2 "2015-12-12T10:54:23Z")

</div>

NOTE: this is not meant for huge sprites. No ten-tile hulks. This is meant for things that spill outside their tile border by a few pixels.

---

<div class="post-metadata">

**Author:** ![123nick](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/123nick/32/13320_2.png) [@123nick](https://discourse.cataclysmdda.org/u/123nick)\
**Post date:** [December 28, 2015, 4:10am UTC](https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067/3 "2015-12-28T04:10:09Z")

</div>

> [@sparr](#):
>
> NOTE: this is not meant for huge sprites. No ten-tile hulks. This is meant for things that spill outside their tile border by a few pixels.

what happens if you try to make a ten-tile hulk?

---

<div class="post-metadata">

**Author:** ![sparr](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sparr/32/1188_2.png) [@sparr](https://discourse.cataclysmdda.org/u/sparr)\
**Post date:** [January 16, 2016, 12:44am UTC](https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067/4 "2016-01-16T00:44:21Z")

</div>

A ten tile hulk sprite would make it hard to tell which tile the hulk is on, to attack or avoid. And it would simply draw over/under a bunch of other stuff with no gameplay impact.

---

<div class="post-metadata">

**Author:** ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)\
**Post date:** [January 16, 2016, 1:00am UTC](https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067/5 "2016-01-16T01:00:22Z")

</div>

Presumablyan actual multi-tile hulk would be able to attack with its arms, and possible legs/whole body slam.

A graphically-enhanced hulk tht occupied one tile would be at the center. Not hard to differentiate, honestly.

---

<div class="post-metadata">

**Author:** ![DragonDePlatino](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dragondeplatino/32/527_2.png) [@DragonDePlatino](https://discourse.cataclysmdda.org/u/DragonDePlatino)\
**Post date:** [January 20, 2016, 1:15am UTC](https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067/6 "2016-01-20T01:15:09Z")

</div>

Hey! I just joined the forums to say that this is an immensely useful tool for artists. I’m currently working on a [tileset](https://www.reddit.com/r/roguelikedev/comments/4058ql/wip_creative_commons_roguelike_tileset/) with a 32x32 grid / 32x64 tiles and this is exactly what I need. If I ever finish my tileset and expand it with some modern/sci-fi graphics, I’ll definitely be making use of this. Keep up the good work!

---

<div class="post-metadata">

**Author:** ![sparr](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sparr/32/1188_2.png) [@sparr](https://discourse.cataclysmdda.org/u/sparr)\
**Post date:** [January 20, 2016, 6:30pm UTC](https://discourse.cataclysmdda.org/t/allowing-sprites-bigger-than-one-tile/11067/7 "2016-01-20T18:30:29Z")

</div>

Zelda-perspective tilesets have been something I wanted to enable ever since starting work on isometric mode. I look forward to seeing yours in game.
