smooth/glued/sticky/solid tile editor

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • This should be rather interesting: Please login to see this attachment.

    I don't know if anyone have attempted to do something similar.
    It's meant for a world editor, and instead of placing each kind of tile separately, it calculates how each tile should look in relation to each other to make a solid non-blocky construction.

    What i could really use some help with, is to make it work as an instant loop. Currently the process to create the right tiles only works frame by frame, but when i try a regular loop or foreach object, it fails miserably.

    So anyway, please have a look, it's quite fun. The code is not commented and probably makes little sense, but i challenge you to make it work instantly ;) or if you have any ideas, don't be afraid to share.

    screenshot: Please login to see this attachment.

    Please login to see this link. =)

  • The best way to do this is with bitmasks. You need access to an array that contains all your tile data, then you can set a value on each of your tiles to:

    tile = tileRight * 1 + TileUp * 2 + TileLeft * 4 + TileDown * 8

    where tileRight (and the others) are either 0 or 1 depending on whether or not there is an adjacent tile. This will give you a unique number for all possible combinations. A tile with neighbours below and above would be 8+2 = 10. You then just need to order your tiles in animation in accordance to this value, so image 0 has no borders, image 1 is only bordered on the right, image two only on the top, image 3 on top and right, and so on.

    For a list of my achievements, hit up Please login to see this link..com/
    Unless you want to party, then go to Please login to see this link.

  • Arg, so many events for kind of effects!
    Thanks for sure, but Clickteam should improved the need of events for the future MMF3 ^^

    Small EDIT: I found an another SmartTile render method (I'm not the author! The author is MuddyMole):
    Please login to see this link.

    Less code but interesting too as yours ;)

    Hey I'm French, Hi!

    MMF2 SoundScape Engine (Moteur d'environnement) :
    FR: Please login to see this link.
    EN: Please login to see this link.

    May the .NET be with you (Star Wars .NET©)

    Edited 2 times, last by BackStaged (June 14, 2013 at 1:37 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!