Skip to content

Commit

Permalink
add new nft card and fix use mana
Browse files Browse the repository at this point in the history
  • Loading branch information
kai63001 committed Mar 5, 2022
1 parent 22260c8 commit 4c993d3
Show file tree
Hide file tree
Showing 57 changed files with 293 additions and 24 deletions.
4 changes: 2 additions & 2 deletions godot/.import/1.png-c8fc454fef3667dc59c6849b879f9a46.md5
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source_md5="73151132bbb5ea147bd495620a031912"
dest_md5="c48e48caa7c496e24a1e6479377fccd3"
source_md5="03619a5f8268118ac2146390b4ffe682"
dest_md5="6183a05ed250902973579ce76deec55d"

Binary file modified godot/.import/1.png-c8fc454fef3667dc59c6849b879f9a46.stex
Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/1.png-e63e2c96a4ca9cd14158419dfe35bc4b.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="73151132bbb5ea147bd495620a031912"
dest_md5="c48e48caa7c496e24a1e6479377fccd3"

Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/2.png-1f226eab5afb1e7d43c00289eb91ad41.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="7d7af8d8e25208d53727a3708ddcf626"
dest_md5="ddd4de58c02a56a97addf1a903e2aa03"

Binary file not shown.
4 changes: 2 additions & 2 deletions godot/.import/2.png-88ff064b95e0ad4be41db0692b595030.md5
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source_md5="7d7af8d8e25208d53727a3708ddcf626"
dest_md5="ddd4de58c02a56a97addf1a903e2aa03"
source_md5="5b92a658623049222587c882bd70f896"
dest_md5="3a85d700486f98a5e6953effcbf2bec8"

Binary file modified godot/.import/2.png-88ff064b95e0ad4be41db0692b595030.stex
Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/3.png-7840e3f9dda16a44bb880b20a55dee61.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="46291c91a7a8938d5cc7a1150c0f7b40"
dest_md5="6c74d66ea1dae07bfa902e8b681eb418"

Binary file not shown.
4 changes: 2 additions & 2 deletions godot/.import/3.png-8a72672c6832c8fd0990f3aa200d7af5.md5
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source_md5="46291c91a7a8938d5cc7a1150c0f7b40"
dest_md5="6c74d66ea1dae07bfa902e8b681eb418"
source_md5="a459cb80c68564b0f3d5737e8c9a53c1"
dest_md5="de1f48be64f2126d02c611ac95eced13"

Binary file modified godot/.import/3.png-8a72672c6832c8fd0990f3aa200d7af5.stex
Binary file not shown.
4 changes: 2 additions & 2 deletions godot/.import/4.png-6adcae6058badbcd9388e0a932b104ca.md5
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source_md5="abf0c4180096242b9ba59384121e2785"
dest_md5="deebfbe8c8989625d1ed024334c9b710"
source_md5="3f82350b0b6fce5f4ae0881e22406675"
dest_md5="f3c61afe81829f09d9cac8352d658bb2"

Binary file modified godot/.import/4.png-6adcae6058badbcd9388e0a932b104ca.stex
Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/4.png-749480eb52100c6aba6e6b245a859a3b.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="abf0c4180096242b9ba59384121e2785"
dest_md5="deebfbe8c8989625d1ed024334c9b710"

Binary file not shown.
4 changes: 2 additions & 2 deletions godot/.import/5.png-12df45c07ccdad12c09f83f69905d84b.md5
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source_md5="3515137c25606fffe0e7befd8d885c89"
dest_md5="6dfc9c9606ff57faadd56b7ce241a64d"
source_md5="e42d69e33932b4b39340972a2cce33de"
dest_md5="0e5241736c3353265f2fe1b6e29cc071"

Binary file modified godot/.import/5.png-12df45c07ccdad12c09f83f69905d84b.stex
Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/5.png-e82ead3353858c8d505987ec4b9ac89d.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="3515137c25606fffe0e7befd8d885c89"
dest_md5="6dfc9c9606ff57faadd56b7ce241a64d"

Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/attack.png-84f4916084cc4f27aabab14075c2720e.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="03619a5f8268118ac2146390b4ffe682"
dest_md5="6183a05ed250902973579ce76deec55d"

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="5b92a658623049222587c882bd70f896"
dest_md5="3a85d700486f98a5e6953effcbf2bec8"

Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/lock.png-4ddbc8299b11c26c8cbf81c8be18a0d8.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="3f82350b0b6fce5f4ae0881e22406675"
dest_md5="f3c61afe81829f09d9cac8352d658bb2"

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="202c35857ec00ed38edae05a4a91d22d"
dest_md5="5a800d475636120d8db718721ec2e074"

Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/suffle.png-2f2a42f5e8056eaf85cf14f3f68a6203.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="e42d69e33932b4b39340972a2cce33de"
dest_md5="0e5241736c3353265f2fe1b6e29cc071"

Binary file not shown.
3 changes: 3 additions & 0 deletions godot/.import/suffle.png-a054224b177bb1db105c34ab8b75815c.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="e42d69e33932b4b39340972a2cce33de"
dest_md5="0e5241736c3353265f2fe1b6e29cc071"

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source_md5="46291c91a7a8938d5cc7a1150c0f7b40"
dest_md5="6c74d66ea1dae07bfa902e8b681eb418"
source_md5="a459cb80c68564b0f3d5737e8c9a53c1"
dest_md5="de1f48be64f2126d02c611ac95eced13"

