mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-04 17:22:13 +08:00
feat: 修改默认波次配置为玩笑模式并调整Kernyr显示
将默认波次配置从正常模式改为玩笑模式,同时调整Kernyr角色的显示比例和贴图
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_bha5j"]
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_bha5j"]
|
||||||
[ext_resource type="Script" uid="uid://m28dwfwmmhmh" path="res://scripts/Contents/Characters/Kernyr.gd" id="2_vkls3"]
|
[ext_resource type="Script" uid="uid://m28dwfwmmhmh" path="res://scripts/Contents/Characters/Kernyr.gd" id="2_vkls3"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b1aq0k7tf1p1" path="res://resources/characters/kernyr/kernyr.jpg" id="3_vkls3"]
|
[ext_resource type="Texture2D" uid="uid://dwwpkn4q07ja2" path="res://icon.svg" id="3_vkls3"]
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id="SpriteFrames_vkls3"]
|
[sub_resource type="SpriteFrames" id="SpriteFrames_vkls3"]
|
||||||
animations = [{
|
animations = [{
|
||||||
@@ -32,7 +32,7 @@ sprite_frames = SubResource("SpriteFrames_vkls3")
|
|||||||
|
|
||||||
[node name="staticBackground" parent="texture" index="0"]
|
[node name="staticBackground" parent="texture" index="0"]
|
||||||
position = Vector2(0, -46)
|
position = Vector2(0, -46)
|
||||||
scale = Vector2(0.3, 0.3)
|
scale = Vector2(1.5, 1.5)
|
||||||
texture = ExtResource("3_vkls3")
|
texture = ExtResource("3_vkls3")
|
||||||
|
|
||||||
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ static var WAVE_JUSTJOKE = [
|
|||||||
Wave.create("Kernyr", 0, 0, true, 0, INF, 1),
|
Wave.create("Kernyr", 0, 0, true, 0, INF, 1),
|
||||||
]
|
]
|
||||||
static var WAVE_EMPTY = []
|
static var WAVE_EMPTY = []
|
||||||
static var waveConfig = [WAVE_NORMAL, 1]
|
static var waveConfig = [WAVE_JUSTJOKE, 1]
|
||||||
|
|
||||||
static var current: int = startWith(1) if WorldManager.isRelease() else startWith(waveConfig[1])
|
static var current: int = startWith(1) if WorldManager.isRelease() else startWith(waveConfig[1])
|
||||||
static var data = WAVE_NORMAL if WorldManager.isRelease() else waveConfig[0]
|
static var data = WAVE_NORMAL if WorldManager.isRelease() else waveConfig[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user