![]() |
Tiles blocking
I have an array of tiles x,y and want them to block and not block in code. Is there something as simple as array.block()? Ive tried .block, .blocklocal, and .blockagain, but none worked.
|
I don't think there is anything like that possible with default.
|
Nope... :{
Just move the tile to a blocking tile inside the pics1.png and re-name your image (not re-name to pics1.png...) sorry |
Quote:
|
Quote:
|
not really lag... lol are you doing it for cliffs and cave enterence?
|
ran out of room on the tileset, so some cliffing that is by the water doesnt block, and it shouldnt per the tileset, but we can't move it, and we need it to block.
|
hmmm
just do in a script HTML Code:
function onCreated() {HTML Code:
function onCreated() { |
Thanks. ^^
|
If it's just for looks, you can get the same effect using tile layers.
|
Quote:
|
Quote:
I think tile layers are also manipulable by script as well if that approach is desired. |
You can also counter this problem differently. If you have a wide range of tiles (you said you ran out of blocking tiles, so I guess you do) you could just lay the needed tiles over some already existing blocking tiles using addtiledef2(). For example, if you have some special mountain tiles, but there are no mountains near those watery cliffs, just use addtiledef2() in the levels where those watery cliffs are.
|
oo good idea @ Crow
|
Quote:
|
| All times are GMT +2. The time now is 07:08 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.