Skip to content

Commit

Permalink
Merge branch 'main' into mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacTheMouse committed Jan 27, 2024
2 parents a7eed2e + 964f4a8 commit 1193d3d
Show file tree
Hide file tree
Showing 11 changed files with 366 additions and 13 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/godot-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,20 @@ jobs:
run: |
mkdir -v -p build/web
godot --headless --verbose --export-release "Web" build/web/index.html
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync curl
- name: Patch for Cross Origin Isolation and SharedArrayBuffer
run: |
cd build/web/
curl https://raw.githubusercontent.com/josephrocca/clip-image-sorter/92b108dc670d0b56bd6b72963b0e86c4c862412e/enable-threads.js --output enable-threads.js
sed -i 's|headers.set("Cross-Origin-Embedder-Policy", "credentialless")|headers.set("Cross-Origin-Embedder-Policy", "require-corp")|g' enable-threads.js
sed -i 's|<script src="index.js"></script>|<script src="enable-threads.js"></script><script src="index.js"></script>|g' index.html
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: web
path: build/web
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
Expand Down
61 changes: 51 additions & 10 deletions objects/main_menu/main_menu.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=3 uid="uid://c07co5p46apu7"]
[gd_scene load_steps=27 format=3 uid="uid://c07co5p46apu7"]

[ext_resource type="Texture2D" uid="uid://ceeypoydffke" path="res://objects/main_menu/background/main_menu1.png" id="1_yr1dc"]
[ext_resource type="Texture2D" uid="uid://7gpyu0xntcot" path="res://objects/main_menu/background/main_menu2.png" id="2_fhihs"]
Expand All @@ -11,11 +11,14 @@
[ext_resource type="Texture2D" uid="uid://csciwny3id80p" path="res://objects/main_menu/background/main_menu9.png" id="9_v2d5d"]
[ext_resource type="Texture2D" uid="uid://doj3api7yqkwa" path="res://objects/main_menu/background/main_menu10.png" id="10_6ukle"]
[ext_resource type="Texture2D" uid="uid://cb8hwijy6lslu" path="res://objects/main_menu/background/main_menu11.png" id="11_j1jkd"]
[ext_resource type="Texture2D" uid="uid://bf1rm32qprbpu" path="res://objects/main_menu/background/main_menu12.png" id="12_50bmh"]
[ext_resource type="Texture2D" uid="uid://bretm2cyiirtb" path="res://objects/main_menu/background/main_menu13.png" id="13_5snq7"]
[ext_resource type="Script" path="res://objects/main_menu/main_menu.gd" id="14_npy3s"]
[ext_resource type="Texture2D" uid="uid://bqm3lgo8c8nfb" path="res://objects/main_menu/background/main_menu14.png" id="14_tufeb"]
[ext_resource type="Texture2D" uid="uid://bw8xulwxqnhbc" path="res://objects/main_menu/background/main_menu15.png" id="15_qjtad"]
[ext_resource type="Texture2D" uid="uid://cmcc5xrpkrd0f" path="res://objects/card/card_highlighted.png" id="16_5m8f1"]
[ext_resource type="Texture2D" uid="uid://83p3glm3htsp" path="res://objects/word/sprites/start1.png" id="16_skwdr"]
[ext_resource type="Texture2D" uid="uid://64ivn20qcjoy" path="res://objects/word/sprites/start2.png" id="17_mrqss"]
[ext_resource type="Texture2D" uid="uid://cbwkjh7uudgr5" path="res://objects/word/sprites/start3.png" id="18_qh4cp"]

[sub_resource type="SpriteFrames" id="SpriteFrames_b4517"]
animations = [{
Expand Down Expand Up @@ -56,9 +59,6 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("12_50bmh")
}, {
"duration": 1.0,
"texture": ExtResource("13_5snq7")
}, {
"duration": 1.0,
Expand All @@ -71,7 +71,39 @@ animations = [{
"texture": ExtResource("11_j1jkd")
}],
"loop": true,
"name": &"wait_for_start",
"name": &"new_animation",
"speed": 5.0
}]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_htdlk"]

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_6khk3"]
texture = ExtResource("16_5m8f1")
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_m8edv"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_gegaq"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_146ea"]

[sub_resource type="SpriteFrames" id="SpriteFrames_c72mh"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("16_skwdr")
}, {
"duration": 1.0,
"texture": ExtResource("17_mrqss")
}, {
"duration": 1.0,
"texture": ExtResource("18_qh4cp")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

Expand All @@ -82,10 +114,19 @@ centered = false
script = ExtResource("14_npy3s")

[node name="start_button" type="Button" parent="."]
offset_left = 88.8
offset_top = 76.8
offset_right = 104.8
offset_bottom = 92.8
offset_left = 89.0
offset_top = 77.0
offset_right = 113.0
offset_bottom = 102.0
theme_override_styles/normal = SubResource("StyleBoxEmpty_htdlk")
theme_override_styles/hover = SubResource("StyleBoxTexture_6khk3")
theme_override_styles/pressed = SubResource("StyleBoxEmpty_m8edv")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_gegaq")
theme_override_styles/focus = SubResource("StyleBoxEmpty_146ea")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="start_button"]
sprite_frames = SubResource("SpriteFrames_c72mh")
centered = false

[connection signal="animation_finished" from="." to="." method="_on_animation_finished"]
[connection signal="pressed" from="start_button" to="." method="_on_start_button_pressed"]
34 changes: 34 additions & 0 deletions objects/word/sprites/next1.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://7m6phyj5rj5h"
path="res://.godot/imported/next1.png-bf654a011116d813d4402bb80daf9035.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://objects/word/sprites/next1.png"
dest_files=["res://.godot/imported/next1.png-bf654a011116d813d4402bb80daf9035.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
34 changes: 34 additions & 0 deletions objects/word/sprites/next2.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dk12agqmgqcfv"
path="res://.godot/imported/next2.png-039190e59dfca4de0cfc76c28d67a6b1.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://objects/word/sprites/next2.png"
dest_files=["res://.godot/imported/next2.png-039190e59dfca4de0cfc76c28d67a6b1.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
34 changes: 34 additions & 0 deletions objects/word/sprites/next3.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dijnhgkenbees"
path="res://.godot/imported/next3.png-b09f340489e4c8fd080596296fc73f35.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://objects/word/sprites/next3.png"
dest_files=["res://.godot/imported/next3.png-b09f340489e4c8fd080596296fc73f35.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
34 changes: 34 additions & 0 deletions objects/word/sprites/return1.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://bxda1ilvqwc6f"
path="res://.godot/imported/return1.png-e964f05bca2cbfb3357ecf0b623eeabb.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://objects/word/sprites/return1.png"
dest_files=["res://.godot/imported/return1.png-e964f05bca2cbfb3357ecf0b623eeabb.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
34 changes: 34 additions & 0 deletions objects/word/sprites/return2.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cyl7cqhs4xnux"
path="res://.godot/imported/return2.png-cd4caba0fd225f8e502aa401acea8523.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://objects/word/sprites/return2.png"
dest_files=["res://.godot/imported/return2.png-cd4caba0fd225f8e502aa401acea8523.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
34 changes: 34 additions & 0 deletions objects/word/sprites/return3.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b48fn2ikxq33d"
path="res://.godot/imported/return3.png-0e0daeee5ce4c635627c0d2b9e94f6e5.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://objects/word/sprites/return3.png"
dest_files=["res://.godot/imported/return3.png-0e0daeee5ce4c635627c0d2b9e94f6e5.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
34 changes: 34 additions & 0 deletions objects/word/sprites/start1.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://83p3glm3htsp"
path="res://.godot/imported/start1.png-216757786f84f2a603d97d8b191a0da1.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://objects/word/sprites/start1.png"
dest_files=["res://.godot/imported/start1.png-216757786f84f2a603d97d8b191a0da1.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

0 comments on commit 1193d3d

Please sign in to comment.