ver 1.0 : Let's have a gun fight


get code here : https://github.com/JingShing/2D-Platformer-Pygame-shooter

Ver 0.1

Can use mouse to aim and used keyboard to control camera : scale camera, move camera, mouse control camera.

Ver 0.2

Add enemies and blood effect.

Enemy has a simple ai to aim player. And need to be trigger.

Ver 0.3

  • Add entity class to collect similar function and variable from player and enemies.
  • Fixed aim line to make it more correct.
  • Using weapon fail fixed.
  • Shooting will shake weapon now.
  • Add China variable to control blood is green or red.

Ver 0.4

  • Add switch weapon feature. Using list and index to change weapon.
  • Add melee attack system. Use right mouse button to melee attack.
  • AI can melee attack now. Improved AI_attack function.
  • Melee attack is part from up pos, down pos and middle pos has different value to edit.
  • Enemy will being intense if you attack in front of them.(多方位調整,目前有高、中高、中、低等攻擊位置,有正反兩面,所以有八位攻擊角。)
  • Create bullet function fixed. Now will record user.
  • Player shoot 8 direction.
  • press 8 to fullscreen.
  • Classify entity and weapon more graceful.
  • Add a dict to control shot bullet type.
  • Add resource path to each load to make sure exe will success.
  • bullet has health now.
  • Add a dict to collect weapon data
  • Add shield
  • Q can switch last weapon, E can switch next weapon.
  • Add map border
  • Add invinsible time
  • Dynamic bullet amount in map
  • Add a object class for item or moving particles.
  • Add flesh explode from dying entity.
  • Change Entity type and object type setting.
  • Add health bar. UI system first part done.
  • Add Weapon UI

Ver 0.5

  • Add object pool and 3 function about object pool. Now can store bullet in it.
    • move_to_object_pool(self, object)
    • take_from_object_pool(self, object)
    • seek_object_from_object_pool(self, object_type)
  • Update flesh move. Can add x direction by bullet hit.
  • Add particle to object pool.
  • Add joystick control.
  • Add player, enemy and weapon to object pool. -> weapon float bug
  • Fixed joystick aim.
  • Weapon spawn error fixed.
  • Add custom cursor.
  • Fixed cursor offset and aiming deviation.

Files

gunfight_prototype_ver1.rar 28 MB
Aug 23, 2022

Get GunFight Prototype槍戰原型

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.