Aurelijus1 Posted October 19, 2015 Author Share Posted October 19, 2015 Maybe anyone have autotiles system tutorial ? I tryed copy it from other engine now i'am getting this error Method or Member Data Not Found on this line:```Public Sub CalculateAutotile(ByVal x As Long, ByVal y As Long, ByVal layerNum As Long) ' Right, so we've split the tile block in to an easy to remember ' collection of letters. We now need to do the calculations to find ' out which little lettered block needs to be rendered. We do this ' by reading the surrounding tiles to check for matches. ' First we check to make sure an autotile situation is actually there. ' Then we calculate exactly which situation has arisen. ' The situations are "inner", "outer", "horizontal", "vertical" and "fill". ' Exit out if we don't have an auatotile If map.Tile(x, y).Autotile(layerNum) = 0 Then Exit Sub``` Link to comment Share on other sites More sharing options...
Joyce Posted October 19, 2015 Share Posted October 19, 2015 May want to look at ModTypes, TileRec.There's no complete and functional tutorial for this I'm afraid. There was one, but it was broken and never finished properly. Link to comment Share on other sites More sharing options...
Aurelijus1 Posted October 19, 2015 Author Share Posted October 19, 2015 thanks :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now