ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.16k stars 2.23k forks source link

gf color tweem #15766

Open PleaseEnterUsernameHere opened 1 month ago

PleaseEnterUsernameHere commented 1 month ago

Describe your problem here.

i have tried basically everything to make gf change color mid song via doColorTween but haven't been able to do so ive tried every possible combination and im stumped on what to do

my code if needed:

doTweenColor('gfColorTween', 'gf', 'ff0000',0.5, 'linear') i also tried doTweenColor('gfColorTween', 'girlfriend', 'ff0000',0.5, 'linear') but nothing has worked at all

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows x64

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

aside from usual modding junk, then no

JHAM25 commented 1 month ago

Try this one: doTweenColor('gfColorTween', 'gf', 'ff0000',0.5, 'linear')

And it changes to red

Can you send more code snippets where you try to change the color of gf to try to solve the error?

MaksPRO12667 commented 1 month ago

Describe your problem here.

i have tried basically everything to make gf change color mid song via doColorTween but haven't been able to do so ive tried every possible combination and im stumped on what to do

my code if needed:

doTweenColor('gfColorTween', 'gf', 'ff0000',0.5, 'linear') i also tried doTweenColor('gfColorTween', 'girlfriend', 'ff0000',0.5, 'linear') but nothing has worked at all

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows x64

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

aside from usual modding junk, then no

idk, it works normal For example: function onStepHit() if curStep == 5 then doTweenColor('gfColorTween', 'gf', 'ff0000',0.5, 'linear') end end

function onCreate() doTweenColor('gfColorTween', 'gf', 'ff0000',0.5, 'linear') end

it works too.. Something wrong with your game. What version do you have?

PleaseEnterUsernameHere commented 1 month ago

(sry for the late response) im using 0.6.3 i think well, modded 0.6.3, but i think it should still work

MaksPRO12667 commented 1 month ago

(sry for the late response) im using 0.6.3 i think well, modded 0.6.3, but i think it should still work

Don't forget to specify the version of Psych Engine, okay? And if it's modded engine, then what are you doing here? You should ask questions there (JS engine issues): https://github.com/JordanSantiagoYT/FNF-JS-Engine/issues