- : If you use this module, make sure all of the parts, meshs, unions, models and etc… to put them inside a folder or model in workspace
[NEW UPDATE (0.0.2a), CHECK IT OUT VIA CLICKING ON EXAMPLES OR DOCUMENTATION]
Modular Minimap Creator v_0.0.2a
https://www.roblox.com/library/9019427113/Modular-Minimap-Creator
Introduction
Hi!
Today I’ve made a minimap module that creates minimap easier than before.
Example
local ReplicatedStorage = game.ReplicatedStorage
local Modules = ReplicatedStorage.Modules
local Minimap = require(Modules.Minimap)
local Players = game.Players
local Player = Players.LocalPlayer
local MinimapGui = script.Parent
local ViewportFrame = MinimapGui.ViewportFrame
local Example = Minimap.new(
Player, -- Player
ViewportFrame, -- Viewport
"rbxassetid://5485245567", -- ImageId, [YOU CAN CHANGE IT TO LOCATION OF AN IMAGELABEL]
workspace.Map, -- Parent
3500 -- Height (Optional Choice [Customizable]), Default: 3000
)
Example:Render(true) -- You can change "MapRotation" parameter value's to false
Result with RotateMap parameter = true [RECOMMENDED]:
1-
2-
Result with RotateMap parameter = false
Documenation
--[[
1- Minimap.new(Player: Player, Viewport, PlayerArrow, Map, Height)
- Player:
LocalPlayer's Reference
- Viewport:
The Reference of The ViewportFrame (if you don't have it, make sure to create it)
- PlayerArrow:
Reference of ImageLabel (Instance) or ImageId (Asset Id) that will represent the player
in the map.
- Map:
Reference of Map's Folder (Must Be Folder) that contains the parts, meshs, unions,
models and any visible object
- Height:
Reference of the altitude (measuring unit: studs) of the camera that will show the
player the minimap ( Averege height: 3000 studs (y-axis) )
--------------------------------------------------------------------------
2- Minimap:Render(RotateMap)
Renders the minimap and continusly follow the player's rotations and represent it in the
PlayerArrow ImageLabel
* RotateMap (Boolean):
If it's true, then if you rotate or move your player, the map will rotate,
you'll find the example in the devforum's post about this module,
But if it's false, then if you move the player, the map won't rotate or
move, the player arrow will just move.
Last Message:
Thanks For Choosing Minimap, I hope you're happy using this humble module,
my devforum: https://devforum.roblox.com/u/Mezo_Devopoler/summary
roblox profile: https://www.roblox.com/users/1614325207/profile
--]]
Final Annoucement:
That’s all about Minimap Module, Thanks for reading & choosing Modular Minimap Creator, I don’t know if this is going to be useful for the developers or no but i released it for anyone who wants to own this module.
Any Suggestions:
Ask me in the replying section and i might use your suggestion to upgrade and update the module to make it better and better
Enjoy!