Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. Marko
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Marko

    @Marko

    9
    Posts
    827
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Marko Follow

    Posts made by Marko

    • RE: Writing Screep bots with Typescript

      Since I'm not developing Screeps' bots anymore and not following the game very much, then NhanHo was willing to take over the Typescript API project. You can still use the same library. It was just transferred to NhanHo.

      I will still continue to support the skeleton app. 

      posted in General Discussion
      Marko
    • RE: Writing Screep bots with Typescript

      v1.5.2 2016-03-19

      • RoomPosition opts fix. Filter and algorithm are optional.
      posted in General Discussion
      Marko
    • RE: Writing Screep bots with Typescript

      v1.4.3 2016-03-18 Commited by NhanHo

      • Added typings for various list of global objects in Game
      • Add serializePath and deserializePath to Room
      • Allow optional argument and properties in transferEnergy and PathFinderOps

       

      Special note about the commit:

      When using this API, you can't access creeps in manner suggested in Screeps' tutorial anymore:

      Game.creeps.Worker1  // This is not allowed by TypeScript compiler
      

      Instead, you have to use

      Game.creeps['Worker1']

       

      posted in General Discussion
      Marko
    • RE: Writing Screep bots with Typescript

      v1.4.1 2016-03-10

      • Added Extractor, Lab, Terminal, Market, Mineral objects
      • New constants
      • Read more from docs

      v1.3.2 2016-03-10 

      • Updated all interfaces from 19.02 changelog and added docs to PathFinder
      posted in General Discussion
      Marko
    • Pushing code with API key instead of password

      It's quite insecure to push code from external editor with email and password. Why not create API key for every user (instead of using password) and use that instead.

      This makes things a bit more secure, considering that with email and password, people can get access to my billing history, cancel subscriptions or order new ones.

      posted in Feature Requests
      Marko
    • RE: Writing Screep bots with Typescript

      Typescript declarations project

      v1.2.1 2016-02-08 ( http://support.screeps.com/hc/en-us/articles/206897739-Changelog-2016-02-08 )

      • New body part (CLAIM)
      • Documentation updates to support claim
      • Added Creep.dismantle()
      posted in General Discussion
      Marko
    • RE: Writing Screep bots with Typescript

      Typescript declarations project

      v1.1.4 2016-02-07

      • Updated RoomPosition declarations 
      • Removed HashMap from Game interface. It caused migration issues from JS to TS. 

       

      Typescript skeleton application

      2016-02-07

      I added sample project using skeleton app to GitHUB.

      You can find it here: https://github.com/MarkoSulamagi/Screeps-typescript-sample-project

      posted in General Discussion
      Marko
    • RE: Writing Screep bots with Typescript

      Edited first post. 

      Created npm package for Typescript type declaration files. I updated vanhouc's library. 

      posted in General Discussion
      Marko
    • Writing Screep bots with Typescript

      I created a Typescript skeleton app for Screep. You can easily get writing your bots with Typescript 🙂

      Installation instructions included on GitHUB page.

      https://github.com/MarkoSulamagi/Screeps-typescript-skeleton

      Sample project using this skeleton

      https://github.com/MarkoSulamagi/Screeps-typescript-sample-project

      ------------------

      Also created npm package for Screep Typescript type declaration files. Everything should be according to Screep's current API.

      I hope we can keep this up to date in long term. 

       https://github.com/MarkoSulamagi/Screeps-Typescript-Declarations

       

       

      All contributions are welcome 🙂

       Both projects are based on vanhouc's TS project.  

      posted in General Discussion
      Marko