After a few months in early access, this week the game properly launched.
#Screeps creep code#
Instead, you have to code each unit's behavior in JavaScript. You see, unlike StarCraft or Age of Empires, your units in Screeps don't come with an AI or fancy control interface. Screeps is a real-time strategy game, and it's an MMO, but not in the vein of any I've ever seen before.
#Screeps creep full#
Full damage to a part leads to complete disabling of it – the creep can no longer perform this function.Every once in a while, I encounter a game that just doesn't fit any established genre. Under attack, the first parts to take hits are those specified first. The order in which the parts were specified during the spawning of a creep also has a bearing. The total amount of hits a creep has depends of the amount of its body parts – 100 hits per each part.
It's worth noting that empty CARRY parts don't generate fatigue. If a creep has less MOVE parts, its movement will be proportionally slowed which is seen by the increasing fatigue. In other words, one MOVE part can move one other part one square per tick. To maintain the maximum movement speed of 1 square per tick, a creep needs to have as many MOVE parts as all the other parts of its body combined. The creep cannot move when its fatigue is greater than zero. Each MOVE body part decreases fatigue points by 2 per tick. Each body part (except MOVE) generates fatigue points when the creep moves: 1 point per body part on roads, 2 on plain land, 10 on swamp.
MovementĮach body part has its own physical weight: the more parts a creep bears, the more difficult it is for it to move. The same applies to all the other types and actions. For example, a worker creep with 3 parts of the WORK type will work 3 times as effectively as a creep with only 1 WORKpart. The effectiveness of an ability depends on the amount of parts of a corresponding type.
#Screeps creep upgrade#
It allows thousands of creep types and their roles: ordinary workers, huge construction machines able to build or repair a structure within a few cycles, weaselly couriers, heavy capacious trucks, fast and cheap scouts, well-equipped fighters with regeneration ability, etc. You build (spawn) units called creeps the same way as in other strategy games, but with one exception: you construct the "body" of a new creep out of 7 available body part types, the resulting body being a sequence up to 50 parts.