Commit Graph

66 Commits

Author SHA1 Message Date
DelinWorks 6e1d48835e Improve particle RNG and add useful functions
Replaced M11 RNG with KISS RNG which is better and fixes a problem with particle strafing, added the ability to pause the entire particle system (useful for pause menus) and ability to control particle system time speed multiplier 💪🥶
2022-05-23 16:04:09 +03:00
DelinWorks 3dff79f416 Separate quad animation loop from color loop
This improves cache hit rate which in turn increases performance 🥶
Of course that's viable when you're using pure memory pointer arrays that use simple POD-like data types.
2022-05-23 11:32:54 +03:00
DelinWorks 09fa4da845 Improve loops using std::fill_n() [skip ci] 2022-05-23 11:11:55 +03:00
DelinWorks ba5eb463cc Recheck code and improve it (No CI I trust it 🥶) [skip ci] 2022-05-22 20:51:56 +03:00
Turky Mohammed c006fd51c0
Update core/2d/CCParticleSystem.cpp
Co-authored-by: 一线灵 <halx99@live.com>
2022-05-22 17:51:42 +03:00
Turky Mohammed 13ebf7460f
Update core/2d/CCParticleSystem.cpp
Co-authored-by: 一线灵 <halx99@live.com>
2022-05-22 17:42:54 +03:00
DelinWorks 35f0368fe0 Use const reference vectors 😮 2022-05-22 17:38:43 +03:00
DelinWorks 16fe6d7963 Reimplement atlas animation system
Reimplement atlas animations with an easier workflow and make it work with the new animation descriptor system 😍🥶🥳
2022-05-22 15:58:36 +03:00
DelinWorks a3b7217ec0 Add emitter animation random picking 2022-05-22 12:13:17 +03:00
DelinWorks 3d666712cd Update CCParticleSystem.cpp 2022-05-22 10:09:13 +03:00
DelinWorks 4a0624a9ed Macros and random functions are pain... 2022-05-21 20:23:19 +03:00
DelinWorks f18da9f6e4 Fix #include
Visual studio thinks it's doing something useful throwing includes all around LOL
2022-05-21 16:51:56 +03:00
DelinWorks c9ff24e830 Add sprite frame and animation descriptors support 2022-05-21 16:48:46 +03:00
DelinWorks 49df4d727d Update 2022-05-20 01:15:39 +03:00
halx99 2a6e749ad4 Fix ci & update project url in sources 2022-01-04 12:36:20 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00