ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.14k stars 2.2k forks source link

How do i move menu items items and stop menu background from moving in psych 1.0.0 prerelease? #15681

Open JoogyWoogy opened 1 week ago

JoogyWoogy commented 1 week ago

Describe your problem here.

I'm not that experienced with coding, and since my programmer guy is gonna be away for awhile, I need help knowing how to move the main menu items around.

After comparing the (i assume new) MainMenuState.hx to one of the many tutorials I watched, I couldn't find the strings that they are using to move it around. can someone more experienced perhaps help me?

And I couldn't find any tutorials for the no menu scrolling part, so that would also be nice to be assisted with. Heres what i want to replicate:

image

Here's what it looks like now

image

Vs what i want it to:

image

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

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

I Changed the main menu images and removed the "mods" selection in the main menu.

a-random441 commented 1 week ago

Remove the lines that include camFollow, and to move the menuitems, you would need to use this: `` case 0: menuItem.x = value; menuItem.y = value;

} ``

JoogyWoogy commented 1 week ago

Remove the lines that include camFollow, and to move the menuitems, you would need to use this: case 0: menuItem.x = value; menuItem.y = value;

are you able to show me what lines I'm removing and where I'm adding the new ones? sorry if i'm wasting your time btw.

a-random441 commented 1 week ago

Remove the lines that include camFollow, and to move the menuitems, you would need to use this: case 0: menuItem.x = value; menuItem.y = value;

are you able to show me what lines I'm removing and where I'm adding the new ones? sorry if i'm wasting your time btw.

put it above the } at the section of function createMenuItem