Complete C# rewrite with working game in Editor (#6)
* Refactor collectable components to C# and update resource scripts for consistency * Update resource paths and refactor properties for consistency * Refactor UI components to inherit from Control and update node paths for consistency * Update node paths and group assignments for consistency across scenes * Refactor GameManager and PlayerDeathComponent for improved state management and logging; update scene connections for player death handling * Add PhantomCamera components and UI elements for improved scene management; refactor existing components for better integration * Refactor skill components and update resource paths for consistency; enhance skill management in scenes * Add new UID files and update scene configurations for dialogue components; refactor skill management and input handling * Add next level command and refactor player retrieval in GameManager; update scene files for consistency * Add skill upgrade system and refactor skill components for enhanced functionality; update resource paths and configurations * Enhance ChargeProgressBar and Marketplace functionality; add owner exit handling and update skill button states * Refactor ChargeProgressBar and SkillManager; update skill handling and improve component interactions * Refactor player and level configurations; streamline FlipPlayerComponent and reposition Spaceship Enter
This commit is contained in:
56
addons/dialogue_manager/components/code_edit.tscn
Normal file
56
addons/dialogue_manager/components/code_edit.tscn
Normal file
@@ -0,0 +1,56 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://civ6shmka5e8u"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://klpiq4tk3t7a" path="res://addons/dialogue_manager/components/code_edit_syntax_highlighter.gd" id="1_58cfo"]
|
||||
[ext_resource type="Script" uid="uid://djeybvlb332mp" path="res://addons/dialogue_manager/components/code_edit.gd" id="1_g324i"]
|
||||
|
||||
[sub_resource type="SyntaxHighlighter" id="SyntaxHighlighter_cobxx"]
|
||||
script = ExtResource("1_58cfo")
|
||||
|
||||
[node name="CodeEdit" type="CodeEdit"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "~ title_thing
|
||||
|
||||
if this = \"that\" or 'this'
|
||||
Nathan: Something
|
||||
- Then [if test.thing() == 2.0] => somewhere
|
||||
- Other => END!
|
||||
|
||||
~ somewhere
|
||||
|
||||
set has_something = true
|
||||
=> END"
|
||||
highlight_all_occurrences = true
|
||||
highlight_current_line = true
|
||||
draw_tabs = true
|
||||
syntax_highlighter = SubResource("SyntaxHighlighter_cobxx")
|
||||
scroll_past_end_of_file = true
|
||||
minimap_draw = true
|
||||
symbol_lookup_on_click = true
|
||||
line_folding = true
|
||||
gutters_draw_line_numbers = true
|
||||
gutters_draw_fold_gutter = true
|
||||
delimiter_strings = Array[String](["\" \""])
|
||||
delimiter_comments = Array[String](["#"])
|
||||
code_completion_enabled = true
|
||||
code_completion_prefixes = Array[String]([">", "<"])
|
||||
indent_automatic = true
|
||||
auto_brace_completion_enabled = true
|
||||
auto_brace_completion_highlight_matching = true
|
||||
auto_brace_completion_pairs = {
|
||||
"\"": "\"",
|
||||
"(": ")",
|
||||
"[": "]",
|
||||
"{": "}"
|
||||
}
|
||||
script = ExtResource("1_g324i")
|
||||
|
||||
[connection signal="caret_changed" from="." to="." method="_on_code_edit_caret_changed"]
|
||||
[connection signal="gutter_clicked" from="." to="." method="_on_code_edit_gutter_clicked"]
|
||||
[connection signal="symbol_lookup" from="." to="." method="_on_code_edit_symbol_lookup"]
|
||||
[connection signal="symbol_validate" from="." to="." method="_on_code_edit_symbol_validate"]
|
||||
[connection signal="text_changed" from="." to="." method="_on_code_edit_text_changed"]
|
||||
[connection signal="text_set" from="." to="." method="_on_code_edit_text_set"]
|
Reference in New Issue
Block a user