0 Favourites

Small Minimap Adjustment

This forum is currently in read-only mode.
  • It would be nice to be able to adjust the zoom of the minimap object - so it showed just the immediate surroundings rather than the entire layout.

  • You can plot what ever you want when ever you want.

    For example you could have a detector sprite as large as the area you want mapped, then have an event say:

    object overlaps detector.sprite

    minimap plot object

    Or you could even use the offset.....

  • But the minimap still shows an area the entire size of the level, so that's kind of not very helpful

  • I guess you could use a mask, and adjust the size of the map.

    Then again, if you were to actually zoom the layer, the mask, and map position would get messed up.

  • I suggested this a month or so ago, and one of the Devs (I think it was Rich, without checking) said that they could do with that feature for their game too.

    Don't know if that means they're working on it or not though.

    My top-down driving game uses a huge area of land, and the minimap shows the full layout.

    I think we'd all like to be able to zoom in to just show a couple of streets at a time, like GTA or Saints Row.

    Sponge.

  • I found this with the search tool. I was wondering how to do this very thing. Did anyone discover a way to do it? Will it be added in a future version maybe? Because right now the lack of this leaves minimap much less useful...

  • I used Canvas for one of my projects. Just use a solid sprite for background (semi-transparent for the nice effect), a canvas on top of it and draw whatever you want on it. Hell, you can draw more detail, too.

  • I used Canvas for one of my projects. Just use a solid sprite for background (semi-transparent for the nice effect), a canvas on top of it and draw whatever you want on it. Hell, you can draw more detail, too.

    Now that sounds like a tutorial worth doing.

    I'm sure that a lot of people would find that useful.

    At least until we get an updated minimap.

    Krush.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • > I used Canvas for one of my projects. Just use a solid sprite for background (semi-transparent for the nice effect), a canvas on top of it and draw whatever you want on it. Hell, you can draw more detail, too.

    >

    Now that sounds like a tutorial worth doing.

    I'm sure that a lot of people would find that useful.

    At least until we get an updated minimap.

    Krush.

    Especially because I still don't know how to do it...

  • Now that sounds like a tutorial worth doing.

    I'm sure that a lot of people would find that useful.

    At least until we get an updated minimap.

    Krush.

    I wonder who's the kind soul willing to do such a tutorial...

    Wait... you don't mean me, do you?

  • >

    > Wait... you don't mean me, do you?

    >

    Oh yes!

    Canvas hates me (as we once again found out with the "putting part of a sprite onto canvas" example), so you're definitely the man for the job.

    Krush.

  • Well, here is a very basic example:

    And here is an implementation of canvas in an older project of mine that I abandoned (hmm, strangely enough it now crashes upon exit):

    http://dl.dropbox.com/u/629300/moondust.cap

    (Note that you can zoom in and out with +/-. You may want to take a look at the Demo layout, specifically the Interface sheet, Minimap event group)

    I can't really spare much time for an extensive tutorial, but hopefully you can get an idea from my examples!

  • Same thing can be done without canvas too but yeah its not so cool as canvas but still ^^ Custom minimaps are pretty simple now when PixelRebirth showed to me how it's done

  • Custom minimaps are pretty simple now when PixelRebirth showed to me how it's done

    You know you can't just leave your post hanging like that... now you have to show us how you do it.

  • Mipey, thanks for the example.

    I've had a quick look at it, and I'll be dissecting it this weekend hopefully.

    Yeah sagal,

    Spill the beans!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)