Binary file modified godot/.import/watcher.png-b6cf22bdf1b230c20c5f17a19bd1301a.stex
Binary file not shown.
Binary file modified godot/Assets/NFT/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified godot/Assets/NFT/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified godot/Assets/NFT/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified godot/Assets/NFT/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified godot/Assets/NFT/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added godot/Assets/NFT/backup/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions godot/Assets/NFT/backup/1.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/1.png-e63e2c96a4ca9cd14158419dfe35bc4b.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/NFT/backup/1.png"
dest_files=[ "res://.import/1.png-e63e2c96a4ca9cd14158419dfe35bc4b.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
Binary file added godot/Assets/NFT/backup/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions godot/Assets/NFT/backup/2.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/2.png-1f226eab5afb1e7d43c00289eb91ad41.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/NFT/backup/2.png"
dest_files=[ "res://.import/2.png-1f226eab5afb1e7d43c00289eb91ad41.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
Binary file added godot/Assets/NFT/backup/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions godot/Assets/NFT/backup/3.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/3.png-7840e3f9dda16a44bb880b20a55dee61.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/NFT/backup/3.png"
dest_files=[ "res://.import/3.png-7840e3f9dda16a44bb880b20a55dee61.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
Binary file added godot/Assets/NFT/backup/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions godot/Assets/NFT/backup/4.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/4.png-749480eb52100c6aba6e6b245a859a3b.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/NFT/backup/4.png"
dest_files=[ "res://.import/4.png-749480eb52100c6aba6e6b245a859a3b.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
Binary file added godot/Assets/NFT/backup/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions godot/Assets/NFT/backup/5.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/5.png-e82ead3353858c8d505987ec4b9ac89d.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/NFT/backup/5.png"
dest_files=[ "res://.import/5.png-e82ead3353858c8d505987ec4b9ac89d.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
Binary file added godot/Assets/NFT/nftbackcard.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions godot/Assets/NFT/nftbackcard.jpg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/nftbackcard.jpg-18453c70a0bee43967147899bd6e935f.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/NFT/nftbackcard.jpg"
dest_files=[ "res://.import/nftbackcard.jpg-18453c70a0bee43967147899bd6e935f.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
2 changes: 1 addition & 1 deletion godot/Demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<script type='text/javascript' src='index.js'></script>
<script type='text/javascript'>//<![CDATA[

const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":2869872,"index.wasm":17472981},"focusCanvas":true,"gdnativeLibs":[]};
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":3490176,"index.wasm":17472981},"focusCanvas":true,"gdnativeLibs":[]};
var engine = new Engine(GODOT_CONFIG);

(function() {
Expand Down
Binary file modified godot/Demo/index.pck
Binary file not shown.
21 changes: 21 additions & 0 deletions godot/Screen/AlertNFT.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[gd_scene load_steps=2 format=2]

[ext_resource path="res://Assets/NFT/nftbackcard.jpg" type="Texture" id=1]

[node name="AlertNFT" type="Control"]
margin_left = -161.0
margin_top = -220.0
margin_right = 124.0
margin_bottom = 200.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="TextureRect" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 1 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
8 changes: 6 additions & 2 deletions godot/Screen/CardNFT/CardNFT.tscn
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=4 format=2]

[ext_resource path="res://Script/CardNFT/CardNFT.gd" type="Script" id=1]
[ext_resource path="res://Assets/NFT/1.png" type="Texture" id=2]
[ext_resource path="res://Assets/NFT/backup/1.png" type="Texture" id=3]

[node name="CardNFT" type="Node2D"]
script = ExtResource( 1 )

[node name="NFT" type="Sprite" parent="."]
visible = false
position = Vector2( 64.375, 89.375 )
scale = Vector2( 0.112165, 0.111558 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )

[node name="TextureButton" type="TextureButton" parent="."]
margin_right = 125.0
margin_bottom = 173.0
texture_normal = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
Expand Down
15 changes: 8 additions & 7 deletions godot/Screen/StartedGame.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=29 format=2]
[gd_scene load_steps=30 format=2]

[ext_resource path="res://Assets/Stacked pixel.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Assets/Count/borderCountPoint.png" type="Texture" id=2]
Expand All @@ -24,6 +24,7 @@
[ext_resource path="res://Script/My/mana.gd" type="Script" id=22]
[ext_resource path="res://Script/Enemy/mana.gd" type="Script" id=23]
[ext_resource path="res://Screen/NFT.tscn" type="PackedScene" id=24]
[ext_resource path="res://Screen/AlertNFT.tscn" type="PackedScene" id=25]

[sub_resource type="DynamicFont" id=3]
size = 32
Expand Down Expand Up @@ -501,12 +502,12 @@ __meta__ = {
pause_mode = 2
wait_time = 60.0

[node name="Control" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AlertNFT" parent="." instance=ExtResource( 25 )]
visible = false
margin_left = -102.0
margin_top = -151.0
margin_right = 102.0
margin_bottom = 150.0

[connection signal="enemyCountChangeSignal" from="." to="EnemyUI/TimerEnemy" method="_on_StartGame_enemyCountChangeSignal"]
[connection signal="enemyCountChangeSignal" from="." to="EnemyUI/CountBar/enemyCountBar" method="_on_StartGame_enemyCountChangeSignal"]
Expand Down
Loading

1 comment on commit 4c993d3

@kai63001
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.