How do i make a minimap system

Hello there. Me and my friend are currently working on a roblox game about ships. I am inspired by games such as Dynamic ship simulator 3 and destroy the ship. The problem is that i am trying to make a navigation system. The problem with it is that i cant find a way to make an effective map system. I tried many ways on how it could work:

First time i tried was using the Viewport frame. I mean i WILL need it if i wanna make a minimap. The idea is to take the map folder clone it and put it inside the World Model which is inside the Viewport frame. However the problem came to the complexity of the map. The map is so large it has 90k parts and overall performance is reduced significantly. Here take a look


What you are seeing here is my performance getting FRIED after i spawn my ship and the minimap loads and i experience a lag that lasts about few seconds

image_2025-12-21_164436859
After the minimap loads the lag is gone but not fully

image_2025-12-21_164544585
And when i leave the ship which hides the minimap the fps counter normalizes

Second what i am currently trying is using like a pre screenshot of the entire map and finding a way to sync the player’s position and only show a slice of the screenshot.

If anyone has an idea of how this could have been done without obliterating my performance it would be amazing!

How big is the map and how much detail does the player need to see?

Games like minecraft take some big chunks and important features on the map to place onto the minimap. They forget the fine details but the player doesn’t need to see them

It has buildings, seabed ect. The terrain is with triangles and the map is like HUGE. I am questioning how dynamic ship simulator managed to make the map be an image. Seriously.

Can we see a snippet of your map and also the code included, specifically how parts are transferred from the map to the Viewport?

i cant right now but i will say. It clones the folder which has 90k parts and puts it inside a Worldmodel which is inside the viewport frame

One method for creating a map is to use an image as its base layer. This base layer shows the general terrain or otherwise non-dynamic features of the world and is usually prebaked (although sometimes can be dynamically generated/updated at runtime). I’m guessing Dynamic Ship Simulator 3 is using a technique like this.

how do i do that. I am actually trying to inspire it off dss3 map

Two main approaches:

  • Create the 2D map first, then generate the 3D map.
  • Create the 3D map first, then generate the 2D map.

If you start with the 2D map first, you can create the asset in some paint-like program (or even a dedicated map generator), upload it to Roblox as an image, then build the 3D map using the 2D map as a guideline (imagine making a temporary baseplate part with a Decal so you can see where features of the 2D map line up in the 3D world).

If you start with the 3D map first, you’ll have to generate some intermediate representation of the 3D map data so that a program or plugin can generate the 2D image matching it. I’ve never done this myself, so I’m not sure if there’s plugins already out there. RoRender seems like it might be worth looking into.

oh boy i already tried ro render the map is so gigantic it crashed my studio

Another tactic you could use is creating another camera and setting it like 500 studs above the player and that could be your mini-map too! If you are interested or have any questions let me know.

ur saying there is a way to use just the camera from above? explain me more

There’s a couple videos regarding the topic, but if I remember correctly this is also the same tactic that the game jailbreak does for their mini-map.

As i mentioned. I tried with viewport frames but the problem is that it has 90k parts.

I found a solution. this gave me an idea for render distance for the minimap and everything is now working better. Thanks!