commit 3680de0c12087f0c47ced0f4075626944d1f37d8 Author: ‮ittaG ordnasselA Date: Fri May 3 16:24:54 2019 +0200 check in diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..37f05f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.import diff --git a/Scenes/Components/Card.tscn b/Scenes/Components/Card.tscn new file mode 100644 index 0000000..e327f9e --- /dev/null +++ b/Scenes/Components/Card.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=2 format=2] + +[sub_resource type="ImageTexture" id=1] + +[node name="Node2D" type="Node2D"] + +[node name="Border" type="Polygon2D" parent="."] +color = Color( 0, 0, 0, 1 ) +offset = Vector2( -180, -240 ) +antialiased = true +polygon = PoolVector2Array( 4, 4, 9, 1, 16, 0, 324, 0, 331, 1, 336, 4, 339, 9, 340, 16, 340, 464, 339, 471, 336, 476, 331, 479, 324, 480, 16, 480, 9, 479, 4, 476, 1, 471, 0, 464, 0, 16, 1, 9 ) + +[node name="InsideBG" type="Polygon2D" parent="Border"] +offset = Vector2( -180, -240 ) +antialiased = true +texture = SubResource( 1 ) +polygon = PoolVector2Array( 18, 18, 322, 18, 322, 462, 18, 462 ) diff --git a/Scenes/Game.tscn b/Scenes/Game.tscn new file mode 100644 index 0000000..4459c85 --- /dev/null +++ b/Scenes/Game.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Scenes/Components/Card.tscn" type="PackedScene" id=1] + +[node name="Node2D" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="Node2D2" parent="." instance=ExtResource( 1 )] +position = Vector2( 412.914, 481.231 ) +rotation = -0.188775 +scale = Vector2( 0.479999, 0.479999 ) + +[node name="Node2D3" parent="." instance=ExtResource( 1 )] +position = Vector2( 459.073, 504.964 ) +rotation = -0.0665061 +scale = Vector2( 0.479999, 0.479999 ) 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/icon.png b/icon.png new file mode 100644 index 0000000..2b65815 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..96cbf46 --- /dev/null +++ b/icon.png.import @@ -0,0 +1,34 @@ +[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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..fee1035 --- /dev/null +++ b/project.godot @@ -0,0 +1,32 @@ +; 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 + +_global_script_classes=[ ] +_global_script_class_icons={ + +} + +[application] + +config/name="MLP CARD GAME" +config/icon="res://icon.png" + +[display] + +window/size/width=1280 +window/size/height=800 + +[rendering] + +quality/driver/driver_name="GLES2" +vram_compression/import_etc=true +vram_compression/import_etc2=false +quality/depth/hdr=false +environment/default_environment="res://default_env.tres"