Qazek Posted January 9, 2014 Author Share Posted January 9, 2014 Sorry for englishThis simple fix just stop rendering empty map tile slots. It's really helpfull when you using big maps with autotilesets in your game.Only Client SideFind:```DrawMapFringeTile```In this sub under:```For I = MapLayer.Fringe To MapLayer.Fringe2```Put this:```If .Layer(I).Tileset <> 0 Then```And now before:```Next```Put:```End If```Now let's go to the DrawMapTile Sub and do the same things (add the same If) like before.In my game I've got 5-10 more FPS :P Link to comment Share on other sites More sharing options...
PD Posted January 9, 2014 Share Posted January 9, 2014 I'm suprised that this isn't in already. Good work :) Link to comment Share on other sites More sharing options...
hisherwin Posted January 10, 2014 Share Posted January 10, 2014 Good work xD 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