1
0
mirror of https://gitee.com/freeyz/godot-mota.git synced 2024-12-22 15:09:22 +08:00

增加怪物数据定义,增加启动界面

This commit is contained in:
freewu32 2020-07-24 10:45:25 +08:00
parent 7167461059
commit 382ded0f93
5 changed files with 647 additions and 1 deletions

BIN
images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

34
images/logo.png.import Normal file
View File

@ -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

605
monster.json Normal file
View File

@ -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
]
}
}

View File

@ -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

View File

@ -6,4 +6,3 @@ func _ready():
stream = load("res://sounds/bgm.ogg")
playing = true
volume_db -= 20
pass