MegaGlest Forum

MegaGlest => Feature requests => Topic started by: filux on 1 July 2016, 19:29:39

Title: Some pointer which can by controlled in lua
Post by: filux on 1 July 2016, 19:29:39
I have an idea for some pointer (ala mouse/ghost pointer but) which can by controlled in lua.
This may be very useful in the tutorials and in some scenarios. :)

Some examples in relation to tutorials for what it may be useful:
- e.g. somewhere in the tutorials is a message like "in the top left corner is a mini map" ... what if at the same time you could do something like:
show a pointer in the center of the screen and relatively slow move this pointer to the mini map and then hide/remove it (after some time or after "Ok")? so 2 informations at once text + visual
- e.g. for showing visually a position "move your units there" when e.g. "pointer draws tiny circles in place" so we will be able to easily show for newbies how to "hide archers behind the building" technique
- e.g. for showing visually "click this produce button now" where again "slow movement from the center ..." may be nice

... as I see this pointer should be:
- always visible on top of everything,
- should be controlled in lua,
- should be controlled in relation to the "current screen" so normal/classic X,Y position on the current screen not like everything else "X,Y on the map".
Title: Re: Some pointer which can by controlled in lua
Post by: titi on 20 February 2017, 16:23:01
Will we need a way to fix the camera too, or do we need two things?  One thing marks things map based, the other thing marks things screen based ( to explain the GUI for example )
Title: Re: Some pointer which can by controlled in lua
Post by: filux on 20 February 2017, 19:29:03
Well, for really advanced use we probably need "two things" for example in case if "picture is currently rotated" to some not default angle then "X,Y on the map" may be useful if you wanna show something on the ground ... and destination is not exactly in the center of the screen :).