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

Make an object flicker in and out of existence #7610

Closed
ManMaster707 opened this issue Mar 26, 2022 · 1 comment
Closed

Make an object flicker in and out of existence #7610

ManMaster707 opened this issue Mar 26, 2022 · 1 comment
Labels
enhancement New feature or request wont-do

Comments

@ManMaster707
Copy link

What feature do you want to get added on the base engine?

I've noticed that in the source code of the Mario's Madness mod there's this line:

FlxFlicker.flicker(imgwarb, 0.24, 0.12, false);-- this line is used to make an object blink in and out btw

and that in the engine there's not a way in lua to blink an object without constantly adding and removing/ modifying the alpha value of an object, so I would request a line like this that you can put on lua scripts, working a bit like the haxe variant:

objectFlicker('tag', 'duration', 'interval', 'loop= false-true')

this could also blink objects from lua, PlayState, characters and (maybe) the hud, it's a very situational line, but it could be useful.

To test your sight, and reliability, please select the option of what should NOT be requested.

Stage Editor, 6K+ support, and winning icons.

@ManMaster707 ManMaster707 added the enhancement New feature or request label Mar 26, 2022
@ManMaster707
Copy link
Author

@ShadowMario understandable, have a great day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wont-do
Projects
None yet
Development

No branches or pull requests

2 participants