Author Topic: suggestion to improve scrolling  (Read 1529 times)

lee

  • Guest
suggestion to improve scrolling
« on: 28 July 2011, 18:39:38 »
Hi,

I've a suggestion about making it easier to scroll the display to show your units: When there are units grouped with Ctrl-[0-9], pressing a number selects the corresponding group of units. It would be nice if pressing the same number again would automatically scroll the display so that the selected units are in the center. If the selected units aren't close enough together to fit on the display, center the display to the largest subgroup; if there are no subgroups because all the units are far apart from each other, then display the unit that is the furthest away from what is currently displayed.

It would also be nice if there was a key to generally center the display on selected unit(s).  For example, I can have units or a unit on the top left corner of the map selected and scroll the display to the bottom right corner while the unit(s) are/is selected. When I press that key, the display centers on the selected unit(s). The same key could work the same for buildings.

These two keys would make playing a lot easier and speed things up.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: suggestion to improve scrolling
« Reply #1 on: 28 July 2011, 19:35:30 »
This is allready in MegaGlest SVN, and there is alpha out for it somwhere
WiP Game developer.
I do danish translations.
"i break stuff"

lee

  • Guest
Re: suggestion to improve scrolling
« Reply #2 on: 28 July 2011, 19:50:33 »
Cool --- how do you download from svn? I thought I did and found I downloaded archives ...
« Last Edit: 28 July 2011, 22:53:37 by lee »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: suggestion to improve scrolling
« Reply #3 on: 29 July 2011, 03:19:15 »
I haven't a clue about MegaGlest, but GAE (Glest Advanced Engine) can center on units with the spacebar button, numbered or not. If you have just one unit selected, you can press space to go to it. If you have a group, it will try and center in that group. One cool thing about this is if you press and hold the spacebar, the camera will smoothly follow the unit.

As for downloading GAE, you can download either the compiled versions (a bit outdated, since the current version is still in progress, and is a major version): http://sourceforge.net/projects/glestae/

If you want the most recent, though, you'll have to compile GAE yourself (it's not as hard as it sounds, just a lot of stuff to download; how exactly this is done depends on the operating system): http://sourceforge.net/apps/trac/glestae/wiki/CompileGuide
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

lee

  • Guest
Re: suggestion to improve scrolling
« Reply #4 on: 30 July 2011, 11:32:34 »
Hm, it works in GAE. Unfortunately, GAE crashed after a few minutes, and the dialog boxes don't adjust to the font size.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: suggestion to improve scrolling
« Reply #5 on: 31 July 2011, 05:28:26 »
Hm, it works in GAE. Unfortunately, GAE crashed after a few minutes, and the dialog boxes don't adjust to the font size.
Uh oh, could you please file a bug report on the GAE board, including the GAE version, your operating system, RAM, graphics card, and the error text? As well, worth making sure that your drivers are all up to date (particularly the graphics driver), as they are a large culprit in crashes.

As for the dialog boxes not adjusting, can you provide a screenshot/example (on the GAE board)?

Thanks.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

lee

  • Guest
Re: suggestion to improve scrolling
« Reply #6 on: 31 July 2011, 12:25:06 »
You mean the GAE section in this forum? I can do that.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: suggestion to improve scrolling
« Reply #7 on: 3 September 2011, 01:45:57 »
Just for completeness, in MegaGlest the default key binding to move the camera to a selected unit is G. Like all key bindings, this one can be customised, if so desired, in the options menu.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·