Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: using two views to draw something on map  (Read 2197 times)

0 Members and 1 Guest are viewing this topic.

koyuki

  • Guest
using two views to draw something on map
« on: November 18, 2019, 09:54:57 am »
hello everybody,
could someone explain me the right way to use a second view (the first one is the one that show the portion of map that i need) to show objects whose visibility is toggable?
i mean, i already handled the way i will have to call the visibility of the object (it will be a interaction menù that will be shown once i click on a tile), now i would like to use another view which contains the menù, so that it will be not "compressed" on the tiles, so that the tiles will continue their animation with no problem, and if i want to turn off the visibility of the menù, the map behind the menù will be shown with no problem.
so i am asking you how to create "levels" views, since i will have to create a gui too and i want it to be a anchored view :)

thanks everybody for your advices :D

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: using two views to draw something on map
« Reply #1 on: November 18, 2019, 05:56:43 pm »
Basically:

set the level view
draw the level
set the gui view
draw the gui

You can freely move the level view as needed and never move the gui view so that it is "anchored".

 

anything