Hot answers tagged

60

I'd disagree with the accepted answer here. I'd call this an autotile, and not a 9-slice "9-Slice" (or 9-patch) is usually used to refer to a system where the content creator slices the image along 4 lines (not necessarily equally-spaced tiles). When rendering a rectangle, the corner slices are displayed at their native size, and the edges/center are ...


39

A name that will give you actual results in Google is 9-slice. Another way to call it and ask Google about it is 9-patch. As per this chat discussion, 9-pane seems to also be used, but the almighty Google will not show you what you need, unless you're into windows or something. Thanks to Kevin and Josh in chat for that.


1

Basically, a sprite is an image. It can be used in variety of ways in a computer game. A tile, on the other hand, is a bundle of data that might refer to a sprite. A tile probably also contains properties like blocking information (can you walk over this tile?) or path cost information that a sprite itself doesn't need or which don't make sense for it. Or a ...


1

Ok, so I solved this problem using the Clipper library: http://www.angusj.com/delphi/clipper.php The library has an all in one .cs file, so the easiest way to use it in unity, is to just paste this file in your Assets folder. Here is what the collision looks like in my scene view, before and after: It's not 100% perfect, but I think I'll do in most ...


1

You want to patrol between different locations, so you could just create a list of locations to visit in order (so you would have two locations for a move back and forth behavior). Once your actor has visited each location she can start over and return to the first location (or you could visit the locations in reverse order, or stop, or whatever). For ...



Only top voted, non community-wiki answers of a minimum length are eligible