Framerate and the mouse

Framerate and the mouse

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Framerate and the mouse

Post by lurker »

When fps gets low, the only real issues caused are buggy responsiveness to clicks and key presses and a hard to move cursor. How complicated would it be to hold the screen minus the mouse in a buffer that gets reused two or three times when fps drops far down? Is it something feasable for me to do without experience with the rendering code or should this topic go to feature requests?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Framerate and the mouse

Post by KDR_11k »

Everyx RTS I know uses an independent mouse cursor, probably possible.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Framerate and the mouse

Post by Tobi »

Impossible in fullscreen OpenGL apps, AFAIK.
(If with independent you mean hardware accelerated mouse cursor, that is.)

Though you could simulate it by rendering to a FBO, running all computationally intensive non-OpenGL stuff in a separate thread, and having the main thread just repeatedly draw quad with FBO as texture, draw the mousecursor, flip buffers, sleep a bit.

Of course that'd require a bit decent version of OpenGL, maybe even 2.0.

EDIT: fixed wording
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Framerate and the mouse

Post by rattle »

Yeah most RTS games I played had an option for a software and hardware cursor where the latter does not depend on the framerate.
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Framerate and the mouse

Post by ginekolog »

ye i hate it too but since ba changed thier fighter los game tend to lag muuuuch less.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Framerate and the mouse

Post by KDR_11k »

ginekolog wrote:ye i hate it too but since ba changed thier fighter los game tend to lag muuuuch less.
Which has about zero bearing on Spring as an engine as there's more than just BA that it has to support.
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Framerate and the mouse

Post by Gota »

Ba is the alpha and omega,the primo and the obduro.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: Framerate and the mouse

Post by Gnomre »

Yeah, if only S44 had implemented your gameplay suggestions, then BA'd have some competition! Those fools!
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Framerate and the mouse

Post by Gota »

How mature.
I thought you were above all this?guess you had no buisness lecturing me and snobbing me out.
We all like to think were better but than we show we really arent ha Gnome.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: Framerate and the mouse

Post by Gnomre »

It only took you 119 days to formulate a response? That's got to be a new personal best!

Why don't you go start a competition or try to take over someone else's mod or create another smurf account to complain about the smurfing epidemic or shove a stick up your ass instead of resurrecting old posts making yourself look like an idio--

Oh, wait.
User avatar
Machiosabre
Posts: 1474
Joined: 25 Dec 2005, 22:56

Re: Framerate and the mouse

Post by Machiosabre »

ooh you are going to be so sorry you posted that come December!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Framerate and the mouse

Post by AF »

I find the 199 day reaction time hilarious. We should praise gota for giving us something to smile about rather than snipe at him for a masterful attempt at a pun
Sheekel
Posts: 1391
Joined: 19 Apr 2005, 19:23

Re: Framerate and the mouse

Post by Sheekel »

6.5 on the gota scale
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Framerate and the mouse

Post by Gota »

TBh i rezzed this cause i was wondering whats going on with the mouse clicking...it really is a punch ot the gut if you wanna make more compact build icons and buttons.

And Gnome,try to not take things so personal ok? cool down...You wouldnt wanna die of a heart attack at 30,you wouldnt be able to complete s44.
User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

Re: Framerate and the mouse

Post by Otherside »

yans post is 0.5 on the gota scale
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Framerate and the mouse

Post by aegis »

Gota wrote:You wouldnt wanna die of a heart attack at 30,you wouldnt be able to complete s44.
..he works on IW
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: Framerate and the mouse

Post by Gnomre »

I secretly work on 300: The Mod: The Legend: The Subtitle

Expect a release in March 2002
Post Reply

Return to “Engine”