Skip to main content

Setup/Build Guide

Setup Guides

Setup ssh

  1. Run ssh-keygen -f ~/.ssh/github.com
  2. add text below in ~/.ssh/config (if file doesn't exist create one)
Host github.com
  HostName github.com
  PreferredAuthentications publickey
  IdentityFile ~/.ssh/github.com
  1. run cat ~/.ssh/github.com.pub and copy the public key
  2. go to github ssh settings here
  3. press new SSH key, paste your public key, give any title and save

Godot project setup

  1. Download Godot 4.3 from here

  2. Install lfs

# Arch
sudo paru -S git-lfs
  1. Clone repo
git clone git@github.com:DefineX-Studios/typestroid-mobile.git

and after clone completes make sure u see images in code/presentation/ts-godot/media/open_license/sprite/ if you dont pls contact project lead

  1. Open Godot and then import project in code\presentation\ts-godot

and run the game once to see if it is working properly

Setting up VS Code

  1. In Godot goto Editor > Editor Settings > Text Editor > External

< todo upload image here showing where the settings is >

  1. Enable Use External Editor
  2. In the Exec Path Setting, paste in the location of
    1. code.cmd (default: C:/Program Files/Microsoft VS Code/bin/code.cmd) for windows or
    2. /usr/bin/code for linux
  3. In Exec Flags, paste in {project} --goto {file}:{line}:{col}
  4. Open any script from FileSystem in godot that should open vscode
  5. Install godot-tools extention
  6. if you haven't installed godot through package managers, add godot executable in vscode settings godotTools.editorPath.godot4

Android build guide (Optional)

  1. Install android studio
choco install androidstudio
  1. Install Build Template from Project > Install Android Build Template
  2. (for release) copy keystore to code\presentation\ts-godot
  3. (for debug) create an android project so that debug keystore is created
  4. in Project > Export > Android > Keystore add the appropriate information.
  5. If you need release info, ask the lead dev