NetLogo/models

Very hard to put down buildings in Paths model

ToonTalk opened this issue · 1 comments

At first I thought it was broken. But then discovered one needed to click very fast. The following code toggles the existence of a building on every tick.

to check-building-placement
  if mouse-down?
  [ask patch (round mouse-xcor) (round mouse-ycor) [
    ifelse pcolor = red
    [ unbecome-building ]
    [ become-building ]
  ]]
end

I suppose for ordinary duration clicks there is a 50% chance of them working.

Also I suggest the Interface include some text mentioning that one can put down buildings instead of only relying upon careful reading of the Info tab.

Nice model, by the way.

Very nice improvements