GithubHelp home page GithubHelp logo

Comments (6)

Bryan-Legend avatar Bryan-Legend commented on May 5, 2024

FYI, I'm using this for a silverlight game that's available at http://smote.com Give it a shot.

I'd really like to see this happen so I'll put a bounty on it. I'll paypal $50 to whoever implements the fix and sends me a build before 9/30/2011.

from tiled.

stefanbeller avatar stefanbeller commented on May 5, 2024

Hello Lone-Coder,

When I understand you right, the problem is this rule http://dl.dropbox.com/u/6520164/tiled/problematic_rule.png

If you are not interested to have it repeated exactly like A-B-A-B-A-B and so on, but in a random fashion,
(example: A-A-B-A-B-B-A-B-B-B-B-A-A-B-A ... just randomly)
this ruleset will apply: http://dl.dropbox.com/u/6520164/tiled/InternalExample.zip
The random placement can be archieved by putting multiple layers for one destination layer.
Changes were only done in ruleSet1.tmx: there is now another rule1_Wall layer which has different tiles
for that given rule in that layer.

If you need to have it exact A-B-A-B (which is indeed a serious cool and needed feature), I'll give it a try on the weekend.

from tiled.

stefanbeller avatar stefanbeller commented on May 5, 2024

So the solution as of now is this:
Whenever a rule gets applied, it is previously checked if within all touched layers, this rule was not applied to the same (=overlapping) location.

Unfortunately this solution takes a lot of CPU time, so it is switched off by default.
(only needed rules should be switched on then;) This can be done by adding the property "NoOverlayingRules" set to true
to the specific map.

from tiled.

stefanbeller avatar stefanbeller commented on May 5, 2024

Here is a Windows build for tiled,
which includes a functionality to make double wide rules
in automapping possible:
http://dl.dropbox.com/u/6520164/tiled/tiled-0.7.x_lonecoder-win32-setup.exe
This build is off my current Automapping branch,
(https://github.com/stefanbeller/tiled/commits/AutomappingLoneCoder)

from tiled.

Bryan-Legend avatar Bryan-Legend commented on May 5, 2024

That works perfectly Stefan. Thank you so much! You rock! I've sent over the paypal payment.

Bryan Livingston

from tiled.

stefanbeller avatar stefanbeller commented on May 5, 2024

@lone-coder:
This feature has been merged into the official tiled version by @bjorn.
Now you can either wait for a regular release or check out the daily builds found here:
http://files.mapeditor.org/daily/

from tiled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.