CBEffects 3.0

CBEffects now supports graphics compatibility mode. To activate it, do the following:

  1. Set “useLegacyGraphics” on line #14 of CBEffects/cbe_core/misc/presets.lua to true

  2. Change the 1 at the end of line #203 of CBEffects/cbe_core/vent_core/core.lua to 255

Thanks for using CBEffects!

  • C

Hi Caleb,

Like others, I wanted to thank you for all your work on this library. I just upgrade my version of Corona and am now using the graphics 2.0 feature and at the same time downloaded the latest CBEffects library. Most stuff is just working but I’m getting an error when trying to use a vent group. The error is core:199: attempt to index field ‘listvents’ <a nil value>. Any ideas on why that might be appearing? I have given each of the vents in the group a different title.

I should add that I’m also using a preset (sparks) for vents in this group.

Many thanks!

Jeff

Yeah, someone just posted an issue on that. It was a typo in the library. If you re-download or copy + paste the contents of CBEffects/cbe_core/core.lua into your current version, it ought to fix this error.

  • Caleb

Thanks for your reply Caleb.

That fixed the first error but now I’m getting another complaint from line 215 where params is a nil value. It attempts to get #params but apparently it’s not set.

Scratch that. Twas my error. I had

someAnim=CBE.newVentGroup()

instead of 

someAnim=CBE.newVentGroup

Many thanks!

Jeff

Ok, glad you got things working :slight_smile:

  • Caleb

Hi Caleb,

Like others, I wanted to thank you for all your work on this library. I just upgrade my version of Corona and am now using the graphics 2.0 feature and at the same time downloaded the latest CBEffects library. Most stuff is just working but I’m getting an error when trying to use a vent group. The error is core:199: attempt to index field ‘listvents’ <a nil value>. Any ideas on why that might be appearing? I have given each of the vents in the group a different title.

I should add that I’m also using a preset (sparks) for vents in this group.

Many thanks!

Jeff

Yeah, someone just posted an issue on that. It was a typo in the library. If you re-download or copy + paste the contents of CBEffects/cbe_core/core.lua into your current version, it ought to fix this error.

  • Caleb

Thanks for your reply Caleb.

That fixed the first error but now I’m getting another complaint from line 215 where params is a nil value. It attempts to get #params but apparently it’s not set.

Scratch that. Twas my error. I had

someAnim=CBE.newVentGroup()

instead of 

someAnim=CBE.newVentGroup

Many thanks!

Jeff

Ok, glad you got things working :slight_smile:

  • Caleb