Minimap that deals with scrolling

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi, I can't find any tutorials or any helpful information that teaches or shows how to make a simple minimap that displays objects on the Frame Width and Height. Afterall, a minimap that deals with Virtual Width and Height are extremely easy to do (and there's only tutorials that show how to do them), but sadly its not what i'm looking for, since I'm searching for a minimap that correctly displays the player's position (such as at the center of the minimap when the player's position isn't near the corners of the frame, and then at the corner of the minimap when the player reaches a corner of the frame), while at the same time showing objects that are only visible in the screen.

    I'm well aware this is rather difficult to do, but I'd really appreciate an easy example or a tutorial on how to be able to do this.

  • Does the Minimap 2 Object not work for you?

    Surface object would technically suffice: scale down the image of the map, and display it behind a red dot active. Only time you'd have to move the red dot is near edge of frame, it'd be center the rest of the time, with the map scrolling behind it.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Does the Minimap 2 Object not work for you?

    If only it was free like it was before, I definetly would've tried it. But sadly I don't have enough avaiable money to spend on it. :(

    Surface object would technically suffice: scale down the image of the map, and display it behind a red dot active. Only time you'd have to move the red dot is near edge of frame, it'd be center the rest of the time, with the map scrolling behind it.

    I have never used that object before (and didn't know it could do this effect), hopefully there are some tutorials on it on the internet (or else i'd have to play around with it to see how it works).

    try this i think i is what you want

    This is literally perfect dude, thank you so much!

  • Is you game turn-based or real time?

    **EDIT**

    it's way less taxing in a turn based game to create a minimap. What I do is offset a calculation area by player cell position, then on each turn destroy the minimap and recreate it, using the new positions. I also use an object with a distance calculation to set all values to a null value outside a circle to achieve a circular shape.

  • This may help (Copied straight from a post I made on Gamejolt):

    First Example: Scrolling Minimap 🗺️

    A scrolling map example originally created to help a user with a specific problem. The main goal is to ensure compatibility with various runtimes without relying on subapps.

    This is achieved by using the crop shader on map objects and carefully manipulating it on runtime

    Features:

    • No usage of Subapps or other 3rd-party extensions
    • Supports multiple runtimes (except ones who don't support shaders)
    • Handles the delay of positioning layers on Windows and Android
    • Mouse scrolling code stolen from SolarB used to demonstrate map scrolling
    • Uses assets bundled with the engine :P

    Notes:

    • This is not a widget
    • Requires the crop shader. If you don't have it, you can find it on Please login to see this link.
    • Map objects exist on the "Map" Layer, with the "Perspective" Qualifier assigned to them (Not to confuse it with the Perspective object, those are are tw completely different things) and "Crop" shader applied

    Links: Please login to see this attachment.

    Please login to see this picture.


    Second Example: Minimap 📍

    A Simple Minimap with rotation support (can be moved at any time), Minimap icons are dynamically made from the ".mini" objects, easy to integrate into projects

    Instructions:

    "1" to spawn a square under the mouse

    "2" to spawn a circle under the mouse

    "3" to spawn a triangle under the mouse

    "Q" to remove 3 random shapes

    "LMB" to drag the Minimap

    Links:

    • Please login to see this attachment.
    • Please login to see this attachment.

    Please login to see this picture.

    Game/App developer, artist and a community contributor.
    You can support my work on: Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!