From 382ded0f93ec440e4045b2839de0abdfdcca2e9b Mon Sep 17 00:00:00 2001 From: freewu32 <2217332562@qq.com> Date: Fri, 24 Jul 2020 10:45:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=80=AA=E7=89=A9=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=AE=9A=E4=B9=89=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- images/logo.png | Bin 0 -> 10376 bytes images/logo.png.import | 34 +++ monster.json | 605 ++++++++++++++++++++++++++++++++++++++ project.godot | 8 + scripts/BgmAudioPlayer.gd | 1 - 5 files changed, 647 insertions(+), 1 deletion(-) create mode 100644 images/logo.png create mode 100644 images/logo.png.import create mode 100644 monster.json diff --git a/images/logo.png b/images/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..96da10254bd2ddb5455835ceb66de70ce73fc782 GIT binary patch literal 10376 zcmbVycQjnx*FQqED5H+fXwhpBL?68i5xqo9qSxr%=tOVPd+(iKkmy7=${@PYqQ&6# zJm2@f_g(8(*1C6{d-po~oW1WkyM6A7)Kpi%!=c1MK|#S&Qk2tvYU@!@P$jXRKRsb@ zgO;8eR99^U8PuhpoB{vPoD|=?qM&dy{&S;x6-#=cpuFT#l9PVxm3^Fpnfw;K96rYo z3$h^ll_}*mZUNJEbI0rSc5)|;@8I5P+L<#24`$C(Yijm!M&Vc(J;Mb`5fV$g5eD@+ z2mTaz^UJQ|;d)EYQe(0@%kka%{>kf7b@wvEOWnDZIrl?7eM>wRUhVR?ld3GPq%cFL z)|S@R+QJosa8HrcU~AlcWr#N}5OOEe zgnJ=p6g%&wvf9EI!#G7}f?04cp#e>?jTD};l}B z@cf9{(+`xmSF<7%?u?G!DQ2+t)72dlC+2z#i(|$xA4U^`!r^f*zgH%v@<~A(j%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_>uAAEDD+!cqxWPF>2?L<7dmyCX;;#NuPeGZH-WTEJkS@~EWg{wZ< ztZ*VvF?T47iRynR(Q^P+te_E)Qns2b#od;r;-`_+aDFL4N9qsqU~ z!Aj5@6L-sNfu5B$J2(Rp9W36cS(m@I2&W6#NiF+E&t0NL25E^0Jr0l)7NTG8@3tbO0xFyAs1|l|~=NwR|y8a)6)5Vg5edz}0FO%Kq4^zmzxPk_`$gLh*85Y+ zY^G4RlGn}aJpO;76qe^HG|4s= zy%X-a0PmxB6SdV15bb4K)LbAD%M7?l|^ z4|mf{QvC#S%!+y5+wMBH*{f#%W}#^+l5<`a@}T(MoRwvq=GS#V>YX4Ra7|(PD|WZs z;y2#fvsrDeK89GS)V3`JsZ}(}lP-J*YS_w5FAYL&ai(0ds_u&=j)tt;%)C;=Tz3M? z=&(gSet+nF_xMPh&|inopWTEW=P@ZPC9QRy4lEd@ah=Pqa8s*Cb8bkc^3ghUsmQuG zX>7WB|M8Fch{rV0_B^;lCm((_HyQ>k(U-1N65EQ`LC!7gwZxl?2HnN-!=&tGI$yv~ zd>OGW@$-R)gPw8Mc;@NBsOAp%eiLLvd-1=q2rsSNS4MerzN^h4`u+WKrx_d^dsSPz zU;K)U8MN3yh66!s(*Jp_M;kQh%NXP8u(wKA-w3Z^h29o)`wIxy_#;Po2j$pP3Rv?4 yk_qDW;IbGnoVHvB6YmcJT=sH>E9#q%sN{zT`Z;9U(_ums6eX~_T#bxb@P7fD4MaKs literal 0 HcmV?d00001 diff --git a/images/logo.png.import b/images/logo.png.import new file mode 100644 index 0000000..f7a377e --- /dev/null +++ b/images/logo.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/logo.png-1efe533e58f8c71cd5432a9ffe791e0e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://images/logo.png" +dest_files=[ "res://.import/logo.png-1efe533e58f8c71cd5432a9ffe791e0e.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/monster.json b/monster.json new file mode 100644 index 0000000..3531551 --- /dev/null +++ b/monster.json @@ -0,0 +1,605 @@ +{ + "greenSlime": { + "name": "绿色史莱姆", + "hp": 35, + "atk": 18, + "def": 1, + "money": 1, + "experience": 0, + "special": 0 + }, + "redSlime": { + "name": "红色史莱姆", + "hp": 45, + "atk": 20, + "def": 2, + "money": 2, + "experience": 0, + "special": 0 + }, + "blackSlime": { + "name": "大史莱姆", + "hp": 130, + "atk": 60, + "def": 3, + "money": 8, + "experience": 0, + "special": 0 + }, + "slimelord": { + "name": "史莱姆王", + "hp": 360, + "atk": 310, + "def": 20, + "money": 40, + "experience": 0, + "special": 0 + }, + "bat": { + "name": "小蝙蝠", + "hp": 35, + "atk": 38, + "def": 3, + "money": 3, + "experience": 0, + "special": 0 + }, + "bigBat": { + "name": "大蝙蝠", + "hp": 60, + "atk": 100, + "def": 8, + "money": 12, + "experience": 0, + "special": 0 + }, + "redBat": { + "name": "吸血蝙蝠", + "hp": 200, + "atk": 390, + "def": 90, + "money": 50, + "experience": 0, + "special": 0 + }, + "vampire": { + "name": "吸血鬼", + "hp": 444, + "atk": 199, + "def": 66, + "money": 144, + "experience": 0, + "special": 0, + "notBomb": true + }, + "skeleton": { + "name": "骷髅人", + "hp": 50, + "atk": 42, + "def": 6, + "money": 6, + "experience": 0, + "special": 0 + }, + "skeletonSoilder": { + "name": "骷髅士兵", + "hp": 55, + "atk": 52, + "def": 12, + "money": 8, + "experience": 0, + "special": 0 + }, + "skeletonCaptain": { + "name": "骷髅队长", + "hp": 100, + "atk": 65, + "def": 15, + "money": 30, + "experience": 0, + "special": 0, + "notBomb": true + }, + "ghostSkeleton": { + "name": "鬼战士", + "hp": 220, + "atk": 180, + "def": 30, + "money": 35, + "experience": 0, + "special": 0 + }, + "zombie": { + "name": "兽人", + "hp": 260, + "atk": 85, + "def": 5, + "money": 18, + "experience": 0, + "special": 0 + }, + "zombieKnight": { + "name": "兽人武士", + "hp": 320, + "atk": 120, + "def": 15, + "money": 30, + "experience": 0, + "special": 0 + }, + "rock": { + "name": "石头人", + "hp": 20, + "atk": 100, + "def": 68, + "money": 28, + "experience": 0, + "special": 0 + }, + "slimeMan": { + "name": "幽灵", + "hp": 320, + "atk": 140, + "def": 20, + "money": 30, + "experience": 0, + "special": 0, + "atkValue": null, + "defValue": null + }, + "bluePriest": { + "name": "初级法师", + "hp": 60, + "atk": 32, + "def": 8, + "money": 5, + "experience": 0, + "special": 0 + }, + "redPriest": { + "name": "高级法师", + "hp": 100, + "atk": 95, + "def": 30, + "money": 22, + "experience": 0, + "special": 0 + }, + "brownWizard": { + "name": "初级巫师", + "hp": 220, + "atk": 370, + "def": 110, + "money": 80, + "experience": 0, + "special": 15, + "value": 100, + "range": 1 + }, + "redWizard": { + "name": "高级巫师", + "hp": 200, + "atk": 380, + "def": 130, + "money": 90, + "experience": 0, + "special": 15, + "value": 200, + "zoneSquare": null, + "range": 1 + }, + "yellowGuard": { + "name": "初级卫兵", + "hp": 50, + "atk": 48, + "def": 22, + "money": 12, + "experience": 0, + "special": 0 + }, + "blueGuard": { + "name": "中级卫兵", + "hp": 100, + "atk": 180, + "def": 110, + "money": 50, + "experience": 0, + "special": 0 + }, + "redGuard": { + "name": "高级卫兵", + "hp": 180, + "atk": 460, + "def": 360, + "money": 200, + "experience": 0, + "special": 0 + }, + "swordsman": { + "name": "双手剑士", + "hp": 100, + "atk": 680, + "def": 50, + "money": 55, + "experience": 0, + "special": 0 + }, + "soldier": { + "name": "战士", + "hp": 210, + "atk": 200, + "def": 65, + "money": 45, + "experience": 0, + "special": 0 + }, + "yellowKnight": { + "name": "骑士队长", + "hp": 120, + "atk": 150, + "def": 50, + "money": 100, + "experience": 0, + "special": 0, + "notBomb": true + }, + "redKnight": { + "name": "骑士", + "hp": 160, + "atk": 230, + "def": 105, + "money": 65, + "experience": 0, + "special": 0 + }, + "darkKnight": { + "name": "黑暗骑士", + "hp": 180, + "atk": 430, + "def": 210, + "money": 120, + "experience": 0, + "special": 0 + }, + "blackKing": { + "name": "高级巫师", + "hp": 200, + "atk": 380, + "def": 130, + "money": 90, + "experience": 0, + "special": 18, + "bomb": false, + "value": 200 + }, + "yellowKing": { + "name": "黄衣魔王", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "greenKing": { + "name": "青衣武士", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "blueKnight": { + "name": "蓝骑士", + "hp": 100, + "atk": 120, + "def": 0, + "money": 9, + "experience": 0, + "special": 8 + }, + "goldSlime": { + "name": "黄头怪", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "poisonSkeleton": { + "name": "紫骷髅", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "poisonBat": { + "name": "紫蝙蝠", + "hp": 100, + "atk": 120, + "def": 0, + "money": 14, + "experience": 0, + "special": 13 + }, + "steelRock": { + "name": "铁面人", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "skeletonPriest": { + "name": "骷髅法师", + "hp": 100, + "atk": 100, + "def": 0, + "money": 0, + "experience": 0, + "special": 18, + "value": 20 + }, + "skeletonKing": { + "name": "骷髅王", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "skeletonWizard": { + "name": "骷髅巫师", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "redSkeletonCaption": { + "name": "骷髅武士", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "badHero": { + "name": "迷失勇者", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "demon": { + "name": "魔神武士", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "demonPriest": { + "name": "魔神法师", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "goldHornSlime": { + "name": "金角怪", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "redKing": { + "name": "魔王", + "hp": 8000, + "atk": 5000, + "def": 1000, + "money": 500, + "experience": 0, + "special": 0, + "notBomb": true + }, + "whiteKing": { + "name": "魔法警卫", + "hp": 230, + "atk": 450, + "def": 100, + "money": 100, + "experience": 0, + "special": 16 + }, + "blackMagician": { + "name": "大法师", + "hp": 4500, + "atk": 560, + "def": 310, + "money": 1000, + "experience": 0, + "special": 0, + "notBomb": true + }, + "silverSlime": { + "name": "银头怪", + "hp": 100, + "atk": 120, + "def": 0, + "money": 15, + "experience": 0, + "special": 14 + }, + "swordEmperor": { + "name": "魔王", + "hp": 5000, + "atk": 1580, + "def": 190, + "money": 500, + "experience": 0, + "special": 0, + "notBomb": true + }, + "whiteHornSlime": { + "name": "尖角怪", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "badPrincess": { + "name": "痛苦魔女", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "badFairy": { + "name": "黑暗仙子", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "grayPriest": { + "name": "中级法师", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "redSwordsman": { + "name": "剑王", + "hp": 100, + "atk": 120, + "def": 0, + "money": 7, + "experience": 0, + "special": 6, + "n": 8 + }, + "whiteGhost": { + "name": "水银战士", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "poisonZombie": { + "name": "绿兽人", + "hp": 100, + "atk": 120, + "def": 0, + "money": 13, + "experience": 0, + "special": 12 + }, + "magicDragon": { + "name": "魔龙", + "hp": 1500, + "atk": 600, + "def": 250, + "money": 800, + "experience": 0, + "special": 0, + "notBomb": true + }, + "octopus": { + "name": "大乌贼", + "hp": 1200, + "atk": 180, + "def": 20, + "money": 100, + "experience": 0, + "special": 0, + "notBomb": true + }, + "darkFairy": { + "name": "仙子", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "greenKnight": { + "name": "强盾骑士", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "special": 0 + }, + "angel": { + "name": "天使", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "point": 0, + "special": 0 + }, + "elemental": { + "name": "元素生物", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "point": 0, + "special": 0 + }, + "steelGuard": { + "name": "铁守卫", + "hp": 0, + "atk": 0, + "def": 0, + "money": 0, + "experience": 0, + "point": 0, + "special": 18, + "value": 20 + }, + "evilBat": { + "name": "邪恶蝙蝠", + "hp": 1000, + "atk": 1, + "def": 0, + "money": 0, + "experience": 0, + "point": 0, + "special": [ + 2, + 3 + ] + } +} \ No newline at end of file diff --git a/project.godot b/project.godot index 33b03aa..7210a5f 100644 --- a/project.godot +++ b/project.godot @@ -75,7 +75,11 @@ _global_script_class_icons={ [application] config/name="mota" +config/description="魔塔" run/main_scene="res://MainScene.tscn" +config/use_custom_user_dir=true +config/custom_user_dir_name="mota" +boot_splash/image="res://images/logo.png" config/icon="res://settings/icon.png" [autoload] @@ -84,6 +88,10 @@ GameFloorManager="*res://scripts/GameFloorManager.gd" GameArchiveManager="*res://scripts/GameArchiveManager.gd" AffectAudioPlayer="*res://scripts/AffectAudioPlayer.gd" +[debug] + +settings/fps/force_fps=60 + [display] window/size/width=672 diff --git a/scripts/BgmAudioPlayer.gd b/scripts/BgmAudioPlayer.gd index c3e50c6..1c4af44 100644 --- a/scripts/BgmAudioPlayer.gd +++ b/scripts/BgmAudioPlayer.gd @@ -6,4 +6,3 @@ func _ready(): stream = load("res://sounds/bgm.ogg") playing = true volume_db -= 20 - pass