Hi there, we discovered Corona2D some time ago and we immediately loved it. It’s simple to use but it should not be underestimated. We think Corona has the potential for a “Cocos2D” killer -although, some homework has to be done before then (adding more vital game features like blend modes, bitmap access, tinting, animation stuff etc…). Oh, and there’s no particle engine at the moment. Wait… now there is one!
I hope this is the right category to post this, but we are proud to announce the Corona portation of our Particle Candy effects engine.
ENOUGH WORDS -WATCH A DEMO VIDEO HERE
OKAY, WHAT IS PARTICLE CANDY?
Particle Candy is an extremely flexible, yet straightforward to use particle engine library to create all imaginable stuff of special effects in your Corona games like smoke, trails, fire, explosions, debris, flares, dust, clouds, shots, light rays, water fontains, blood splats, even weather effects like rain, snow -everything you can imagine.
It’s a single .lua module (which you can also extend to your needs) that you just include using require( ) on top of your code and you’re immediately ready to create professional special effects with a few lines of code only. Particle Candy allows you to create stunning effects - with a few lines of code only.
The flexible Particle Candy engine proved its power since 1995 in many commercial game titles and was originally developed for Blitz3D. It became one of the most popular Blitz libraries during the last years and is now available for the Corona iPhone / Android SDK. For the Corona SDK, Particle Candy has been rewritten from scratch to make the most efficient use of Corona features, performance and memory management. It was ported from 3D to 2D and also gained many new features and improvements.
LIBRARY FEATURES
-
Comes with many clean, easy-to-follow sample codes!
-
Clean, commented LUA code that can be extended by your own!
-
Light-weight, high-performance library (~30KB only!)
-
Supports Sprite Sheets (create particles from animated images)
-
Supports Texure Atlases (place particles images on a single texture)
-
Supports hardware suspend & resume (f.e. “Home” button on iPhone)
-
Particle engine can be freezed & resumed at any time
-
Optional debug mode with detailed error messages
EMITTER FEATURES
-
Unlimited amount of emitters*
-
Move, rotate, parent emitters like common display objects
-
Various emitter emission shapes (point, line, circle, disc etc.)
-
Scale effects to any size (distant explosions etc.)
-
Loop emitters (and define a pause delay between loops)
-
Start & stop emitters at any time, using individual start delays
-
Auto-destroy emitters when they finished emission
-
Attach as many different particle types to an emitter as you like
-
Define individual emission rates, emission durations and delays
-
Use one-shot emission or steady-over-time emission
PARTICLE FEATURES
-
Unlimited amount of particles*
-
Draw particles in different groups (layers)
-
Draw particles behind or in front of other images
-
Use force fields to influence particles (gravity fields etc.)
-
Motion-aligned particles (create water fountains, sparks etc.)
-
Let particles bounce off from screen borders
-
Define particle kill areas (remove particles on enter)
-
Define bounce-off areas (particles will be rejected)
-
Create a particle type once and re-use it many times
-
Apply forces like gravity, attraction and bounce-off fields
-
Particles fire events when destroyed
-
All particle properties can be changed in realtime!
-
Particles are fully customizable:
-
Animated size
-
Animated scale
-
Animated rotation
-
Animated fade-in, fade-out
-
Variable speed
-
Acceleration, deceleration
-
Weight (mass)
-
Bounciness
* Only limited by device memory and performance
HOW TO USE
We posted a Quick Start chapter, together with the engine’s complete command reference on our website. Usage is quite simple and very straightforward as you can see here:
BETA TESTERS WANTED
Particle Candy for Corona is currently in the final phase, so we are looking for some involved Corona users to give it a test run and put it to the acid test. The engine is under constant development, so more features will be added soon, but speed and performance are the primary goals. Please let us know what you think about.
[import]uid: 10504 topic_id: 3193 reply_id: 303193[/import]