Today I bring to you, a recreation of Hotline 024's code menu!
Use this for your mods or whatever you like really. This is my first time doing something like this, so I might update this month down the line, who knows, but it's fully functioning! So go ahead, use it!
This script is NOT exclusive to Psych Engine but might need to be edited just a tad bit to be used, but nothing major.
Wanna see my Gallery?
Check it out, here!
=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
How to set up
- Drag and drop the "CodeState.hx" into the respective folder. (If using Psych 0.7.x, be sure to put package.states at the top line)
- Put the images folder that contains "menus" into the respective images folder.
- Make a custom code by editing the update function! By default, there is one code, being 2934
.
You can put your code in there, and make it run a function, by default it's loadCode();Edit the function, or add your own by copying and pasting it to make it so that when enter/accept is pressed when it equals a certain code, the function is ran!
- Make it load the CodeState. For example, throw this into the MainMenuState of your source code folder.
if (FlxG.keys.justPressed.C) {
Code:
MusicBeatState.switchState(new CodeState());
}
After that, you should be set to go. If you have any questions, let me know
=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
IF YOU USE OR EDIT THIS IN ANY WAY, CREDIT ME! Or else I will turn you into a goomba...