Initial native commit

This commit is contained in:
Leroy Hopson 2020-07-11 15:52:06 +07:00
parent ac63de9285
commit f6bd5a11c8
5 changed files with 20 additions and 94 deletions

View file

@ -0,0 +1,7 @@
[plugin]
name="Godot Xterm Native"
description=""
author="Leroy Hopson"
version="0.1"
script="plugin.gd"

View file

@ -0,0 +1,10 @@
tool
extends EditorPlugin
func _enter_tree():
pass
func _exit_tree():
pass

View file

@ -1,7 +1,5 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
[resource]
background_mode = 2
background_sky = SubResource( 1 )

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -8,109 +8,20 @@
config_version=4
_global_script_classes=[ {
"base": "Node2D",
"class": "CanvasRenderingContext2D",
"language": "GDScript",
"path": "res://addons/godot_xterm/renderer/canvas_rendering_context_2d.gd"
} ]
_global_script_classes=[ ]
_global_script_class_icons={
"CanvasRenderingContext2D": ""
}
[WAT]
Test_Directory="res://tests"
Results_Directory="res://tests/results/WAT"
Minimize_Window_When_Running_Tests=false
TestStrategy={
"repeat": 1,
"strategy": "RunAll"
}
Tags=PoolStringArray( )
Display=8
[application]
config/name="GodotXterm"
config/description="Xterm.js in Godot."
run/main_scene="res://scenes/demo.tscn"
config/name="Godot Xterm Native"
config/icon="res://icon.png"
[editor_plugins]
enabled=PoolStringArray( "godot_xterm", "gut" )
[input]
ui_accept={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
]
}
ui_cancel={
"deadzone": 0.5,
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null)
]
}
ui_left={
"deadzone": 0.5,
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
]
}
ui_right={
"deadzone": 0.5,
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
]
}
ui_up={
"deadzone": 0.5,
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
]
}
ui_down={
"deadzone": 0.5,
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
]
}
jump={
"deadzone": 0.5,
"events": [ ]
}
sprint={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"unicode":0,"echo":false,"script":null)
]
}
crouch={
"deadzone": 0.5,
"events": [ ]
}
interact={
"deadzone": 0.5,
"events": [ ]
}
walk={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777240,"unicode":0,"echo":false,"script":null)
]
}
pick_up={
"deadzone": 0.5,
"events": [ ]
}
throw={
"deadzone": 0.5,
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
]
}
reset={
"deadzone": 0.5,
"events": [ ]
}
enabled=PoolStringArray( "godot_xterm_native" )
[rendering]
quality/filters/msaa=4
environment/default_environment="res://default_env.tres"