Setup/Build Guide
Setup Guides
Setup ssh
- Run
ssh-keygen -f ~/.ssh/github.com
- 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
- run
cat ~/.ssh/github.com.pub
and copy the public key - go to github ssh settings here
- press
new SSH key
, paste your public key, give any title and save
Godot project setup
-
Download Godot 4.3 from here
-
Install lfs
# Arch
sudo paru -S git-lfs
- 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
and run the game once to see if it is working properly
Setting up VS Code
- In Godot goto
Editor > Editor Settings > Text Editor > External
< todo upload image here showing where the settings is >
- Enable
Use External Editor
- In the
Exec Path
Setting, paste in the location of-
code.cmd
(default:C:/Program Files/Microsoft VS Code/bin/code.cmd
) for windows or -
/usr/bin/code
for linux
-
- In
Exec Flags
, paste in{project} --goto {file}:{line}:{col}
- Open any script from
FileSystem
in godot that should open vscode - Install
godot-tools
extention - if you haven't installed godot through package managers, add godot executable in vscode settings
godotTools.editorPath.godot4
Android build guide (Optional)
- Install android studio
choco install androidstudio
- Install Build Template from
Project > Install Android Build Template
- (for release) copy keystore to
code\presentation\ts-godot
- (for debug) create an android project so that debug keystore is created
- in
Project > Export > Android > Keystore
add the appropriate information. - If you need release info, ask the lead dev