playMaker

Author Topic: UniTile Actions (2D drawing)  (Read 5846 times)

amaranth

  • Full Member
  • ***
  • Posts: 172
UniTile Actions (2D drawing)
« 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


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.


« Last Edit: June 12, 2012, 05:06:41 PM by amaranth »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UniTile Actions (2D drawing for Terraria-like game)
« Reply #1 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

amaranth

  • Full Member
  • ***
  • Posts: 172
Re: UniTile Actions (2D drawing for Terraria-like game)
« Reply #2 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. :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UniTile Actions (2D drawing for Terraria-like game)
« Reply #3 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

amaranth

  • Full Member
  • ***
  • Posts: 172
Re: UniTile Actions (2D drawing for Terraria-like game)
« Reply #4 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. :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UniTile Actions (2D drawing for Terraria-like game)
« Reply #5 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

amaranth

  • Full Member
  • ***
  • Posts: 172
Re: UniTile Actions (2D drawing)
« Reply #6 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.