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

Help me!!! #761

Open
DuckkFnF opened this issue Nov 22, 2024 · 8 comments
Open

Help me!!! #761

DuckkFnF opened this issue Nov 22, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@DuckkFnF
Copy link

Describe your bug here. If you are modding, try testing your bug in a clean version of the engine instead. Also, if you're using an older version of JSE, please try the latest version/action build. Also, be sure to check the pinned 'JS Engine: Known Issues' issue, to check if your issue hasn't already been found!

What is this problem???
Every time i load my song with modchart this error disappears.
If i delete modchart the it works.

Command Prompt/Terminal/Crash logs (if existing)

Uncaught Error: The property "y" is not numeric.
flixel/tweens/misc/VarTween.setStartValues() [line 103]
flixel/tweens/misc/VarTween.update() [line 55]
flixel/tweens/FlxTween.update() [line 1263]
flixel/FlxGame.update() [line 747]
flixel/FlxGame.step() [line 679]
flixel/FlxGame.onEnterFrame() [line 558]

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

No response

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

No

If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?

No

Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.

Yes

@DuckkFnF DuckkFnF added the bug Something isn't working label Nov 22, 2024
@NAEL2XD
Copy link

NAEL2XD commented Nov 22, 2024

are you using like this:

doTweenY('smth', 'sprite.y', smth, smth, 'smth')
                        ^^
                  remove that

@StinkTheStinker
Copy link

thats a stage json issue
show me the json stage real quick

@StinkTheStinker
Copy link

dont worry, i had this issue before

@StinkTheStinker
Copy link

i think at least

@StinkTheStinker
Copy link

hello??

@DuckkFnF
Copy link
Author

If i remove the script.lua then it works.

@DuckkFnF
Copy link
Author

This is not a stage problem

@DuckkFnF
Copy link
Author

function onUpdate(elapsed)
if curStep >= 0 then
songPos = getSongPosition()
local currentBeat = (songPos/1000)(bpm/200)
doTweenY(dadTweenY, 'dad', 290-130
math.sin((currentBeat*0.25)*math.pi),0.001)
end
end

local angleshit = 2;
local anglevar = 2;
function onBeatHit()
if curBeat < 300 then
if curBeat % 2 == 0 then
noteTweenX("x1",0,25,1,"quadinOut");
noteTweenX("x2",1,25,1,"quadinOut");
noteTweenX("x3",2,25,1,"quadinOut");
noteTweenX("x4",3,25,1,"quadinOut");
noteTweenX("x5",4,25,1,"quadinOut");
noteTweenX("x6",5,25,1,"quadinOut");
noteTweenX("x7",6,25,1,"quadinOut");
noteTweenX("x8",7,25,1,"quadinOut");
angleshit = anglevar;
else
angleshit = -anglevar;
noteTweenX("x1",0,25,1,"quadinOut");
noteTweenX("x2",1,25,1,"quadinOut");
noteTweenX("x3",2,25,1,"quadinOut");
noteTweenX("x4",3,25,1,"quadinOut");
noteTweenX("x5",4,25,1,"quadinOut");
noteTweenX("x6",5,25,1,"quadinOut");
noteTweenX("x7",6,25,1,"quadinOut");
noteTweenX("x8",7,25,1,"quadinOut");
end
if curBeat %5 == 0 then
noteTweenX("x1",0,100,1,"quadinOut");
noteTweenX("x2",1,250,1,"quadinOut");
noteTweenX("x3",2,350,1,"quadinOut");
noteTweenX("x4",3,450,1,"quadinOut");
noteTweenX("x5",4,1600,1,"quadinOut");
noteTweenX("x6",5,1750,1,"quadinOut");
noteTweenX("x7",6,1850,1,"quadinOut");
noteTweenX("x8",7,1950,1,"quadinOut");
noteTweenX("x1",0,25,1,"quadinOut");
end

setProperty('camHUD.angle',angleshit*3)
doTweenAngle('turn', 'camHUD', angleshit, stepCrochet*0.002, 'quadinOut')
doTweenX('tuin', 'camHUD', -angleshit*8, crochet*0.001, 'quadinOut')

end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants