Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO 3.0] Simple map drawing optimalization


Qazek
 Share

Recommended Posts

Sorry for english

This 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 Side

Find:

```

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...