This commit is contained in:
Lenheart 2024-12-14 12:08:20 +08:00
parent c9dcc5ffd9
commit 992e38188c
3 changed files with 15 additions and 15 deletions

2
.gitignore vendored
View File

@ -2,4 +2,4 @@ ImagePacks2/
SoundPacks/
Yosin_Game_Reloading.Sign
Script.pvf
Yosin_Engine.pdb
Yosin_Engine.pdb

View File

@ -66,11 +66,11 @@ class Character extends ActiveObject {
function Init(Idx) {
//初始化动画组
CurrentAni = [];
//获取角色职业信息
Info = sq_DeepCopy(AssetManager.CharacterInfoList[Idx]);
base.Init(Info);
// Util.PrintTable(Info);
//初始化基础Ani
InitBaseAni();

View File

@ -11,20 +11,20 @@ function TestStage() {
local Window = Sq_CreateWindow(_Login_Window, "启动界面窗口", 0, 0, 288, 512, 0);
Window.ResetFocus();
// local Window = Sq_CreateWindow(_Login_Window, "启动界面窗口", 0, 0, 288, 512, 0);
// Window.ResetFocus();
// local Fontobj = Font();
// local MapObj = Map("map/cataclysm/town/elvengard/new_elvengard.map");
// // local MapObj = Map("map/cataclysm/town/seria_room/elvengard.map");
// // local MapObj = Map("map/cataclysm/town/sainthorn_heaven/sainthorn_heaven_ship_rear_down.map");
// T.Addchild(MapObj);
local MapObj = Map("map/cataclysm/town/elvengard/new_elvengard.map");
// local MapObj = Map("map/cataclysm/town/seria_room/elvengard.map");
// local MapObj = Map("map/cataclysm/town/sainthorn_heaven/sainthorn_heaven_ship_rear_down.map");
T.Addchild(MapObj);
// local Charc = Character();
// Charc.Init(0);
// Charc.SetPosition(356, 430, 0);
// Charc.SetAnimation(Charc.RestAni);
// Charc.SetZOrder(99999999);
// MapObj.Addchild(Charc);
local Charc = Character();
Charc.Init(0);
Charc.SetPosition(356, 430, 0);
Charc.SetAnimation(Charc.RestAni);
Charc.SetZOrder(99999999);
MapObj.Addchild(Charc);
}