The title says it all..
Get it at phizix.tk
Printable View
The title says it all..
Get it at phizix.tk
Excellent! I like the fact that it can blit the AO's Graphic.
Maybe this is not important, but collisions don't work. It may not be a common need, but I wanted to have the AO's stay out from under the Minimap and bounce off of it in the example.
Anyway, this is great version and rather useful.
It can't blit the AO's graphics ;P
I just told it to blit shapes that represented the AO's
Collisions work.. but in the example they are in different layers.
Oh, I see ;) Didn't notice those two.
Well, shapes is good. I think the old Minimap just did squares at various sizes.
:)
Very good. :)
This is looking fantastic - I'd been thinking of adding a minimap to my ongoing project, and this looks like it can handle everything I need pretty much instantly.
It could be nice to be able to resize the minimap in runtime and drawing some simple shapes (like line, rectangle and circles) in real coordinates or minimap coordinates. :)
Very good object.
PS: And maybe to be able to rotate it (but it's probably a bit too difficult for nothing...) :)
Wow, this is pretty good!
Working on it :)Quote:
Originally Posted by Sphax
Second Beta Released
Changes
* Added drawing of basic shapes (in global and minimap coordinates)
* Can now be Resized at runtime
* Fixed Scrolling Issue (Thanks LIJI)
* Changed name to "mini_map.mfx" to avoid conflicts with the old object.
Get it here!
It should really be realeased from Beta now. its really cool! :cool:
Good Work Daniel :D
Thanks ^^
Is mini_map.mfx is incompatible with minimap.mfx ? Why do you have changed the name ?
Adding actions or other things don't break the compatibility if they are still ordered in the same way as before. ;)
Thanks a lot for the new features. :)
It should be compatible..
I changed the name to avoid conflicts with the old mmf1.5 object.. Since it had the same name, an application made in 1.5 using the old minimap could crash as it tries to load...
:)
NVM
Anyone found any issues?
I have found 1 which has been fixed for release.
Also added a few more shapes for the Object blitting action. :)
Very nice.
I'm not a fan of nag-message boxes, since it slows down development, but if you insist.
What would make this perfect is if it could be set to be Semi-Transparent.
I'm happy as-is though. Just get rid of that annoying message box! :P
awesome, thanks so much for this one, I was coding my minimap so far, but now I just can through over the code and use the extension for that :)
Yeah, this also helps to use less objects in your frame.
20,000 max objects is a bit stingy, if you ask me. :P
... I mean, you can work around it, but still. Just lift that. If it gets really slow for us after 20k, it's our problem.
I'll try to add Ink effects :)
How about loading a picture to the background?
hmm.. I'll consider it :)
EDIT: It would be faster to just put it in a lyer above everything else and then put a backdrop behind it...
A nice addition would also be flashing.
something like: flash at (XY) size (Z) with color (RGB) (0-10) Times
For what?... This is a minimap :P
Anyways.. added Ink Effects!
EDIT: Oh you meant like a flash on the minimap.. like in WC3?
Yes, your units are under attack and you see them flashing on the minimap.
I'll add a flash at XY.. A flash object action could be a bit more tricky (since it could be many of them :\...
I'll give it a shot!
great :)
A question though .. How do you make the background transparent so that I can put a picture behinde the object? If I set the background to 0 it turns out to be black and so I was not able to see the picture behind it?
I know.. Fixed for next beta :)
You could solve it by having a condition, `is XY visible on minimap?` (for scrolling minimaps, don't know if yours can scroll, haven't used it) and an expression `get XY on map of XY position` and then make an active flashing object that way, then you can have different kinds of flashes and not everygame would have the same, and it would be easier to code ;)Quote:
Originally Posted by DanielRehn
Sure.. you could.. but then I don't really have to code anything ;)
I'll make a basic flash function that can take an XY or an object..
I'll also add the suggested action... How would the condition work? o.0
EDIT: Note that the flashes only updates when Clear is called!
Added the flash for objects and positions... also added coordinate conversion expressions..
A nice addition should be to have an action like the current "blit" one but with another parameter to consider the visibility of the object (it don't plot the object if this one is invisible) (useful to plot only the enemies which are visible). :)
MMF's object picking system should fix that!
It should only blit the picked objects!
Yes, you are right. sorry :)
That's a very good object.
:)
awesome, thanks for the update :)
one thing that would be REALY cool is these features:
Scanner effect: As if it where a sonar from a sub.
Range effect: Where you only show object in a X range from a position.
That would really ADD to this object. Currently all can be achiefed without the object. Having such effect build in really empowers both the extension and MMF games.
Sure, for the second full release version, why not. For now, it's time to get rid of the nag screen. ;p
I have considered making an option for choosing minimap or radar.. the minimap also becomes circular in shape...
If it's a quick fix, I'll add it before releasing.. :)