Announcement

Collapse
No announcement yet.

Scroll Speed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scroll Speed

    I have just started playing AOM. There is a problem with scrolling in the game. I am running it on P4 2.8GHz machine.

    Scrolling the horizontal direction is way, way too fast. As soon as I move my mouse either to the left or right of the screen the scroll moves at lightning speed away in that direction. This makes the game very, very difficult to play.

    Is anyone involved with the Source Code Project prepared to look at this issue?

  • #2
    There's an ingame scroll-speed setting. Is it not working?
    Concrete, Abstract, or Squoingy?
    "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

    Comment


    • #3
      The ingame control is a scroll delay. The default setting is 3/10th of a second. This means that when the mouse is moved to the edge of the screen the scroll will not start until this time has elapsed. It then rockets away in a totally uncontrolled fashion.

      This is evident in many older games. The problem appears to be that scrolling is tied to CPU speed in some manner rather than to a fixed time or frame rate.

      A while back when I was very bored I started to write a game from scratch. I forced it to have a frame rate of 60 milli seconds (i.e 16 frames/sec). I then organised for it to scroll by 2 tiles per frame.

      Doing this makes scrolling completely independent of CPU speed since it's the frame rate that determines how quickly the screen gets redrawn.

      I really have no idea of how scrolling is done in CTP and my knowledge of C/C++ is minimal at best. I don't even know if other people are having the same problem. My previous PC was a P3 1.2 GHz and everything was OK with that one. So there seems to be a threshold of some sort above which scrolling breaks down.
      Last edited by Lou Wigman; May 11, 2005, 18:00.

      Comment


      • #4
        I'd like to second this one. Scrolling is just crazy at the moment.


        Loving AOM2 though!

        Comment


        • #5
          I've been trying to figure out what's going on in the source code, but it's a bit of a mess. Is this keyboard or mouse scrolling that's giving you problems? They appear to be implemented somewhat independently... I see that it was mouse scrolling for Lou Wigman. In either case, could you try the other type of scrollling, and report back. It would help me understand what's going on.

          Comment


          • #6
            have you tried running a 'slow-down' utility like 'turbo' or some such. I find they often help with issues such as these, of course it wont just be the scrolling that slows down - but i suspect around 800mhz max is fine for running anything to do with CTP2?
            'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

            Bush's Republican=Neo-con for all intent and purpose. be afraid.

            Comment


            • #7
              I believe its fixed in the playtest though, it might be because AoM doesnt use the playtest
              Formerly known as "E" on Apolyton

              See me at Civfanatics.com

              Comment

              Working...
              X