Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlxCamera.color is not functional #3207

Open
DetectiveBaldi opened this issue Jul 6, 2024 · 1 comment
Open

FlxCamera.color is not functional #3207

DetectiveBaldi opened this issue Jul 6, 2024 · 1 comment

Comments

@DetectiveBaldi
Copy link
Contributor

Using the following sample results in a untinted white graphic, the expected output is for it to be tinted red:

package;

import flixel.FlxG;
import flixel.FlxSprite;
import flixel.FlxState;

import flixel.util.FlxColor;

class PlayState extends FlxState
{
    override function create():Void
    {
        super.create();

        add(new FlxSprite().makeGraphic(640, 480, FlxColor.WHITE));

        FlxG.camera.color = FlxColor.RED;
    }
}

image-11.png

@Geokureli
Copy link
Member

Thanks I'll take a look!

@Geokureli Geokureli added this to the 5.9.0 milestone Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants