2022-07-31 22:33:30 +08:00
|
|
|
local _M = {}
|
|
|
|
|
2022-08-02 01:00:54 +08:00
|
|
|
_M.ShowLicenseTime = 2.5
|
|
|
|
|
2022-08-04 00:14:17 +08:00
|
|
|
_M.SoundName = {
|
|
|
|
Shoot = "SHOOT",
|
|
|
|
PlayerHurt = "PLAYER_HURT",
|
|
|
|
MonsterHurt = "MONSTER_HURT",
|
|
|
|
GameOver = "GAMEOVER",
|
2022-08-06 00:32:20 +08:00
|
|
|
HpRecover = "HPRECOVER",
|
|
|
|
PickupGun = "PickupGun",
|
2022-08-04 00:14:17 +08:00
|
|
|
}
|
|
|
|
|
2022-07-31 22:33:30 +08:00
|
|
|
_M.TileSize = 32
|
|
|
|
_M.PlayerInfo = {
|
|
|
|
velocity = 250,
|
|
|
|
hp = 100,
|
|
|
|
}
|
|
|
|
_M.MonsterInfo = {
|
|
|
|
velocity = 100,
|
|
|
|
hp = 50,
|
|
|
|
damage = 10,
|
|
|
|
}
|
|
|
|
_M.RoleColliBox = {
|
|
|
|
w = 14,
|
|
|
|
h = 32,
|
|
|
|
x = 9,
|
|
|
|
y = 0,
|
|
|
|
}
|
2022-08-04 00:14:17 +08:00
|
|
|
_M.SupplyColliBox = {
|
|
|
|
w = 32,
|
|
|
|
h = 32,
|
|
|
|
x = 9,
|
|
|
|
y = 0,
|
|
|
|
}
|
2022-07-31 23:51:12 +08:00
|
|
|
_M.MonsterBirthInterval = 1
|
|
|
|
_M.MonsterBirthInitNum = 1
|
2022-07-31 22:33:30 +08:00
|
|
|
_M.Invincible = 1
|
|
|
|
_M.BulletColliBox = {
|
|
|
|
x = 10,
|
|
|
|
y = 0,
|
|
|
|
w = 12,
|
|
|
|
h = 12,
|
|
|
|
}
|
|
|
|
_M.StonePutProbability = 0.1
|
|
|
|
_M.PlayerHpBarInfo = {
|
|
|
|
width = _M.TileSize,
|
|
|
|
height = 5,
|
|
|
|
}
|
|
|
|
_M.MonsetHpBarInfo= {
|
|
|
|
width = _M.TileSize,
|
|
|
|
height = 5,
|
|
|
|
}
|
|
|
|
_M.GunInfo = {
|
|
|
|
cooldown = 0.1
|
|
|
|
}
|
2022-08-04 00:14:17 +08:00
|
|
|
|
|
|
|
_M.BulletType = {
|
|
|
|
Normal = 1,
|
|
|
|
Ice = 2,
|
|
|
|
Fire = 3,
|
|
|
|
}
|
|
|
|
|
2022-07-31 22:33:30 +08:00
|
|
|
_M.BulletInfo = {
|
2022-08-04 00:14:17 +08:00
|
|
|
[_M.BulletType.Normal] = {
|
|
|
|
damage = 10,
|
|
|
|
velocity = 500,
|
|
|
|
cooldown = 0.1,
|
|
|
|
initNum = -1,
|
|
|
|
},
|
|
|
|
[_M.BulletType.Ice] = {
|
|
|
|
damage = 5,
|
|
|
|
velocity = 400,
|
|
|
|
cooldown = 0.1,
|
|
|
|
initNum = 100,
|
|
|
|
},
|
|
|
|
[_M.BulletType.Fire] = {
|
|
|
|
damage = 7,
|
|
|
|
velocity = 600,
|
|
|
|
cooldown = 0.1,
|
|
|
|
fireDamage = 1,
|
|
|
|
initNum = 100,
|
|
|
|
},
|
2022-07-31 22:33:30 +08:00
|
|
|
}
|
2022-08-04 00:14:17 +08:00
|
|
|
|
|
|
|
_M.BulletEffectTime = {
|
|
|
|
IceTime = 2,
|
|
|
|
FireTime = 2,
|
2022-07-31 22:33:30 +08:00
|
|
|
}
|
2022-08-04 00:14:17 +08:00
|
|
|
_M.RoleState = {
|
|
|
|
Normal = 1,
|
|
|
|
Ice = 2,
|
|
|
|
Fire = 3,
|
|
|
|
}
|
2022-08-06 00:32:20 +08:00
|
|
|
_M.SupplyFalldownKillNum = 20
|
2022-08-04 00:14:17 +08:00
|
|
|
|
|
|
|
_M.SupplyType = {
|
|
|
|
IceGun = 1,
|
|
|
|
FireGun = 2,
|
|
|
|
HpRecover = 3,
|
|
|
|
}
|
|
|
|
_M.SupplyItem = {
|
2022-08-06 00:32:20 +08:00
|
|
|
[_M.SupplyType.IceGun] = { num = 50},
|
|
|
|
[_M.SupplyType.FireGun] = { num = 50},
|
2022-08-04 00:14:17 +08:00
|
|
|
[_M.SupplyType.HpRecover] = { recover = 50},
|
2022-07-31 22:33:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
return _M
|