About Store Forum Documentation Contact



Post Reply 
Minimap/WorldMap
Author Message
laugan Offline
Member

Post: #1
Minimap/WorldMap
Hello!

I have several questions about minimap and map of rhe whole world.

as i understand from the tutorials, we create a lot of small images (Image class) and so we can see the map.

so, first about minimap:
--how can i put these images inside Window class (as it can contain only GuiImage class)?

then about map of the world:
--it is taken (it's image) from rendered minimap of the world (from editor), but if i need to make some edit to map (for example, write the names of cities)? If i edit .GFX files, it will affect minimap too.
07-23-2012 05:30 PM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #2
RE: Minimap/WorldMap
oooh, minimap solved smile

so first question is no longer needed to be answered
07-23-2012 07:18 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Minimap/WorldMap
Yes you can modify the gfx files, but I recommend using D.text on top of the mini map view
07-24-2012 03:15 PM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #4
RE: Minimap/WorldMap
Thanks for the reply Esenthel, but i meant world map in my second quesion. I mean big and beautiful map with names of areas, cities etc.
So i have 2 maps: minimap and world map. If i edit rendered minimap, both maps are affected by it.
07-24-2012 03:28 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Minimap/WorldMap
you can just copy the original GFX files to some secondary folder
if you want to still be able to use the mini map class , then you can copy the
world folder to
"world-mini map only.world" (and delete edit/game folder but just keep the minimap folder inside with edited GFX files)
07-24-2012 03:34 PM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #6
RE: Minimap/WorldMap
got it, thanks!!
07-24-2012 04:00 PM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #7
RE: Minimap/WorldMap
no(((( minuimap not solved, need help!

as you can see from sreenshot, any window cover map window (with background image, right up is map window), but not cover minimap images...((


[Image: map.png]
07-24-2012 05:06 PM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #8
RE: Minimap/WorldMap
as i understand "draw" function draws an image in top of everything, but can i make it draw in certain window?
07-29-2012 07:02 PM
Find all posts by this user Quote this message in a reply
Dwight Offline
Member

Post: #9
RE: Minimap/WorldMap
What is drawn on top of eachother depends on when it is called. For example:

D.text("ladidaa")
image.draw("/ladidaaa2img.jpg")

Assuming these are drawn on the same location, the text won't actually show, since image.draw is called AFTER the text was drawn. The same thing is happening to your minimap and inventory screen smile
07-29-2012 07:22 PM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #10
RE: Minimap/WorldMap
i see, but inventory window is the same window as minimap (not the map itself but the border, you can see it). if i draw image of minimap after GUI, image will be also UNDER minimap window :( so the problem is not in the order of drawing, but in the parent window for image to draw.
07-29-2012 07:35 PM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #11
RE: Minimap/WorldMap
I figured it out!!
lol it was easy smile
08-29-2012 04:58 PM
Find all posts by this user Quote this message in a reply
Post Reply