mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-25 02:30:27 +01:00
9d15420df3
Makes for pretty paths when extending scripts: `extends "res://addons/godot_xterm/terminal.gd"` vs. `extends "res://addons/godot_xterm/nodes/terminal/terminal.gd"` Currently "res://addons/godot_xterm/pty.gd" is acutally `pty_unix.gd`. This is okay for now as the PTY node is only supported on Unix platforms. However, we will need to sort it out when adding Windows support as part of #25. Also remove the GDXterm namespace.
19 lines
517 B
Text
19 lines
517 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://addons/godot_xterm/terminal.gd" type="Script" id=1]
|
|
[ext_resource path="res://examples/asciicast/example.cast" type="Animation" id=6]
|
|
|
|
[node name="Terminal" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
focus_mode = 1
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
autoplay = "example"
|
|
playback_speed = 2.0
|
|
method_call_mode = 1
|
|
anims/example = ExtResource( 6 )
|