Commit Graph

41 Commits

Author SHA1 Message Date
Nguyễn Gia Phong 0d219f4767 Utilize f-strings 2020-09-06 22:50:00 +07:00
Nguyễn Gia Phong ed2add42ff Retire Travis 2020-09-06 22:32:59 +07:00
Nguyễn Gia Phong f04a2ef34e Update README 2020-06-26 11:29:56 +07:00
Nguyễn Gia Phong 9d7acf032c Employ Travis CI 2020-06-25 08:16:42 +07:00
Nguyễn Gia Phong caa9421a2c Use flit and isort 2020-06-24 22:34:05 +07:00
Nguyễn Gia Phong a7658383ac Type hint a little more 2020-06-24 21:57:07 +07:00
Nguyễn Gia Phong 468566d831 Micro-optimize to resolve #2 2019-12-30 21:42:03 +07:00
Nguyễn Gia Phong 705805aede Add an AI example 2019-10-22 22:45:15 +07:00
Nguyễn Gia Phong de76232b3e Get the API ready for bot scripting 2019-10-22 22:44:52 +07:00
Nguyễn Gia Phong da5d903d07 Fix typos and minor math stuff 2019-10-04 21:19:07 +07:00
Nguyễn Gia Phong 9a0a3ff3e0 Revise peer creation and exit 2019-10-03 13:27:36 +07:00
Nguyễn Gia Phong 2503006d07 Continue modularization
The changes includes:
* Modularize argument parser
* Let peer handle FPS based on abstract timer
* Allow specifying configuration file
* Implement printing default configurations
2019-10-02 21:33:51 +07:00
Nguyễn Gia Phong aa6878e80d Clean up interface
This includes:
* Separate user control from graphical display
* Modularize config parser
* Clean up namespace of each module and expose functions and classes
  at package level
2019-10-02 11:46:21 +07:00
Nguyễn Gia Phong 97d7add7e3 Split some functions into smaller ones 2019-09-21 23:29:37 +07:00
Nguyễn Gia Phong 0d306a8a6b Document and type-hint 2019-09-21 21:24:30 +07:00
Nguyễn Gia Phong 91a6b54e04 Allow lunging by shooting backward 2019-09-20 20:27:04 +07:00
Nguyễn Gia Phong 84f829628b Make peer.Peer.pull thread-safe for real this time using queue.Queue 2019-09-20 19:55:31 +07:00
Nguyễn Gia Phong 17ff7d02dd Improve visiuals
No homo tho
2019-09-04 17:02:39 +07:00
Nguyễn Gia Phong a82f3b5f14 Nitpick here and there 2019-08-29 21:55:43 +07:00
Nguyễn Gia Phong a7c92163c0 Let shards do damage 2019-08-26 16:00:04 +07:00
Nguyễn Gia Phong 1ec17fa772 Make recoil independant from FPS and limit shooting speed 2019-08-25 11:46:17 +07:00
Nguyễn Gia Phong c32bc50f58 Revise geometry and physics
Shards are now rotated to look better.  Pico get recoiled while firing.
Size of these objects are tweaked.  Vector normalize function is fixed.
Graphics get less edgy.
2019-08-24 16:06:18 +07:00
Nguyễn Gia Phong a8babebfdf Display convenient info in the title 2019-08-23 09:47:53 +07:00
Nguyễn Gia Phong fceb35ca7e Use barrel distortion to comfort wide view angle 2019-08-19 17:42:52 +07:00
Nguyễn Gia Phong 9a8f9b0e3b Fix locks 2019-08-19 15:30:38 +07:00
Nguyễn Gia Phong 9ed60f50ab Make more properties configurable 2019-07-30 17:59:51 +07:00
Nguyễn Gia Phong f3d93f6a29 Parse config file 2019-07-15 17:11:40 +07:00
Nguyễn Gia Phong 6acc4202a6 Fix stuttering camera rotation (hopefully) and clean up 2019-06-26 02:10:14 +07:00
Nguyễn Gia Phong 94ecb1b119 Use geometry shaders to (hopefully) lighten CPU workload
Also tweak color palette for better contrast
2019-06-24 15:59:43 +07:00
Nguyễn Gia Phong c7a280191d Add chromatic aberration post-effect 2019-05-23 16:04:40 +07:00
Nguyễn Gia Phong 491a6779f1
Add bloom effect to picos and shards via post-processing 2019-04-22 01:59:48 +07:00
Nguyễn Gia Phong fa1e885d26 Apply inverse-square law for fragment lighting 2019-04-15 22:15:15 +07:00
Nguyễn Gia Phong 7cc4ffb114 Add icon and license notice for map generator 2019-04-15 22:15:15 +07:00
Nguyễn Gia Phong 64f01b3fe0 Make shards visible to other peers. 2019-03-03 22:04:01 +07:00
Nguyễn Gia Phong 74ac31d239 Introduce Shard object
Only works locally at the moment and not optimized.
2019-03-01 11:02:00 +07:00
Nguyễn Gia Phong 809a577f6d Get networking working 2019-02-26 12:05:47 +07:00
Nguyễn Gia Phong 49b8f97d6d Optimize a little bit 2019-02-10 14:57:52 +07:00
Nguyễn Gia Phong de0d42d0c9 Separate characters to their own class 2019-02-08 15:50:41 +07:00
Nguyễn Gia Phong 2ab149ed44 Use rotational matrix instead of Euler angles
This way there won't be any gimbal lock
2019-02-08 14:44:37 +07:00
Nguyễn Gia Phong 0a3e1681c8 Add world map 2019-02-06 23:08:24 +07:00
Nguyễn Gia Phong 7f5129b770
Initial commit 2019-02-06 20:37:09 +07:00