Fades an object that implements the CCRGBAProtocol protocol. It modifies the opacity from the current value to a custom one.
Getting Started
Modding Tutorials
Geode Mods
Handbook
An Introduction to GD Modding (using Geode)
#include <Geode/cocos/actions/CCActionInterval.h>
Fades an object that implements the CCRGBAProtocol protocol. It modifies the opacity from the current value to a custom one.
⚠️ This action doesn't support "reverse"
creates an action with duration and opacity
initializes the action with duration and opacity