Commit Graph

7 Commits

Author SHA1 Message Date
luke358 dc26a7cf60 feat: 添加手枪武器 2026-05-19 21:07:44 +08:00
luke358 cf8c5b90ff feat: 1. 武器自动根据最近的敌人旋转
2. 流程:player 初始化调用 add_weapon,更新weapon_container,weapon_punch在_process每一帧中监听,更新update_closest_target最近的敌人,然后rotate_to_target旋转到最近的敌人
2026-05-19 16:44:31 +08:00
luke358 707dadd9ed feat: 1. 添加武器位置,1-6
2. 添加武器容器
3. 添加敌人的Hurtbox
2026-05-19 16:18:02 +08:00
luke358 b6bf8ef5ba feat: 添加玩家和敌人血条 2026-05-18 15:46:44 +08:00
luke358 2060719f4e feat: 添加Hitbox和Hurtbox,添加敌人和玩家之间的碰撞 2026-05-18 14:55:43 +08:00
luke358 67ea3f2d42 feat: 添加敌人并且追踪player,同时避免敌人重叠 2026-05-17 21:02:46 +08:00
luke358 b678b90883 Initial commit 2026-05-17 18:42:51 +08:00