mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-22 20:32:38 +01:00
53c249d059
It uses a Perl script to keep a bash session open, which attaches to a port the game keeps open. This avoids having to start a new Git bash for each command, improving the execution speed by a factor of 3-4.
16 lines
514 B
Text
16 lines
514 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scenes/game.gd" type="Script" id=1]
|
|
[ext_resource path="res://music/gigantic-greasy-giraffe.ogg" type="AudioStream" id=2]
|
|
[ext_resource path="res://scenes/tcp_server_shell.tscn" type="PackedScene" id=3]
|
|
|
|
[node name="Node" type="Node"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 2 )
|
|
volume_db = -15.0
|
|
autoplay = true
|
|
|
|
[node name="ShellServer" parent="." instance=ExtResource( 3 )]
|
|
port = 6666
|