Author Topic: [done] Dragging minimap screen  (Read 1292 times)

D.U.P.A.

  • Guest
[done] Dragging minimap screen
« on: 9 July 2012, 01:00:45 »
I'm quite used to most RTS where when you move your mouse while left button pressed, current camera position on minimap is moving too. Thats what this game is lacking. It's a small detail, but it could help a lot.
« Last Edit: 13 July 2012, 02:03:59 by softcoder »

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Re: Dragging minimap screen
« Reply #1 on: 11 July 2012, 12:58:01 »
I think it would be a nice feature, but from what i have heard in the past it's not implemented because it would cause lag, maybe there is someone more informed than me that know something more about it? :)
I translated Megaglest in italian and i keep the translation updated.

D.U.P.A.

  • Guest
Re: Dragging minimap screen
« Reply #2 on: 11 July 2012, 18:41:30 »
Lag just by implementing it, or when using it?

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Dragging minimap screen
« Reply #3 on: 11 July 2012, 18:49:38 »
Dont you mean dragging the mouse while holding left mouse down, the camera moves with the mouse?.

but i do think we need a camera move speed setting too.
WiP Game developer.
I do danish translations.
"i break stuff"

D.U.P.A.

  • Guest
Re: Dragging minimap screen
« Reply #4 on: 11 July 2012, 18:54:48 »
Yes, when you pressed the left button while cursor at minimap. I don't think it has anything about speed, just checking the cursor position several times in a second if still in minimap area, setting game camera respective to the location of cursor on minimap. It doesn't need to be smooth, just quick.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Dragging minimap screen
« Reply #5 on: 11 July 2012, 18:59:02 »
Oh, i tought you mean't camera in general, im more interest in better camera scrool options tbh.
WiP Game developer.
I do danish translations.
"i break stuff"

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Re: Dragging minimap screen
« Reply #6 on: 12 July 2012, 00:51:41 »
I think the lag would appear when you use this function (dragging the minimap on the screen), i am not  a developer but i heard it would have caused lag, so it wasn't implemented.
I translated Megaglest in italian and i keep the translation updated.

D.U.P.A.

  • Guest
Re: Dragging minimap screen
« Reply #7 on: 12 July 2012, 11:46:08 »
I don't see how it would cause lag, especially if checking the cursor maybe only 2 times in a second.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Dragging minimap screen
« Reply #8 on: 13 July 2012, 02:03:49 »
Added in svn, left mouse click and drag in the minimap will move the camera

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Re: [done] Dragging minimap screen
« Reply #9 on: 13 July 2012, 11:22:29 »
Thanks softcoder :)
I translated Megaglest in italian and i keep the translation updated.

 

anything