Quick Links: Gideros Home | Download Gideros | Developer Guide
Particle Candy for Gideros
  • ar2rsawseenar2rsawseen +1 -1 (+8 / -0 )
    Maintainer
    Just in case someone did not notice:


    ;)
  • kooooool

    :)
  • Some performance test?
    has a visual editor?
  • XPRESSIVEXPRESSIVE +1 -1 (+4 / -0 )
    Member
    Hi Folks,
    yes, Particle Candy is available for Gideros SDK now -glad to see that you already discovered the little secret =D

    Both, the list of features as well as the API are exactly the same as you are used to. You can even re-use your existing particle codes and just copy and paste them into your Gideros projects. There are only some minimal differences between the Corona and the Gideros versions, we kept 99% absolutely identical, so it should be a breeze to copy your particle codes over to your Gideros projects.

    We not only ported the library itself to Gideros, we also rewrote all included sample effects from ground up, re-polished existing ones and added lots of new (and quite spectacular) visual effect samples -see videos below. We also added a sample browser so you can conveniently browse through all the visual effect and sample codes.


    WHAT IS PARTICLE CANDY?

    Particle Candy is a very flexible, fast and powerful particle engine that was (and is) used by many commercial game titles and was developed with ease of use and performance in mind. With Particle Candy you can conveniently generate all kind of (realistic or cartoonish) visual effects in your apps and games like:

    - Shots, fire, flames & explosions
    - Clouds and smoke
    - Lens flares, missile trails, sparks, stars
    - Splats, splashes, water effects
    - Weather effects like snow, rain, mist, dust etc.
    - Particles that interact with the SDKs physics system

    All effects are made of 'particles' (images that automatically fade, scale, rotate and behave as you specify it). You can create a smoke style particle type, for example and attach it to an emitter. Position this emitter wherever you want to and trigger it at any time. It then generates smoke particles at this position. You can even attach several particle types to an emitter at once, for example a smoke type, together with a flame style type, some sparks etc... whatever.

    Usage is a breeze -see the included sample effects (video) -most of them are literally done with ~20 lines of particle code. The visual appearance of an effect depends mostly on the particle type settings you specify. This is no programming task -it's just playing with parameters (they are all explained in detail on the Particle Candy website).

    The package includes more than 70! sample codes and pre-made, ready-to-use sample effects that you can either copy and paste into your project or play with it and alter it to any effects you like. The possibilities are endless.

    If you have any questions on how to use Particle Candy or whatever, feel free to ask your question!


    PERFORMANCE
    We tested the sample effects in the videos above on a slow single core Huawei U8850, for example (which is by no means a competitor to a dual / multi core Samsung Galaxy or others) and had 60 FPS most of the time. The library is kept lighweight and as fast as possible, but of course it also depends on Gideros render engine and the target device and a lot.


    WEBSITE, REFERENCE & HOW TO:
    http://www.x-pressive.com


    COMPLETE VIDEO PLAYLIST - Watch all Particle Candy videos
    http://www.youtube.com/playlist?list=PL2s3bJNZ6FfcyW55EwE1Rng_lQ4hN3rzq


    SAMPLE EFFECTS TOUR
    These samples (and more) are all included in the package and demonstrate how easy you can do awesome looking effects -and of course you can do many more yourself! Your imagination is the limit. This video was recorded with the Gideros version, by the way (all sources included in the package):


    FEATURES TOUR
    This features tour is also included in the package. Just take a look at the regarding sample code to see how it works. All codes are kept short, clean and simple. The video does by no means cover all Particle Candy features:



    NEXT: Widget Candy =D
  • +1 from me for widget candy also. In addition one question @XPRESSIVE .
    Is there be any discount for clients already bought and using corona versions of any product, widget candy, particle candy vs vs..
    It will be great :D
  • yeah +1 for widget candy

    :)
  • XPRESSIVEXPRESSIVE +1 -1 (+2 / -0 )
    Member
    talis said:

    Is there be any discount for clients already bought and using corona versions of any product, widget candy, particle candy vs vs..
    It will be great :D"


    Sure, we still offer the bundle discount: buy one, get ALL the others (also upcoming libraries) half-off. So just enter your personal coupon code to activate your 50% discount for Particle Candy for Gideros if you previously purchased a Candy lib for Corona.

    If you did not purchase a Candy library yet, here's a little treat:

    Enter
    ---------------------
    GIDEROSCANDY
    ---------------------
    to get a copy half-off (coupon valid for short time only and may be removed without further notice).

    We also started porting Widget Candy now. However, please don't expect it within the next few days, allow us some time to do a proper work.
  • Wow great my old personal coupon code working. Thanks @XPRESSIVE . Looking forward for widget candy.
  • AlBob75 +1 -1 (+1 / -0 )
    Member
    Thanks XPRESSIVE. I took advantage of the half price offer :).

    I tried the samples on my Samsung Galaxy S3 last night, most ran steady at 60 fps, but a few of them dipped into the 40's from time to time.

    I noticed that some of the sound effects are in mp3 format. After converting these to wavs and using them in the samples instead the frame rate dips went away (I tried this on 2-3 of the samples and worked in each case). I think this is a Gideros thing, it prefers wavs for sound effects and mp3's for background music.

    Really impressed with Particle Candy after playing with the samples BTW :)>-

    Likes: SinisterSoft

  • Good to know that -we'll replace them with .wav files to prevent false performance results then.

    Here are more useful hints on how to keep a high frame rate and things that should be considered when creating particle effects:

    PERFORMANCE HINTS

  • I'm not sure how the library is delivered (assuming compiled lua byte code), but would it make any speed difference if the main particle heavy lifting code was written in C and compiled into a Gideros plugin?
    WhiteTree Games - Home, home on the web, where the bits and bytes they do play!
    #MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
  • XPRESSIVEXPRESSIVE +1 -1 (+1 / -0 )
    Member
    There would probably be a speed difference, but not a dramatic one. LUA bytecode itself is pretty fast, so the bottleneck when it comes to graphics handling is the SDK's render engine itself and how it handles graphics manipulation -and, of course, the graphics hardware of the target device. The render core does the major part of the work. You can think of Particle Candy as a director that just tells the SDK what to do with the images, but the actual work / graphics manipulation itself is still done by the SDK, not the LUA part. Looping through a bunch of tables and calculating the particle's behaviour (the LUA part) is nothing compared to the work that needs to be done under the hood.

    Likes: hgvyas123

  • ianchia +1 -1 (+1 / -0 )
    Member
    @XPRESSIVE I purchased Particle Candy yesterday and have to say I was *very* impressed and pleased with my purchase. The library is very performant, and the included sample code was very helpful and professional. Thank you also for the coupon code. I look forward to seeing Widget Candy running on Gideros.

    All the best,

    - Ian

    Likes: gorkem

  • XPRESSIVEXPRESSIVE +1 -1 (+1 / -0 )
    Member
    Thanks for the feedback :) Here's a new sample effect, by the way -it's also included in the package now (your personal download link always points to the latest version available):


    Likes: SinisterSoft

  • I only purchased it 12 hours ago, and already an update. Have to download it all again!

    Looks like an excellent addition to Gideros.

    Thankyou.

    Cheers,
    Max
  • Will Particle Candy work okay with the newest Gideros version?
  • @loucsam There should be no problem, do you experience any?
  • I haven't downloaded the new Gideros yet.
  • I thought it a visual editor for widget-candy and buy it too,and not my mind??
  • ...i am wrong,and wasting the money... is there a edtior for it?
  • ar2rsawseenar2rsawseen +1 -1
    Maintainer
    @whidbey unfortunately I don't know, you would need to ask http://www.x-pressive.com/ themselves
  • i could say about them as the email support is hard to listen from them...
    disappointing..
  • There is no editor associated with it. There's a bunch of examples of how to use it in Gideros.
  • @whidbey, what are you after really? What editor are you looking for? For Widget Candy or for Particle Candy. The samples are quite useful to understand how to use it. There is an application called Particle Designer that helps create the particle effects visually and creates pex files (used directly by a couple of frameworks, including xCode and Cocos2d). I am not 100% sure if it is supported on Particle Candy.
    twitter: @ozapps | http://www.oz-apps.com | http://howto.oz-apps.com | http://reviewme.oz-apps.com
    Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
    Cool Vizify Profile at https://www.vizify.com/oz-apps
  • Every customer has his/her own idea, and it doesn't matter how harsh are they,criticism is the source of development. But when it comes to slandering about some function that its obviously not existed and no developer claims about it nowhere, then it is totally not correct.
    I bought both products and really happy with them. Whenever there is a new version i am always getting emails from developers about the changes and download link. As for the examples, they are not perfect but for sure satisfactory.
  • @ozapps @talis,
    allright thanks ,I offcourse think candy is great work and a little way from mature. mostly,i need a email support but simply no replys,that's my worry.
  • the mike from candy teams replys me kindly and detail. thanks .
    and enjoy it when we study it.
  • Xman +1 -1
    Member
    Is the library delivered in lua source code?
  • It is be pure in Lua, without any other plugin or code.
    You will just include it in your project and use it like any lua file.
    The code is not encoded of any kind and human readable. (Not byte code)
  • Xman +1 -1
    Member
    talis said:

    It is be pure in Lua, without any other plugin or code.
    You will just include it in your project and use it like any lua file.
    The code is not encoded of any kind and human readable. (Not byte code)



    Thanks! How is the performance? Are there any app available on the app store developed by Gideros ,not the other engine, using that particle?
  • This is very interesting.
    Do you know where are the examples?
    I could not find them. (Not the videos, but code examples)

    I can't really learn how do a fire, smoke etc., by just reading the reference.
    With other words - they have this great videos with effects, but I need to know how they did it using particle candy, what settings and parameters they used to make the effects, etc.

    Also it looks like this is just a emitter engine and one needs to create/draw his own particles (which is actually hard to do).
    Do you know if they have a tutorial/suggestions of how should the particle images be created to make a good effect?

    I guess all of this is included in the package, but just wanted to confirm before paying for it :-)
  • ar2rsawseenar2rsawseen +1 -1
    Maintainer
    Gideros examples are provided there, yes. They have examples for different effects as well as examples for using textures separately or using TexturePacks directly in Gideros.

    Unfortunately I did not saw any tutorials on how to create images or how to create specific effects. But they have overall suggestions, like how to make cloud or rain by better using images with many drops together, rather than each drop separately, which will result in less particles used thus better performance.

    Usually you just select one effect from examples which is closest to what you want, and start modifying it :)

    About performance, well particles are always performance eaters, but they behave better than I thought they would be in Lua. Plus will LuaJIT will probably be even better.

    I think I had couple of games with their particle engine. Like:

    https://play.google.com/store/apps/details?id=com.jenots.magness
    http://waterbreadinternet.com/games/sweet-combo-match
    http://waterbreadinternet.com/games/sushi-the-fish
  • Thanks for the info @ar2rsawseen!
    I will probably buy it and use it in our next app.
  • Xman +1 -1
    Member
    Is this library still active and get update frequently?

  • ar2rsawseenar2rsawseen +1 -1
    Maintainer
    Not frequently, but if you encounter problems, then they get fixed
  • yubaro +1 -1
    Member
    Please help me with the following:

    -With Button Class (button.lua) when clicked:
    Case 1: Make exploit the same button.
    Case 2: Make exploit another object.

    Thanks.
  • @yubaro better to open some new topic hence this topic is not related with button.lua . In addition better to describe more of what you want, as for myself i didn't understand exactly what was your question.
  • This is very cool by the way. Had no idea this was out!
  • @talis I think @yubaro was asking for help on how to use Particle Candy to make things appear to EXPLODE when a button is clicked.

    Case 1: When button pressed, make it explode (in a mass of particles)
    Case 2: When button pressed, make an on screen object explode (in a mass of particles).
  • yubaro +1 -1
    Member
    @Scouser exactly! Any idea?
  • yubaro +1 -1
    Member
    Support for X-Pressive not respond to my emails.

    Someone who has worked with this?
  • Xman +1 -1
    Member
    Hi @XPRESSIVE
    I just bought this library, and like it very much.
    The samples are amazing.
    However, since Gideros APIs is object oriented,when began to use it in my project, I feel the APIs is not very friendly to Gideros users.
    1.SetEmitterListener and similar setListener do not support pass a optional data parameter, we can not pass in a class method as the listener jusy as addEventListener did in Gideros.
    2.texturePack can only pass the file name,that we can not put all particle's image in one pack file. It would be better to allow pass a TexturePack.
    3.the frames in the texturePack is indexed by number, not texture name,that is not convenient for large pack file and modify the file will cause the index invalid.
    4.suspended and resume events are supported by Gideros.
    Actually, all these are just tiny issues, and can be supported easily.I have already added these in my local copy, I hope these will be supported in the next official release.
  • Xman +1 -1
    Member
    Hi,guys,
    How do you determine when an emitter has finished and can be cached to reuse?
    I do it by add a line to dispatch an event by the emitter in the StopEmitter function.
  • yubaro +1 -1
    Member
    It seems no longer provide support for your product. I sent several emails and I have not received a response. Someone who can help us?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID

In this Discussion

Top Posters