Game speed

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
serclino
Posts: 40
Joined: May 18th, 2018, 9:54 pm

Game speed

Post by serclino »

Hello,

I just want to know what parts of code have influence on game speed?
Am I correct if I think that more sides equals slower game?
(I put two extra sides into my scenario and the game became slower.)

Thanks for answers.
User avatar
Ravana
Forum Moderator
Posts: 3004
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Game speed

Post by Ravana »

Side count does not affect speed by itself. It is WML complexity which is most responsible for delays.
Mawmoocn
Posts: 160
Joined: March 16th, 2019, 3:54 pm

Re: Game speed

Post by Mawmoocn »

Delays are due to units needing time to animate their actions.

If you skip AI actions and skip combat, it gets quicker and there’ll be no ‘animation’ delay.

Though sometimes I encounter delays on other UMC campaigns with skip AI and combat option ticked.

Mainly it’s because the unit I have is near invulnerable to damage with the enemy having many units, basically the AI can’t decide what to do because it's not part of what it's expected to deal with :lol: :lol:.
serclino
Posts: 40
Joined: May 18th, 2018, 9:54 pm

Re: Game speed

Post by serclino »

Well, is there any article which summarize tips how to make game smoother? :D
User avatar
WhiteWolf
Forum Moderator
Posts: 769
Joined: September 22nd, 2009, 7:48 pm
Location: Hungary

Re: Game speed

Post by WhiteWolf »

serclino wrote: December 30th, 2019, 3:13 pm Well, is there any article which summarize tips how to make game smoother? :D
Yeah, there is :) https://wiki.wesnoth.org/Wml_optimisation
Main UMC campaigns: The Ravagers - now for 1.16, with new bugs!
Old UMC works: The Underness Series, consisting of 5 parts: The Desolation of Karlag, The Blind Sentinel, The Stone of the North, The Invasion Of The Western Cavalry, Fingerbone of Destiny
Post Reply