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

How to call a secret song using the Easter egg in the title menu? #8761

Closed
Guranlikesblue opened this issue May 24, 2022 · 10 comments
Closed
Labels
help wanted Extra attention is needed

Comments

@Guranlikesblue
Copy link

Describe your problem here.

As the title says, I want to know how to call a secret song using an Easter egg.
I also want to open the secret song to the free play menu When you release it.
What should I do?

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.

Yes. Add character. Add stages and winning icons in PlayState.hx. Add Custom Note in Lua.

@Guranlikesblue Guranlikesblue added the help wanted Extra attention is needed label May 24, 2022
@Guranlikesblue
Copy link
Author

I've been searching for how to do it and finally found it, but unfortunately, it's failing.

		#if TITLE_SCREEN_EASTER_EGG
		if (easterEgg == 'DARK')
		{
			PlayState.SONG = Song.loadFromJson("satin-panties-hard", "satin-panties");
			LoadingState.loadAndSwitchState(new PlayState());
		}
		#end

I put this code under FlxTween.tween (credTextShit, {y: credTextShit.y + 20}, 2.9, {ease: FlxEase.quadInOut, type: PINGPONG}); in TitleState.hx.
If you compile the game in this state, the song will play even if you do not enter the passcode on the title screen.
You don't have to open it to the free play menu, so please tell me how to do this.

@Guranlikesblue
Copy link
Author

Find another way

@CheesecakeForever
Copy link

how?

@Guranlikesblue
Copy link
Author

how?

Like when playing souls with omnipresent mod v2

@CheesecakeForever
Copy link

Nvm you can close it, for anyone who wonders, there is code in D-Sides 2.5 source

@Guranlikesblue
Copy link
Author

Nvm you can close it, for anyone who wonders, there is code in D-Sides 2.5 source

Thank you for telling me that!!

@davidfnf
Copy link

davidfnf commented Oct 7, 2023

can i try it in psych engine 0.6.3?

@moxie-coder
Copy link

can i try it in psych engine 0.6.3?

knock yourself out

@davidfnf
Copy link

wait in what source can i find the code at

@davidfnf
Copy link

is it tiltle state or what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants