revert a1d07210a0
revert 更新角色和网络组件的二进制类文件 更新了 Alice.class,以反映最近角色行为的变化。 修改了 AliceAnimationTest.class,以改进动画测试。 修订了 Fighter$Action.class,以增强 Fighter 角色的动作处理。 更新了 Fighter.class,实现了新功能并进行了优化。 更改了 CreateServer$1.class,以改进服务器创建逻辑。 更新了 CreateServer.class,以提升网络处理能力和性能。
This commit is contained in:
@@ -14,7 +14,8 @@ public class Alice extends Fighter {
|
||||
speed = 350f; // 速度更快
|
||||
maxHealth = 90; // 生命值较低
|
||||
health = maxHealth;
|
||||
attackPower = 12; // 攻击力中等
|
||||
attackPower = 12; // 攻击力中等\
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -2,12 +2,16 @@ package uno.mloluyu.characters;
|
||||
|
||||
import com.badlogic.gdx.ApplicationAdapter;
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
|
||||
import com.badlogic.gdx.graphics.GL20;
|
||||
import com.badlogic.gdx.graphics.OrthographicCamera;
|
||||
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
||||
import com.badlogic.gdx.utils.viewport.FitViewport;
|
||||
import com.badlogic.gdx.utils.viewport.Viewport;
|
||||
|
||||
import uno.mloluyu.characters.Alice;
|
||||
import uno.mloluyu.characters.Fighter;
|
||||
|
||||
public class AliceAnimationTest extends ApplicationAdapter {
|
||||
|
||||
|
||||
@@ -18,8 +18,7 @@ public abstract class Fighter implements Disposable {
|
||||
public enum Action {
|
||||
IDLE, WALK, JUMP, FALL,
|
||||
ATTACK1, ATTACK2, ATTACK3, ATTACK4,
|
||||
HIT,
|
||||
DEFEND,
|
||||
HIT, DEFEND,
|
||||
SPECIAL1, SPECIAL2,
|
||||
DEATH
|
||||
}
|
||||
|
||||
@@ -26,7 +26,6 @@ public class CreateServer {
|
||||
System.out.println("玩家连接"+clientSocket);
|
||||
//连接上后在这里编写进入游戏界面的代码
|
||||
} catch (Exception e) {
|
||||
|
||||
|
||||
} finally {
|
||||
if (clientSocket != null) {
|
||||
|
||||
BIN
src/main/resources/character/alice/精灵1.2-0.png
Normal file
BIN
src/main/resources/character/alice/精灵1.2-0.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
1064
src/main/resources/character/alice/精灵1.2.atlas
Normal file
1064
src/main/resources/character/alice/精灵1.2.atlas
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user