This commit is contained in:
		
							parent
							
								
									c9dcc5ffd9
								
							
						
					
					
						commit
						992e38188c
					
				|  | @ -66,11 +66,11 @@ class Character extends ActiveObject { | ||||||
|     function Init(Idx) { |     function Init(Idx) { | ||||||
|         //初始化动画组 |         //初始化动画组 | ||||||
|         CurrentAni = []; |         CurrentAni = []; | ||||||
| 
 |         //获取角色职业信息 | ||||||
|         Info = sq_DeepCopy(AssetManager.CharacterInfoList[Idx]); |         Info = sq_DeepCopy(AssetManager.CharacterInfoList[Idx]); | ||||||
|         base.Init(Info); |         base.Init(Info); | ||||||
| 
 | 
 | ||||||
|         // Util.PrintTable(Info); |   | ||||||
|         //初始化基础Ani |         //初始化基础Ani | ||||||
|         InitBaseAni(); |         InitBaseAni(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -11,20 +11,20 @@ function TestStage() { | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|     local Window = Sq_CreateWindow(_Login_Window, "启动界面窗口", 0, 0, 288, 512, 0); |     // local Window = Sq_CreateWindow(_Login_Window, "启动界面窗口", 0, 0, 288, 512, 0); | ||||||
|     Window.ResetFocus(); |     // Window.ResetFocus(); | ||||||
| 
 | 
 | ||||||
|     // local Fontobj = Font(); |     // local Fontobj = Font(); | ||||||
| 
 | 
 | ||||||
|     // local MapObj = Map("map/cataclysm/town/elvengard/new_elvengard.map"); |     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/seria_room/elvengard.map"); | ||||||
|     // // local MapObj = Map("map/cataclysm/town/sainthorn_heaven/sainthorn_heaven_ship_rear_down.map"); |     // local MapObj = Map("map/cataclysm/town/sainthorn_heaven/sainthorn_heaven_ship_rear_down.map"); | ||||||
|     // T.Addchild(MapObj); |     T.Addchild(MapObj); | ||||||
| 
 | 
 | ||||||
|     // local Charc = Character(); |     local Charc = Character(); | ||||||
|     // Charc.Init(0); |     Charc.Init(0); | ||||||
|     // Charc.SetPosition(356, 430, 0); |     Charc.SetPosition(356, 430, 0); | ||||||
|     // Charc.SetAnimation(Charc.RestAni); |     Charc.SetAnimation(Charc.RestAni); | ||||||
|     // Charc.SetZOrder(99999999); |     Charc.SetZOrder(99999999); | ||||||
|     // MapObj.Addchild(Charc); |     MapObj.Addchild(Charc); | ||||||
| } | } | ||||||
		Loading…
	
		Reference in New Issue