-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e407a5b
commit 1ad9f7a
Showing
13 changed files
with
159 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"name": "Pinned", | ||
"type": "godot", | ||
"request": "launch", | ||
"scene": "pinned" | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://cqyak7pqy6c1g" | ||
path="res://.godot/imported/circle.png-6cc43df2c91e4b9e7ebcc7885c8fc2fb.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://asset/image/chess/circle.png" | ||
dest_files=["res://.godot/imported/circle.png-6cc43df2c91e4b9e7ebcc7885c8fc2fb.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://bwxsnu3vf8wvq" | ||
path="res://.godot/imported/cross.png-a60c3d4b91550bb1353cfbb4cba3a0ff.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://asset/image/chess/cross.png" | ||
dest_files=["res://.godot/imported/cross.png-a60c3d4b91550bb1353cfbb4cba3a0ff.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
[gd_scene load_steps=2 format=3 uid="uid://dy5n38bh77hrq"] | ||
[gd_scene load_steps=5 format=3 uid="uid://dy5n38bh77hrq"] | ||
|
||
[ext_resource type="Script" path="res://schema/object/border.gd" id="1_dulgy"] | ||
[ext_resource type="Script" path="res://schema/core/image_storage.gd" id="2_wj4id"] | ||
[ext_resource type="Texture2D" uid="uid://cqyak7pqy6c1g" path="res://asset/image/chess/circle.png" id="3_vugjo"] | ||
[ext_resource type="Texture2D" uid="uid://bwxsnu3vf8wvq" path="res://asset/image/chess/cross.png" id="4_mcky7"] | ||
|
||
[node name="border" type="GridContainer"] | ||
[node name="border" type="GridContainer" node_paths=PackedStringArray("image_storage")] | ||
offset_left = 46.0 | ||
offset_top = 18.0 | ||
offset_right = 46.0 | ||
offset_bottom = 18.0 | ||
theme_override_constants/h_separation = 1 | ||
theme_override_constants/v_separation = 1 | ||
script = ExtResource("1_dulgy") | ||
layout = Vector2i(5, 3) | ||
image_storage = NodePath("images") | ||
layout = Vector2i(3, 3) | ||
|
||
[node name="images" type="Node" parent="."] | ||
script = ExtResource("2_wj4id") | ||
images = Array[Texture2D]([ExtResource("3_vugjo"), ExtResource("4_mcky7")]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,6 @@ | ||
[gd_scene load_steps=5 format=3 uid="uid://cps2fs4o2djip"] | ||
[gd_scene load_steps=2 format=3 uid="uid://cps2fs4o2djip"] | ||
|
||
[ext_resource type="Texture2D" uid="uid://da5xqscem0k0e" path="res://asset/image/icon.png" id="1_i0k4x"] | ||
[ext_resource type="Script" path="res://schema/core/image_storage.gd" id="2_e0i3g"] | ||
|
||
[sub_resource type="AtlasTexture" id="AtlasTexture_hhqjk"] | ||
atlas = ExtResource("1_i0k4x") | ||
region = Rect2(25, 25, 14, 14) | ||
|
||
[sub_resource type="AtlasTexture" id="AtlasTexture_4j7eb"] | ||
atlas = ExtResource("1_i0k4x") | ||
region = Rect2(40, 25, 14, 14) | ||
[ext_resource type="Texture2D" uid="uid://cqyak7pqy6c1g" path="res://asset/image/chess/circle.png" id="1_ro3qq"] | ||
|
||
[node name="chess" type="Sprite2D"] | ||
|
||
[node name="images" type="Node" parent="."] | ||
script = ExtResource("2_e0i3g") | ||
images = Array[Texture2D]([SubResource("AtlasTexture_hhqjk"), SubResource("AtlasTexture_4j7eb")]) | ||
texture = ExtResource("1_ro3qq") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Node | ||
|
||
var is_player_control := false | ||
|
||
func is_chess_inline(length:=3) -> bool: | ||
|
||
return false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends Node | ||
|
||
@export var nickname : String | ||
@export var used_chess_image : Texture2D |