Comments (6)
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.
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.
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.
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.
That works perfectly Stefan. Thank you so much! You rock! I've sent over the paypal payment.
Bryan Livingston
from tiled.
@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)
- Idea: To export Objects Only JSON file HOT 2
- Add a Selected Tile Preview to "Shape Fill Tool", just like the "Stamp Brush" has HOT 6
- tmxrasterizer's --hide-layer doesn't work with group layers HOT 1
- Scripting: Access Terrain Properties
- Issues compiling in Windows (newbie) HOT 3
- Automapping stops working when a project's rules.txt is modified during runtime. HOT 3
- "Blob Tileset" points to a broken link HOT 2
- Add map.fileName in tiled.registerMapFormat -> write HOT 2
- Unable to open a tmx file with a space in the filename using AppImage with the shell HOT 2
- Error with `libtiled` in Java 21: `java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException` HOT 1
- Any AI generated plugin? HOT 1
- Tile Animation Editor may not show additional tiles if source image resized
- World Map chunks getting loaded twice. HOT 4
- Scripting: Signal for brush changing
- Layer Blend Mode Property HOT 2
- Switch keyboard shortcuts for "Save As" and "Save All" HOT 3
- Custom Type Search/Filter HOT 2
- Patterned document background option
- AppStream metadata screenshots are missing a caption
- tileset not displaying HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiled.