Latest Posts

Topic: Probability Drive

GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-05-30, 18:26

The engine works like this:

  1. find a legal field in range at random
  2. the worker walks to the spot, the player sees an animation
  3. drop a reasonable immovable / catch a fish / etc..., play a planting/fishing animation etc...

C.f. this lengthy discussion on the subject regarding trees: https://wl.widelands.org/forum/topic/1956/

So, what we would change here is step 1.


Busy indexing nil values

Top Quote
fk
Avatar
Joined: 2013-07-30, 21:58
Posts: 151
Ranking
At home in WL-forums
Posted at: 2016-05-30, 22:18

Relation fields and radius:

fields = 3r² + 3r + 1.


Top Quote
PkK

Joined: 2012-01-06, 11:19
Posts: 236
Ranking
Widelands-Forum-Junkie
Posted at: 2016-06-01, 18:56

True randomness makes debugging hard, since reproducibility of issues suffers. Pseudo-randomness should be good enough for a game.

Philipp


Top Quote