Working on adding a "Game Speed" slider #2058

Closed
earthpig opened this Issue Apr 29, 2012 · 8 comments

Comments

Projects
None yet
3 participants
@earthpig
Contributor

earthpig commented Apr 29, 2012

earthpig/OpenRA-ep@c817b10

Please look at these three file changes, and ignore the other 4 (noise):
OpenRA.Game/Widgets/SliderWidget.cs
OpenRA.Mods.RA/Widgets/Logic/SettingsMenuLogic.cs
mods/ra/chrome/settings.yaml

What works: If you add a Timestep value (between 1 and 80) to the settings.yaml in your home folder, it'll display that.
What doesn't: If you change the slider, it wont save.

Screencap: http://dl.dropbox.com/u/1832211/ra-gamespeed.png

@Mailaender

This comment has been minimized.

Show comment
Hide comment
@Mailaender

Mailaender Jun 28, 2012

Member

Looks like you fixed it in commit f152a21 yourself.

Member

Mailaender commented Jun 28, 2012

Looks like you fixed it in commit f152a21 yourself.

@Mailaender

This comment has been minimized.

Show comment
Hide comment
@Mailaender

Mailaender Jan 18, 2013

Member

Have you tested this in multiplayer for desyncs?

Member

Mailaender commented Jan 18, 2013

Have you tested this in multiplayer for desyncs?

@chrisforbes

This comment has been minimized.

Show comment
Hide comment
@chrisforbes

chrisforbes Jan 18, 2013

Member

No bearing on sync

On Fri, Jan 18, 2013 at 10:34 PM, Matthias Mailänder <
notifications@github.com> wrote:

Have you tested this in multiplayer for desyncs?


Reply to this email directly or view it on GitHubhttps://github.com/OpenRA/OpenRA/issues/2058#issuecomment-12414711.

Member

chrisforbes commented Jan 18, 2013

No bearing on sync

On Fri, Jan 18, 2013 at 10:34 PM, Matthias Mailänder <
notifications@github.com> wrote:

Have you tested this in multiplayer for desyncs?


Reply to this email directly or view it on GitHubhttps://github.com/OpenRA/OpenRA/issues/2058#issuecomment-12414711.

@Mailaender

This comment has been minimized.

Show comment
Hide comment
@Mailaender

Mailaender Jan 19, 2013

Member

Are you still working on this @earthpig?

Member

Mailaender commented Jan 19, 2013

Are you still working on this @earthpig?

@Mailaender

This comment has been minimized.

Show comment
Hide comment
@Mailaender

Mailaender Feb 14, 2013

Member

I did this in commit 9e159a4, but with less effort. I just round the floats instead of adding a new OnChangeInt() to SliderWidget.cs. While I am not sure what your problem is, my implementation updates on the fly.

Member

Mailaender commented Feb 14, 2013

I did this in commit 9e159a4, but with less effort. I just round the floats instead of adding a new OnChangeInt() to SliderWidget.cs. While I am not sure what your problem is, my implementation updates on the fly.

@Mailaender

This comment has been minimized.

Show comment
Hide comment
@Mailaender

Mailaender Mar 10, 2013

Member

Been working on this at https://github.com/Mailaender/OpenRA/compare/game-speed However this does not add a game speed slider, but a speed hack to OpenRA with the following things to do:

  • Share game speed between clients to avoid stuttering when one client is faster than the other.
  • Don't expose time step as it effects renderer, but not build times.
Member

Mailaender commented Mar 10, 2013

Been working on this at https://github.com/Mailaender/OpenRA/compare/game-speed However this does not add a game speed slider, but a speed hack to OpenRA with the following things to do:

  • Share game speed between clients to avoid stuttering when one client is faster than the other.
  • Don't expose time step as it effects renderer, but not build times.
@Mailaender

This comment has been minimized.

Show comment
Hide comment
@Mailaender

Mailaender Apr 5, 2014

Member

We added this for replays, but locked it for real games #4233. You probably want a game speed multiplier (faster build times, movement, rate of fire, but not logic/render tick) in a slider fashion instead of this.

Member

Mailaender commented Apr 5, 2014

We added this for replays, but locked it for real games #4233. You probably want a game speed multiplier (faster build times, movement, rate of fire, but not logic/render tick) in a slider fashion instead of this.

@Mailaender Mailaender closed this Apr 5, 2014

@Mailaender Mailaender added question and removed idea labels Jun 10, 2014

@Mailaender

This comment has been minimized.

Show comment
Hide comment
@Mailaender

Mailaender Nov 26, 2014

Member

Moved the feature request to #7014.

Member

Mailaender commented Nov 26, 2014

Moved the feature request to #7014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment