Getting Started

Quick setup guide - won't guarantee that it'll take less than 5 minutes...

Setting up the development environment

To start using VeinIF,

  1. Make sure that you've got Node.jsarrow-up-right installed on your machine. - To check if Node is installed, type node -v into your command prompt or terminal. The command prompt should return the version of Node.js installed on your local machine e.g. v12.13.0. - Otherwise, visit Nodejs.orgarrow-up-right to download & install Node.js.

  2. Download the latest release or a copy of VeinIF repo on GitHubarrow-up-right.

  3. Unzip, navigate to the folder containing VeinIF and open a command prompt.

    1. In Windows, type cmd onto the folder address bar to open Command Prompt that location.

  4. Install dependency using Node Package Manager, which comes with the installation of Node. Type the following command into the Command Prompt:

    npm install
  5. After all packages has been installed, start the development environment by

    1. either typing npm run dev into the terminal...

    2. or for Windows users, use BuildGUI.exe, which included with the package for a GUI with handy buttons that runs the npm commands for you.

  6. Your default browser should open up a localhost page that preview the game.

  7. Open the folder in an IDE. We recommend Visual Studio Codearrow-up-right.

And that's it. You can now start coding and make your own game by open src/game/allParagraphs.ts

circle-info

VeinIF uses lite-serverarrow-up-right (v0.0.1-alpha.1) and currently webpack-dev-serverarrow-up-right for web development server. As you save your code, changes will be detected and the web page? Refreshed.

Tutorial

Quickly learn the basics of VeinIF by doing a tutorial in our next section.

Last updated

Was this helpful?