In the picture above, you can see some samples of how the new renderer transforms the game when activated. Add new visual effects to enrich the game atmosphere and yet retain our usual relaxing, abstract style.Save your laptop’s battery juice since GPU is much more energy-efficient for this task than CPU.Leverage your machine’s GPU even in the browser to significantly boost performance without any lags when scrolling.In this update, we are excited to reveal a full-blown graphic engine for Screeps based on WebGL and PixiJS. Besides, this approach suffered from subpar performance when a lot of objects were on screen. It allowed for rapid development without distracting on complex visual components, but it ruled out any appealing visual effects (like lightning). In terms of technology, the game engine has been a simple set of SVG objects moving across the web page. We have always put little attention to graphics in Screeps, since this is a rather niche game for programming nerds. Also, please refer to the documentation and the API reference.
#Atom screeps how to#
The project repository contains a demo app which is a good reference of how to integrate the renderer on a web page in your own project. You can add samples from real game object data and visualize it exactly as they are shown in the game. For example, you can develop a standalone room history viewer, a third-party game client, etc. You can integrate the renderer library to your own application which would display Screeps game objects in the same way as in the official game client.
#Atom screeps install#
Use npm install in order to install the supported server branch.
#Atom screeps mods#
We’ve prepared some mods examples for you to get started with the custom graphics.
#Atom screeps full#
We’re going to use its potential in full in the future, and we’re also looking forward to seeing what you can come up with too. The library supports vector graphics, raster textures and sprites, animations, transforms, visual effects, etc. It allows you to create your own game objects with custom graphics like this: The ptr branch of the private server npm package (starting from 3.1.0-beta.4) contains new functionality which you can use to provide your own graphics for any game object types: both standard game types and new custom types. You can use it in your own projects of two major types: custom graphics for private servers, and third-party GUI utilities. We’re happy to announce that our graphics engine is now released on GitHub as an open source project! It is based on PixiJS and contains the same renderer code and images we use in our official game client. Have comments or feedback? You can discuss this post here. We recommend new players to start on shard3 and buy a subscription if they want to expand to other shards. You can freely travel there, but your CPU will be capped, so having a subscription will force you to learn how to optimize your creeps in the same way as non-subscribed players do.Īnd the last thing: since you get twice as much CPU now when you buy Screeps on Steam, the free 30-day subscription trial is discontinued. In all other aspects, shard3 is a regular shard with Novice and Respawn Areas and portals from shard2 (temporary closed for 60 days). They can now compete with all their neighbors on equal terms (CPU-wise), whether they are subscribed or not. This means this shard is mostly designed for non-subscription players. Even if you have an active subscription and assigned more CPU to this shard, only 20 CPU will be active there. Shard3 becomes our first CPU-limited shard. Yay!Īnd now is the most interesting part. In this post, we are pleased to announce its launch along with some more great news.įirst, we’re happy to announce that the free non-subscription CPU limit is raised from 10 to 20. We were all looking forward for shard3 to open.