标题: Magical Box粒子插件 [打印本页] 作者: 会飞的鱼 时间: 2012-3-15 14:47 标题: Magical Box粒子插件 Magical Box
Modular Particle Engine for Unity (OSX,Windows)
Magical Box (MB) is an expandable multi-purpose particle engine. We created Magical Box because we hardly missed some advanced features in Unity's built-in Particlesystem. So while developing Magical Box we focused on the following points:
Modularity: Allow coders to easily plug their own stuff into both the engine and it's editor.
Performance: Avoid unneccessary calculations, let multiple emitters share a single mesh etc...
Fun: Make designing Particle FX an interactive and visually appealing experience.
2D: Support a broad range of 2D features like Circle, Rectangle and Imagemap emitters
Some screenshots of the Magical Box editor:
Download the Magical Box tech demo
MacOS (Universal Binary, zipped)
Windows (zipped)
WebPlayer (1024x768, opens in another window)
Note: The demo is best seen in 1024x768, a quality setting of Good or below will disable VSync.
Features
Unity Integration
Full-blown Editor GUI: Cut/Copy/Paste all objects and parameters
Gizmo-Support while editing
Automatic texture packing and material management
Hierarchy:
Full default hierarchy support, just make sure all Magical Box objects have a ParticleSystem somewhere up the tree
Use Anchors or your own game objects to group emitters.
Nested emitters and anchors
Performance
One DrawCall per ParticleSystem (containing unlimited Emitters) using a custom Particle Renderer
ParticleSystems using the same material can be dynamically batched
Modular design: only used Parameters will be calculated
Several 2D/3D billboarding modes
Control
Control single emitters or a whole ParticleSystem at once.
Arrange timing of Emitters using a visual timeline editor.
Callback-based event system
Every child emitter can be used as a trail
Animate emission rate over emitter's lifetime
Distribute particles even over EmitterType's shape
Parameters
Fine control birth and lifetime values
Almost any value can be animated using curves
Built-in particle parameters:
Image animation (OneShot,Loop,Ping-Pong,Manual)
Lifetime ("Energy")
Size (axis independent)
Velocity, Acceleration, Friction
Mass, Gravity
World Collider
ForceFields: Radial, Rectangle
Color: Fixed, Timeline or based on keys or gradients. Auto-Fade In/Out.
Heading (i.e. direction velocity and acceleration is applied to)
Orientation (i.e. Angular velocity) with several modes (including AlignToVelocity, AlignToHeading)
Rotation (around emitter)
Expandability
Create new emitter types and parameters easily within minutes. Just inherit from the respective base class and add your custom logic (C# only)
Fully integrate your custom classes into the Magical Box editor by creating your custom editor handler and using the provided GUI helper functions.
Documentation
C# Source is well formatted and fully documented using Intellisense-XML
Online & offline HTML-Help
Examples and tutorials 作者: 彬彬 时间: 2012-3-16 19:36