-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
property "y" things #15620
Comments
why are you removing text before tween is completed? |
oh- |
have you tried it again? |
it still has that bug/error no matter what |
textGroup.forEachExists(function (text:FlxBasic) {}) Try only using the textGroup forEachExists bc its the one that has all text, no other things unlike credGroup |
where should i put that/those lines of code in like in the delete text function or addmore text or createcooltext |
deleteCoolText |
what would this do/help with |
inside the function for the foreach iteration u will add the tweens that u wanna do |
so credGroup is basically useless in the context of tweening the text out |
credGroup stores all stuff which is not only the text. u are trying to edit the text so when it disappears, it will do a tween instead of it getting destroyed, so its best to use textGroup instead of the credGroup to not mess up other stuff |
so would it be
the reason i added the tween for |
Describe your bug here.
i edited deleteCoolText in the title state so that instead of just spontaniously disappearing i made it so that it tweens to y 750, and compilation works but idk whenever it got to the part of the text disappearing it hit me with the error "The object does not have to property "y"".
heres part of the code i edited:
Command Prompt/Terminal logs (if existing)
flixel/tweens/misc/VarTween.hx (line 99) flixel/tweens/misc/VarTween.hx (line 55) flixel/tweens/FlxTween.hx (line 1099) flixel/FlxGame.hx (line 745) flixel/FlxGame.hx (line 677) flixel/FlxGame.hx (line 545) openfl/events/EventDispatcher.hx (line 402) openfl/display/DisplayObject.hx (line 1399) imagine getting: The object does not have the property "y"
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
yes, i edited titlestate and added a new bg that replaces blackScreen, and edited the deleteCoolText so that it tweens instead
The text was updated successfully, but these errors were encountered: