commit 6a8d342f07c4f39faecf95a1436dc80376aa3999 Author: Fabien Freling Date: Tue Nov 16 22:58:54 2021 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63b8b0b --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/build +/assets/png diff --git a/Main.tscn b/Main.tscn new file mode 100644 index 0000000..61d8332 --- /dev/null +++ b/Main.tscn @@ -0,0 +1,10 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://assets/png/Hanafuda_April_Kasu_1.png" type="Texture" id=1] + +[node name="Node2D" type="Node2D"] + +[node name="HanafudaAprilKasu1" type="Sprite" parent="."] +position = Vector2( 292.75, 250.01 ) +scale = Vector2( 0.2, 0.2 ) +texture = ExtResource( 1 ) diff --git a/assets/LICENSE.md b/assets/LICENSE.md new file mode 100644 index 0000000..d2322ff --- /dev/null +++ b/assets/LICENSE.md @@ -0,0 +1,7 @@ +# License + +## Hanafuda cards +Hanafuda cards by [Louie Mantia](http://louie.world/). +[CC BY-SA 4.0][1] + +[1]: https://creativecommons.org/licenses/by-sa/4.0/deed.en diff --git a/assets/Tupfile b/assets/Tupfile new file mode 100644 index 0000000..b0adc4f --- /dev/null +++ b/assets/Tupfile @@ -0,0 +1 @@ +: foreach svg/*.svg |> convert -background none %f %o |> png/%B.png diff --git a/assets/svg/.gdignore b/assets/svg/.gdignore new file mode 100644 index 0000000..e69de29 diff --git a/assets/svg/Hanafuda_April_Kasu_1.svg b/assets/svg/Hanafuda_April_Kasu_1.svg new file mode 100644 index 0000000..bb52e3f --- /dev/null +++ b/assets/svg/Hanafuda_April_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_April_Kasu_2.svg b/assets/svg/Hanafuda_April_Kasu_2.svg new file mode 100644 index 0000000..e409abc --- /dev/null +++ b/assets/svg/Hanafuda_April_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_April_Tane.svg b/assets/svg/Hanafuda_April_Tane.svg new file mode 100644 index 0000000..d157c5e --- /dev/null +++ b/assets/svg/Hanafuda_April_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_April_Tanzaku.svg b/assets/svg/Hanafuda_April_Tanzaku.svg new file mode 100644 index 0000000..09b9130 --- /dev/null +++ b/assets/svg/Hanafuda_April_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_August_Hikari.svg b/assets/svg/Hanafuda_August_Hikari.svg new file mode 100644 index 0000000..ee510c4 --- /dev/null +++ b/assets/svg/Hanafuda_August_Hikari.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_August_Kasu_1.svg b/assets/svg/Hanafuda_August_Kasu_1.svg new file mode 100644 index 0000000..62492d9 --- /dev/null +++ b/assets/svg/Hanafuda_August_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_August_Kasu_2.svg b/assets/svg/Hanafuda_August_Kasu_2.svg new file mode 100644 index 0000000..f257f8a --- /dev/null +++ b/assets/svg/Hanafuda_August_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_August_Tane.svg b/assets/svg/Hanafuda_August_Tane.svg new file mode 100644 index 0000000..b6964ee --- /dev/null +++ b/assets/svg/Hanafuda_August_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_December_Hikari.svg b/assets/svg/Hanafuda_December_Hikari.svg new file mode 100644 index 0000000..be1f49f --- /dev/null +++ b/assets/svg/Hanafuda_December_Hikari.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_December_Kasu_1.svg b/assets/svg/Hanafuda_December_Kasu_1.svg new file mode 100644 index 0000000..1ecc404 --- /dev/null +++ b/assets/svg/Hanafuda_December_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_December_Kasu_2.svg b/assets/svg/Hanafuda_December_Kasu_2.svg new file mode 100644 index 0000000..d304910 --- /dev/null +++ b/assets/svg/Hanafuda_December_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_December_Kasu_3.svg b/assets/svg/Hanafuda_December_Kasu_3.svg new file mode 100644 index 0000000..b836e9f --- /dev/null +++ b/assets/svg/Hanafuda_December_Kasu_3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_February_Kasu_1.svg b/assets/svg/Hanafuda_February_Kasu_1.svg new file mode 100644 index 0000000..9345382 --- /dev/null +++ b/assets/svg/Hanafuda_February_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_February_Kasu_2.svg b/assets/svg/Hanafuda_February_Kasu_2.svg new file mode 100644 index 0000000..35097de --- /dev/null +++ b/assets/svg/Hanafuda_February_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_February_Tane.svg b/assets/svg/Hanafuda_February_Tane.svg new file mode 100644 index 0000000..603d9b1 --- /dev/null +++ b/assets/svg/Hanafuda_February_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_February_Tanzaku.svg b/assets/svg/Hanafuda_February_Tanzaku.svg new file mode 100644 index 0000000..712af5e --- /dev/null +++ b/assets/svg/Hanafuda_February_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_January_Hikari.svg b/assets/svg/Hanafuda_January_Hikari.svg new file mode 100644 index 0000000..90b8c8c --- /dev/null +++ b/assets/svg/Hanafuda_January_Hikari.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_January_Kasu_1.svg b/assets/svg/Hanafuda_January_Kasu_1.svg new file mode 100644 index 0000000..9115148 --- /dev/null +++ b/assets/svg/Hanafuda_January_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_January_Kasu_2.svg b/assets/svg/Hanafuda_January_Kasu_2.svg new file mode 100644 index 0000000..c4994ff --- /dev/null +++ b/assets/svg/Hanafuda_January_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_January_Tanzaku.svg b/assets/svg/Hanafuda_January_Tanzaku.svg new file mode 100644 index 0000000..2adc45f --- /dev/null +++ b/assets/svg/Hanafuda_January_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_July_Kasu_1.svg b/assets/svg/Hanafuda_July_Kasu_1.svg new file mode 100644 index 0000000..bed81ab --- /dev/null +++ b/assets/svg/Hanafuda_July_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_July_Kasu_2.svg b/assets/svg/Hanafuda_July_Kasu_2.svg new file mode 100644 index 0000000..e711d66 --- /dev/null +++ b/assets/svg/Hanafuda_July_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_July_Tane.svg b/assets/svg/Hanafuda_July_Tane.svg new file mode 100644 index 0000000..21cacff --- /dev/null +++ b/assets/svg/Hanafuda_July_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_July_Tanzaku.svg b/assets/svg/Hanafuda_July_Tanzaku.svg new file mode 100644 index 0000000..86b8cef --- /dev/null +++ b/assets/svg/Hanafuda_July_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_June_Kasu_1.svg b/assets/svg/Hanafuda_June_Kasu_1.svg new file mode 100644 index 0000000..8c8815e --- /dev/null +++ b/assets/svg/Hanafuda_June_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_June_Kasu_2.svg b/assets/svg/Hanafuda_June_Kasu_2.svg new file mode 100644 index 0000000..3b9a15a --- /dev/null +++ b/assets/svg/Hanafuda_June_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_June_Tane.svg b/assets/svg/Hanafuda_June_Tane.svg new file mode 100644 index 0000000..86ec846 --- /dev/null +++ b/assets/svg/Hanafuda_June_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_June_Tanzaku.svg b/assets/svg/Hanafuda_June_Tanzaku.svg new file mode 100644 index 0000000..2c0e2a7 --- /dev/null +++ b/assets/svg/Hanafuda_June_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_March_Hikari.svg b/assets/svg/Hanafuda_March_Hikari.svg new file mode 100644 index 0000000..7255714 --- /dev/null +++ b/assets/svg/Hanafuda_March_Hikari.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_March_Kasu_1.svg b/assets/svg/Hanafuda_March_Kasu_1.svg new file mode 100644 index 0000000..13e0d05 --- /dev/null +++ b/assets/svg/Hanafuda_March_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_March_Kasu_2.svg b/assets/svg/Hanafuda_March_Kasu_2.svg new file mode 100644 index 0000000..8a28843 --- /dev/null +++ b/assets/svg/Hanafuda_March_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_March_Tanzaku.svg b/assets/svg/Hanafuda_March_Tanzaku.svg new file mode 100644 index 0000000..c093d24 --- /dev/null +++ b/assets/svg/Hanafuda_March_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_May_Kasu_1.svg b/assets/svg/Hanafuda_May_Kasu_1.svg new file mode 100644 index 0000000..5405818 --- /dev/null +++ b/assets/svg/Hanafuda_May_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_May_Kasu_2.svg b/assets/svg/Hanafuda_May_Kasu_2.svg new file mode 100644 index 0000000..2839ec6 --- /dev/null +++ b/assets/svg/Hanafuda_May_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_May_Tane.svg b/assets/svg/Hanafuda_May_Tane.svg new file mode 100644 index 0000000..24b0b43 --- /dev/null +++ b/assets/svg/Hanafuda_May_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_May_Tanzaku.svg b/assets/svg/Hanafuda_May_Tanzaku.svg new file mode 100644 index 0000000..86bf8a6 --- /dev/null +++ b/assets/svg/Hanafuda_May_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_November_Hikari.svg b/assets/svg/Hanafuda_November_Hikari.svg new file mode 100644 index 0000000..f8c5de0 --- /dev/null +++ b/assets/svg/Hanafuda_November_Hikari.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_November_Kasu.svg b/assets/svg/Hanafuda_November_Kasu.svg new file mode 100644 index 0000000..5ab3087 --- /dev/null +++ b/assets/svg/Hanafuda_November_Kasu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_November_Tane.svg b/assets/svg/Hanafuda_November_Tane.svg new file mode 100644 index 0000000..e12ed27 --- /dev/null +++ b/assets/svg/Hanafuda_November_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_November_Tanzaku.svg b/assets/svg/Hanafuda_November_Tanzaku.svg new file mode 100644 index 0000000..4c9cdf0 --- /dev/null +++ b/assets/svg/Hanafuda_November_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_October_Kasu_1.svg b/assets/svg/Hanafuda_October_Kasu_1.svg new file mode 100644 index 0000000..885922c --- /dev/null +++ b/assets/svg/Hanafuda_October_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_October_Kasu_2.svg b/assets/svg/Hanafuda_October_Kasu_2.svg new file mode 100644 index 0000000..bf8bc3a --- /dev/null +++ b/assets/svg/Hanafuda_October_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_October_Tane.svg b/assets/svg/Hanafuda_October_Tane.svg new file mode 100644 index 0000000..db1bd4d --- /dev/null +++ b/assets/svg/Hanafuda_October_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_October_Tanzaku.svg b/assets/svg/Hanafuda_October_Tanzaku.svg new file mode 100644 index 0000000..841c2da --- /dev/null +++ b/assets/svg/Hanafuda_October_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_September_Kasu_1.svg b/assets/svg/Hanafuda_September_Kasu_1.svg new file mode 100644 index 0000000..94d1914 --- /dev/null +++ b/assets/svg/Hanafuda_September_Kasu_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_September_Kasu_2.svg b/assets/svg/Hanafuda_September_Kasu_2.svg new file mode 100644 index 0000000..4e44048 --- /dev/null +++ b/assets/svg/Hanafuda_September_Kasu_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_September_Tane.svg b/assets/svg/Hanafuda_September_Tane.svg new file mode 100644 index 0000000..04f91ab --- /dev/null +++ b/assets/svg/Hanafuda_September_Tane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/Hanafuda_September_Tanzaku.svg b/assets/svg/Hanafuda_September_Tanzaku.svg new file mode 100644 index 0000000..9756561 --- /dev/null +++ b/assets/svg/Hanafuda_September_Tanzaku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/default_env.tres b/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/default_env.tres @@ -0,0 +1,7 @@ +[gd_resource type="Environment" load_steps=2 format=2] + +[sub_resource type="ProceduralSky" id=1] + +[resource] +background_mode = 2 +background_sky = SubResource( 1 ) diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..95caaa9 --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,34 @@ +[preset.0] + +name="HTML5" +platform="HTML5" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="build/html/Hanafuda.html" +script_export_mode=1 +script_encryption_key="" + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +variant/export_type=0 +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=false +html/export_icon=true +html/custom_html_shell="" +html/head_include="" +html/canvas_resize_policy=2 +html/focus_canvas_on_start=true +html/experimental_virtual_keyboard=false +progressive_web_app/enabled=false +progressive_web_app/offline_page="" +progressive_web_app/display=1 +progressive_web_app/orientation=0 +progressive_web_app/icon_144x144="" +progressive_web_app/icon_180x180="" +progressive_web_app/icon_512x512="" +progressive_web_app/background_color=Color( 0, 0, 0, 1 ) diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..c98fbb6 Binary files /dev/null and b/icon.png differ diff --git a/icon.png.import b/icon.png.import new file mode 100644 index 0000000..a4c02e6 --- /dev/null +++ b/icon.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.png" +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/justfile b/justfile new file mode 100644 index 0000000..a6c5652 --- /dev/null +++ b/justfile @@ -0,0 +1,2 @@ +assets: + tup assets diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..af4c7b3 --- /dev/null +++ b/project.godot @@ -0,0 +1,23 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=4 + +[application] + +config/name="Hanafuda" +run/main_scene="res://Main.tscn" +config/icon="res://icon.png" + +[physics] + +common/enable_pause_aware_picking=true + +[rendering] + +environment/default_environment="res://default_env.tres"