![]() |
tiles[ x, y, w, h]
I know about getting the tile of a certain location with tiles[ x, y], but is there a way to return an array of them, making my own tileset and I cant find any documentation on this. Basically replicating onwall2 but with other tiles which might not be block on the default tiletype 0,1.
|
Quote:
|
Yea that's what I'm doing just was hoping there was a more efficient way. Do you know a better way than this
PHP Code:
|
thats so wrong?
HTML Code:
function getTilesArea(x, y, w, h) { |
Looks fine to me, not sure why you're using temp.block though.
PHP Code:
|
All times are GMT +2. The time now is 12:52 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.