Screeps: World

Screeps · Strategy

Screeps: World patch notes · Feb 27, 2017

Experiment

Changelog 2017-02-27

What's new in Changelog 2017-02-27: 8 changes to Screeps: World, released Feb 27, 2017.

Content · 2

  • RoomVisual can be constructed without a roomName to post visuals to all rooms simultaneously.

    roomvisual function Object() { [native code] } without roomname
  • Introduced asynchronous memory segments giving up to 10 MB of additional memory.

    memory segments feature

System · 3

  • Active segments are saved automatically and activating or saving them adds no CPU cost.

    segment saving and cpu cost
  • Each segment is a string with ID 0 to 99, max 100 KB per segment, and at most 10 segments active at once.

    memory segment count and size limit
  • Segments are asynchronous and requested via RawMemory.setActiveSegments, with data available on the next tick.

    segment request timing

UI · 3

  • The size option was renamed to font, accepting a number or string forms including absolute pixel sizes.

    roomvisual.text font option
  • Added stroke and strokeWidth style options for text.

    roomvisual.text stroke option
  • Added backgroundColor and backgroundPadding style options for text.

    roomvisual.text background option