Giter Site home page Giter Site logo

yoryan / railworks-tstl-template Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 2.81 MB

Template project for Train Simulator Classic scripts written in TypeScript.

License: MIT License

TypeScript 100.00%
railworks train-simulator typescript typescript-definitions typescripttolua boilerplate template template-project

railworks-tstl-template's Introduction

railworks-tstl-template

Write scripts for Train Simulator Classic in TypeScript with the help of TypeScriptToLua! With TypeScript, you benefit from strong typing guarantees, modern tooling, and a vibrant community of users, which all add up to a vastly superior development experience compared to the Lua 5.0 ecosystem that Train Simulator ships with. It's like upgrading from a ๐Ÿš‚ to a ๐Ÿš….

This template includes type declarations and wrappers for Train Simulator's Lua API and a functional reactive programming library suitable for building engine scripts with.

Scripts

Command Description
npm run lint Check for linting issues with Prettier.
npm run fix:prettier Fix linting issues identified by Prettier.
npm run watch Watch TypeScript files for changes and rebuild them as needed.
npm run build Transpile TypeScript source files to Lua bytecode suitable for Train Simulator.

To install your newly built files, copy the contents of the dist/ folder to your Steam RailWorks folder.

Development container

This template also includes a Visual Studio Code development container with all the necessary Node.js and Lua tooling to build a project.

railworks-tstl-template's People

Contributors

yoryan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.