From ceb53bb4a226bcb6298e9404c4c89d24ff77a166 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Sat, 4 May 2019 23:42:07 +0200 Subject: [PATCH] More cardboard goodies --- MLPAssets/ExampleCard/ff6.jpg | Bin 0 -> 22346 bytes MLPAssets/ExampleCard/ff6.jpg.import | 36 +++++++++ MLPAssets/Models/#cardborder.wings# | Bin 1352 -> 0 bytes MLPAssets/Models/cardborder.obj | 64 ++++++++-------- MLPAssets/Models/cardborder.wings | Bin 1337 -> 1365 bytes MLPAssets/Models/cardborder.wings~ | Bin 0 -> 1343 bytes Scenes/Board.tscn | 19 +++-- Scenes/BoardUI.tscn | 60 +++++++++++++++ Scenes/Components/Card.gd | 8 ++ Scenes/Components/Card.tscn | 108 +++++++++++++++++---------- Scenes/Scripts/Board.gd | 14 +++- project.godot | 1 - 12 files changed, 226 insertions(+), 84 deletions(-) create mode 100644 MLPAssets/ExampleCard/ff6.jpg create mode 100644 MLPAssets/ExampleCard/ff6.jpg.import delete mode 100644 MLPAssets/Models/#cardborder.wings# create mode 100644 MLPAssets/Models/cardborder.wings~ create mode 100644 Scenes/BoardUI.tscn create mode 100644 Scenes/Components/Card.gd diff --git a/MLPAssets/ExampleCard/ff6.jpg b/MLPAssets/ExampleCard/ff6.jpg new file mode 100644 index 0000000000000000000000000000000000000000..22a0656282be370fe4a46c2f7c338e176795b66b GIT binary patch literal 22346 zcmcF~WmFwO)8-990|a+>clQ7R0v8GH5Zv88Sdfd$#UZ%6!v%sn1b26LwL{gBLEHX0Sy3!26*cM47_&%^RJ`-wS9p42n_=Z_u>8Q$N!_{zZy^hA3lD7f`>&! zgolTP`uG6=^?m{x9RmgplbnK`LyS#aN!iemj8at5z{n{eF8&;gQ^mnQFgB;AYZ8{~ zt8s31?G%@DLUw2O#D+vr-saXt-L$I7)A2OPh z8VP9}%4FvgDGT24Z$-i7>3;*%hcxYnjR0GGZ8>39M0oIFS_0GLsIL%<`0AbQSl=s= zoYsxsoh)*zn*SYV3_H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)Ku)}{Obny%y| zhozmrg)N#t+Oe7ov_5|I0a`X{y)eFP{l$74+%mucQqDBbjk>}18X0gAi>nFAgoa!RW(Uf7L=)|LFIu597n9R$k2C zYfhN8k8rTxCALFuxOY@?<$6{X+>28%-a6Gk^zvyV(mXS^6;#FY*s^p*aWEnsc24}5 zjjeYYQ9V?4^?c229lXl!RyDpn#!p<~QEFf=+;>rzRM@N<)w(BrADgC}RZ95e6Mw(s z_11MSId}vTBx^w2EG>Tf54u}a_Pvlu`4Hgi}JSsQlgDMf}#+yvOA<{Otw`Ln0 z&$y5_<|XcX!Q6Uoj6$7TgC)6HOPj6LX|5h_JrmG7#R`7&6f)0#$_QUDyJ+y-4s5gk zawxVQKGiFE#p47e�jZrEfux7)wwNK~_ z_VCSiX)VjuP}n)|cjkVMuF*WX{Zds1lFowl%-t>=Vm^Q1dlFHj2U7Q3u7#w73GcFh z<69uyQz0Y2L+A3pY{}Ko4AWlwS0UtLqT2fpFr}m1erShO-HBRKV!i*cJAeP!lWC{b z@RuR)&KI3y#;VDf(2&eHqL63FpY3-l)N}sHl{ubcMRvr*CHKvciH8GtW?*R7=lnRv zpPO;#YYq-yy?)S?1|1=vLTuGrxrAp`@6DfqMP2l#YCrBN_F&Y${TWi=r{ytJI10(W zH&FM5qG2P}0|&!AzSH%g_qP!4www&rna2of`u-N zCly?uhU~DCFCFdGDfk!n3veb|$cOIGhvmvFEX*9%MA?j3GP;m=!t%OrmY@73J2Q7A zOwG#vB@-UA*~}XC>#cwx@(N2oc~#r!l-uqq_v1c=%dW04O0edV6y>Mg;krQm;BYK{ z_h9eQX~uIcR4Vm^C-&U7df~cT*zyV=F0-61pfvJQQjYNPBcbLwW!ev;``KAyKD4aT oAk+{}OrhCtm|CtAn$lopC3YL(cttq=kDE^N!2X{m!GGue52>3S@&Et; literal 0 HcmV?d00001 diff --git a/MLPAssets/ExampleCard/ff6.jpg.import b/MLPAssets/ExampleCard/ff6.jpg.import new file mode 100644 index 0000000..ddb4d3f --- /dev/null +++ b/MLPAssets/ExampleCard/ff6.jpg.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="StreamTexture" +path.s3tc="res://.import/ff6.jpg-e066dece7da740f732cd9a31f65091eb.s3tc.stex" +path.etc="res://.import/ff6.jpg-e066dece7da740f732cd9a31f65091eb.etc.stex" +metadata={ +"imported_formats": [ "s3tc", "etc" ], +"vram_texture": true +} + +[deps] + +source_file="res://MLPAssets/ExampleCard/ff6.jpg" +dest_files=[ "res://.import/ff6.jpg-e066dece7da740f732cd9a31f65091eb.s3tc.stex", "res://.import/ff6.jpg-e066dece7da740f732cd9a31f65091eb.etc.stex" ] + +[params] + +compress/mode=2 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=true +flags/filter=true +flags/mipmaps=true +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=false +svg/scale=1.0 diff --git a/MLPAssets/Models/#cardborder.wings# b/MLPAssets/Models/#cardborder.wings# deleted file mode 100644 index 629326441c205bcae6692a71dd836c9dd731124f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1352 zcmV-O1-JSmAy-LGM^h~^E-(!W8Uz3U1vP_E000bKc$|%ve{54#6vtoRYrA&c4#px+q0xzBFD57U zmBLT`G=IEUh|Yp;@}dt=LvCGVr* zWefhet9FG0_XCp3Qjddh)t8ZFUQgf6yL-{_I|nvT|NX>Ovb;r3-@pAU^xU?+{n5Xd zIPeA(^y|kee{`PVhE7zg1Eo1r%n-@Cp5Tud98{jU48_GmJGX0J8 ziS1~3ZOz0}-)g1sch_v#fBQ?nqL*L$dfh+PCI?;*SPG|q8_H=u1us*IG~ey~QFM-D z!+{4t7z+16N%GiNsm^DYi=36>@hHcY!u^m^4{Id>E^irlz6Hx@&YCFvi7m^@lMdVm zSPG|j=+(*zwfp-{SIysS&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!O6`d3q3sEPaj;L+P43|S+hf@wpwr&$4uZXm4{7GI%}T(nBkG2j#L4P zQN~Np|1dOCi6XBPnO_D6@m_uOa!<`r(^L=G{p}mIM_hfwj%S)$!Ng!9%VhrOb)VJs z9?qDsQd@tY(vxj+>5^iU38yTRlm4OGwjR$mnY-bMh0f*^858avIuiL~2^5bdU=vG@ zqkxU0oNxn6!v)2|1;sZFic1HICm`3vMweViHoD}7dlj3`NSCn6syrzgaX}7iIxa6Q zGwq}QorEAp%NU7r3FmktArE zpvZ;8y<&-kbSR2KBm@po*RRotRKb!CpndhJ&@m!I#S4IWA2|0qox)R0TnYaJttrXjlc|zw diff --git a/MLPAssets/Models/cardborder.wings~ b/MLPAssets/Models/cardborder.wings~ new file mode 100644 index 0000000000000000000000000000000000000000..ec52de08d9a71fa8e1d60683db9605a8545ce951 GIT binary patch literal 1343 zcmV-F1;F|vAy-LGM^h~^E-(!W8Uz3U1uTP5000a)c$|%vZEO@p7{~W+@3rsogCa31 zQjHMHkpdb?%v>p)i2+-*Eha?I>FwO@Uiam)F9-NWF;*J_aztY+kd`WvRMVzah!6yt zkPrb82}nuRB8{S;X^9_vA$)LV_Ii6Pdw1OBuDi1{zvr3%^MB^bvmE1HC&&p6x_MS) z7{6Cs9oAV7!e+JF4fsc!zF6Lkmm2A)s!L=H{O${%*x0Lrfp|c9 zSC6duDR}%OxO{r5>sZr8KFBd1#3c}9pa*|kunbnN|=z-kJwc7{*gH@NKeP19g<*3L(J z)y;PJmHwaWYR^}I>9ZOBm-qtaxcv9Y1qTxk+2JFf{P+ya41?*7H*Y+=X0`># zKngF%!USM>0eE~@-^x}7jP3PZmtUA~hYu{->gpTW2d0F+4V63gSnzUOMgp(GSLLv( z0DQ%qwHLNvS?b?D)ZgD=hYvN34K#nX80@HkR!qdn%K z8J)1;71)FX?#II5;yT04!{bu+;M(HY{(QIDp>27YyK&A0?xym%la%f@Pk+n^NKi+r z07Z@o((^wGjdZfa<7Doa!9}9aI(nm{dHAnazW}>W?^<}on;CVzvAPXR4kq)a{5QDd zou#9n=cc%&wc9gFSN@cLr;VrPe;l-?d>1+}chk4|Q~s&#Y)<&k=BBWV=qp(`mvHG^ z!VbCE0)-s{+0qT)o-QbzE-1ZeP+B@rx&Zbm4!YO_Ip|_f_YO9llP+o5sxl=S2|HIn-k)3Lqi0Von7RD z#zvB$X@VjbPxqE364Ie43b6<{NJHMGlu*a5%g8tj1&L=%l)ai0@FwIKit0)fFNlO| z<8$Y{_u_WbMXv~wq4SZ^%r&d(NJMF<<7!1lTdrFL(N!4h!29Rj&XL%-l8%HUow)%Y zFX%i{Zz&+V0b|3*y6GfS4xb>wL{4Pr$$5Te-;Ge^mf_e7QY1LeBrb@^e73xOX{bp? z%T*zbLd%tyAz^`pP+Mb25>qj}E`g_oR;_Gq&@`lLp%%1WH&mpB@|oBP{{x1U!W8Jd BpX&es literal 0 HcmV?d00001 diff --git a/Scenes/Board.tscn b/Scenes/Board.tscn index 0125c2e..d473777 100644 --- a/Scenes/Board.tscn +++ b/Scenes/Board.tscn @@ -1,16 +1,17 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=8 format=2] [ext_resource path="res://Scenes/Scripts/Board.gd" type="Script" id=1] [ext_resource path="res://Scenes/Scripts/Camera.gd" type="Script" id=2] [ext_resource path="res://MLPAssets/Background/boardbg.jpg" type="Texture" id=3] -[ext_resource path="res://Scenes/Components/Card.tscn" type="PackedScene" id=4] +[ext_resource path="res://Scenes/BoardUI.tscn" type="PackedScene" id=4] +[ext_resource path="res://Scenes/Components/Card.tscn" type="PackedScene" id=5] -[sub_resource type="SpatialMaterial" id=2] +[sub_resource type="SpatialMaterial" id=1] flags_unshaded = true albedo_texture = ExtResource( 3 ) -[sub_resource type="PlaneMesh" id=3] -material = SubResource( 2 ) +[sub_resource type="PlaneMesh" id=2] +material = SubResource( 1 ) size = Vector2( 16, 9 ) [node name="Spatial" type="Spatial"] @@ -22,8 +23,10 @@ script = ExtResource( 2 ) [node name="MeshInstance" type="MeshInstance" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 ) -mesh = SubResource( 3 ) +mesh = SubResource( 2 ) material/0 = null -[node name="Card" parent="." instance=ExtResource( 4 )] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.433312, -0.001, 1.49195 ) +[node name="BoardUI" parent="." instance=ExtResource( 4 )] + +[node name="Card" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.55435, -0.001, 1.13711 ) diff --git a/Scenes/BoardUI.tscn b/Scenes/BoardUI.tscn new file mode 100644 index 0000000..b5e42ca --- /dev/null +++ b/Scenes/BoardUI.tscn @@ -0,0 +1,60 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://MLPAssets/ExampleCard/ff6.jpg" type="Texture" id=1] + +[sub_resource type="Animation" id=1] +resource_name = "fade ui card" +length = 0.1 +step = 0.01 +tracks/0/type = "value" +tracks/0/path = NodePath("TextureRect:visible") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.01 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 1, +"values": [ false, true ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("TextureRect:modulate") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0.01, 0.1 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("TextureRect:margin_top") +tracks/2/interp = 2 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.1 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 40.0 ] +} + +[node name="BoardUI" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="TextureRect" type="TextureRect" parent="."] +margin_left = 40.0 +margin_top = 40.0 +margin_right = 384.0 +margin_bottom = 520.0 +rect_scale = Vector2( 0.8, 0.8 ) +texture = ExtResource( 1 ) +stretch_mode = 5 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +"anims/fade ui card" = SubResource( 1 ) diff --git a/Scenes/Components/Card.gd b/Scenes/Components/Card.gd new file mode 100644 index 0000000..dd79f9e --- /dev/null +++ b/Scenes/Components/Card.gd @@ -0,0 +1,8 @@ +extends Spatial + + +func _mouse_hover(): + print("MOUSE HOVER") + +func _area_input(camera, event, click_position, click_normal, shape_idx): + breakpoint diff --git a/Scenes/Components/Card.tscn b/Scenes/Components/Card.tscn index 2bd7154..907e051 100644 --- a/Scenes/Components/Card.tscn +++ b/Scenes/Components/Card.tscn @@ -1,39 +1,11 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=10 format=2] -[ext_resource path="res://MLPAssets/Models/cardborder.obj" type="ArrayMesh" id=1] -[ext_resource path="res://MLPAssets/Models/cardborder.material" type="Material" id=2] +[ext_resource path="res://Scenes/Components/Card.gd" type="Script" id=1] +[ext_resource path="res://MLPAssets/Models/cardborder.obj" type="ArrayMesh" id=2] +[ext_resource path="res://MLPAssets/Models/cardborder.material" type="Material" id=3] +[ext_resource path="res://MLPAssets/ExampleCard/ff6.jpg" type="Texture" id=4] -[sub_resource type="Animation" id=2] -resource_name = "flip" -length = 0.5 -step = 0.05 -tracks/0/type = "value" -tracks/0/path = NodePath(".:translation") -tracks/0/interp = 2 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0.00886994, 0.25, 0.5 ), -"transitions": PoolRealArray( 1, 1, 1 ), -"update": 0, -"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 0.5, 0 ), Vector3( 0, 0, 0 ) ] -} -tracks/1/type = "value" -tracks/1/path = NodePath(".:rotation_degrees") -tracks/1/interp = 2 -tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true -tracks/1/keys = { -"times": PoolRealArray( 0.00886994, 0.5 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 0, 180 ) ] -} - -[sub_resource type="Animation" id=1] -resource_name = "tap" +[sub_resource type="Animation" id=7] length = 0.3 tracks/0/type = "value" tracks/0/path = NodePath(".:rotation_degrees") @@ -48,11 +20,65 @@ tracks/0/keys = { "values": [ Vector3( 0, 0, 0 ), Vector3( 0, -90, 0 ) ] } -[node name="Card" type="MeshInstance"] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) -mesh = ExtResource( 1 ) -material/0 = ExtResource( 2 ) +[sub_resource type="Animation" id=2] +length = 0.5 +step = 0.05 +tracks/0/type = "value" +tracks/0/path = NodePath(".:translation") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.25, 0.5 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 0.5, 0 ), Vector3( 0, 0, 0 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:rotation_degrees") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.5 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 0, 180 ) ] +} -[node name="AnimationPlayer" type="AnimationPlayer" parent="."] -anims/flip = SubResource( 2 ) -anims/tap = SubResource( 1 ) +[sub_resource type="PlaneMesh" id=8] + +[sub_resource type="SpatialMaterial" id=5] +flags_unshaded = true +albedo_texture = ExtResource( 4 ) +uv1_scale = Vector3( 0.9, 0.9, 1 ) +uv1_offset = Vector3( 0.05, 0.05, 0 ) + +[sub_resource type="BoxShape" id=6] +extents = Vector3( 0.367502, 0.0283921, 0.49861 ) + +[node name="Card" type="Spatial"] +script = ExtResource( 1 ) + +[node name="Border" type="MeshInstance" parent="."] +mesh = ExtResource( 2 ) +material/0 = ExtResource( 3 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Border"] +anims/flip = SubResource( 7 ) +anims/tap = SubResource( 2 ) + +[node name="CardImage" type="MeshInstance" parent="Border"] +transform = Transform( 0.318962, 0, 0, 0, 1, 0, 0, 0, 0.450381, 0, 0.007, 0 ) +mesh = SubResource( 8 ) +material/0 = SubResource( 5 ) + +[node name="Area" type="Area" parent="."] +input_capture_on_drag = true + +[node name="CollisionShape" type="CollisionShape" parent="Area"] +shape = SubResource( 6 ) +[connection signal="input_event" from="Area" to="." method="_area_input"] +[connection signal="mouse_entered" from="Area" to="." method="_mouse_hover"] diff --git a/Scenes/Scripts/Board.gd b/Scenes/Scripts/Board.gd index 591858a..2b92cf0 100644 --- a/Scenes/Scripts/Board.gd +++ b/Scenes/Scripts/Board.gd @@ -16,9 +16,19 @@ func _input(event: InputEvent): mouseOrigin = get_viewport().get_mouse_position() lastCameraTransform = camera.transform -func _process(delta): +func _process(delta: float): # If panning, translate mouse delta to camera delta if Input.is_action_pressed("pan"): var mouseDelta := get_viewport().get_mouse_position() - mouseOrigin var mousePos: Vector2 = mouseDelta * 0.0096 * (1-camera.getZoomLevel()/5) # Magic numbers everywhere - camera.transform.origin = lastCameraTransform.origin - Vector3(mousePos.x, 0, mousePos.y) \ No newline at end of file + camera.transform.origin = lastCameraTransform.origin - Vector3(mousePos.x, 0, mousePos.y) + +func _physics_process(delta: float): + # Raycast mouse to check for hover + var mousePos := get_viewport().get_mouse_position() + var from: Vector3 = camera.project_ray_origin(mousePos) + var to: Vector3 = from + camera.project_ray_normal(mousePos) * 1000 + var space_state := get_world().direct_space_state + var result := space_state.intersect_ray(from, to) + if result.size() > 0: + print(result) \ No newline at end of file diff --git a/project.godot b/project.godot index 87d12bd..acab94b 100644 --- a/project.godot +++ b/project.godot @@ -49,5 +49,4 @@ pan={ 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"