G
Greg5000
Guest
Okay so I've been developing my project for a while now and I basically have a very large map (10000 x 10000 pixels) with two views, one main view focusing on the player and a mini map drawn as a surface on the GUI layer.
My entire background is tiled and what I now want to do is be able to show the tiles differently in each view, with colourful rich tiles in the main view and basic versions of these in the mini map.
What I have tried so far has been storing all tile ids in a 1D array, then I use the view_current along with the tile_set_background to try and set the tileset which the tiles are drawn from as different in each view, however this hasn't worked. So I tried adding all of the tiles twice with the map tiles on a separate layer, I then use the tile_layer_show and tile_layer_hide functions to show the map tiles in the mini map and the main tiles in the main view; this works but is causing a dramatic loss in frame rate.
Can anyone think of a more efficient way of achieving this? I'm basically just trying to get tiles to draw from different backgrounds in different views.
My entire background is tiled and what I now want to do is be able to show the tiles differently in each view, with colourful rich tiles in the main view and basic versions of these in the mini map.
What I have tried so far has been storing all tile ids in a 1D array, then I use the view_current along with the tile_set_background to try and set the tileset which the tiles are drawn from as different in each view, however this hasn't worked. So I tried adding all of the tiles twice with the map tiles on a separate layer, I then use the tile_layer_show and tile_layer_hide functions to show the map tiles in the mini map and the main tiles in the main view; this works but is causing a dramatic loss in frame rate.
Can anyone think of a more efficient way of achieving this? I'm basically just trying to get tiles to draw from different backgrounds in different views.