Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: amaranth on May 16, 2012, 07:48:40 PM

Title: UniTile Actions (2D drawing)
Post by: amaranth on May 16, 2012, 07:48:40 PM
Get UniTile here:
http://forum.unity3d.com/threads/72934-UniTile-2d-Tile-based-Map-Editor-within-Unity (http://forum.unity3d.com/threads/72934-UniTile-2d-Tile-based-Map-Editor-within-Unity)
(http://forum.unity3d.com/customavatars/avatar6979_2.gif)

If you are creating a 2D tile-based game and you want to let the player "draw" the world while they are playing your game, these actions are a decent thing to have.

Note: While these actions will re-draw tiles, they don't refresh box colliders. You'll need to figure out how to do this some other way.

UnitileGetMouse: Get the coordinates of the mouse and convert to UniTile coordinates.
UnitileSetTile: Paint a tile.
UnitileGetTileInfo: Get information about a tile.
UnitileGetTileProperty: Get the property of a tile.
UnitileGetBoxCollider: Get information about a box collider attached to a tile.


Title: Re: UniTile Actions (2D drawing for Terraria-like game)
Post by: jeanfabre on June 07, 2012, 02:02:48 AM
Hi,

 Would you like a dedicated page on a user wiki for that?

https://hutonggames.fogbugz.com/default.asp?W547

bye,

Jean
Title: Re: UniTile Actions (2D drawing for Terraria-like game)
Post by: amaranth on June 07, 2012, 01:51:21 PM
As long as I don't have to maintain it. I've moved onto another tool. I'll have actions for it soon. :)
Title: Re: UniTile Actions (2D drawing for Terraria-like game)
Post by: jeanfabre on June 07, 2012, 03:51:46 PM
Hi,

 no maintenance or any commitment whatsoever si required, I think it woul djust be easier for users to have it referenced all in one place.

 Can't wait to see what you are coming up with :)

 bye,

 Jean
Title: Re: UniTile Actions (2D drawing for Terraria-like game)
Post by: amaranth on June 07, 2012, 05:41:22 PM
I can't wait to share more about the game I'm working on. When it goes into beta, I'll be chatting up a storm. :)
Title: Re: UniTile Actions (2D drawing for Terraria-like game)
Post by: jeanfabre on June 08, 2012, 06:35:08 AM
Nice!

 I am having a very frustrating time with one of my project, it's such a huge source of playmaker goodness, and I am tighten to a strict nda, so I can't share anything but just the custom actions I made... a pity, it has a lot of very interesting patterns and great functionalities.... oh well, can't wait to see what you've done!

 bye,

 Jean
Title: Re: UniTile Actions (2D drawing)
Post by: amaranth on June 10, 2012, 12:26:02 AM
Hopefully after the project is done? Maybe you can turn some of them into generics that aren't tied to any one project? Your actions have been incredibly helpful. I often find that you've created something a few days/weeks before I needed it. It's awesome.