dude what i fixed it???
what??? screenshots???
This commit is contained in:
parent
4ca3c389b7
commit
564df4b519
@ -4,6 +4,7 @@
|
||||
1. The ability to compile Kade Engine from the source code. All information related to building Kade Engine is listed [here.](https://kadedev.github.io/Kade-Engine/building)
|
||||
2. A text editor. Some form of IDE that can support Haxe is recommended, such as Visual Studio Code.
|
||||
|
||||
---
|
||||
### Step 1. Navigation
|
||||
Navigate to your Kade Engine source code. In the `source` folder, look for `StoryMenuState.hx`. Open it in your text editor.
|
||||
|
||||
@ -11,7 +12,7 @@ Navigate to your Kade Engine source code. In the `source` folder, look for `Stor
|
||||
|
||||
Scroll down to Line 26, or Search (Windows/Linux: `Ctrl+F`, Mac: `Cmd+F`) for "weekData". You should find an Array that looks like this:
|
||||
|
||||
=====
|
||||
---
|
||||
|
||||
var weekData:Array<Dynamic> = [
|
||||
|
||||
@ -31,25 +32,26 @@ var weekData:Array<Dynamic> = [
|
||||
|
||||
];
|
||||
|
||||
=====
|
||||
|
||||
Copy `['Senpai', 'Roses', 'Thorns']` into an empty line below it, and change the song names to the song names you want to use.
|
||||
Don't forget to add a comma at the end of the previous Week, and you have your songlist for the week completed!
|
||||
|
||||
=====
|
||||
|
||||
Example:
|
||||
Example
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
['Ugh', 'Guns', 'Stress']
|
||||
|
||||
=====
|
||||
---
|
||||
|
||||
### Step 3. Songlist
|
||||
Directly below the songlist should be an Array titled `weekCharacters`. This array tells the game what characters to display in the top yellow bar when a certain week is selected.
|
||||
It's not very useful unless you followed the Characters guide (will link to it once it's actually done). If you have, though, you can insert the name of your character into the first pair of quotes in a new "week". Example:
|
||||
|
||||
=====
|
||||
Example:
|
||||
Example
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
var weekCharacters:Array<Dynamic> = [
|
||||
|
||||
@ -71,13 +73,16 @@ var weekCharacters:Array<Dynamic> = [
|
||||
|
||||
];
|
||||
|
||||
=====
|
||||
---
|
||||
|
||||
### Step 4. Week Names
|
||||
|
||||
Underneath the song list, there should be another array called "weekNames". Creating a new line in that array, just enter a string that represents what you want the week to be called.
|
||||
|
||||
=====
|
||||
Example
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
var weekNames:Array<String> = [
|
||||
|
||||
@ -99,14 +104,28 @@ var weekNames:Array<String> = [
|
||||
|
||||
];
|
||||
|
||||
=====
|
||||
|
||||
---
|
||||
|
||||
Now, compile the game, and if all goes correctly, the Story Mode menu shouldn't crash your game. If you make your way to the bottom of the list, there's your custom week! Except... its displaying as a HaxeFlixel Logo?
|
||||
|
||||
### Step 5. Graphics
|
||||
|
||||
Displaying a week icon for your custom week is as simple as dropping a .png into `assets/images/storymenu`. Rename the file to "week7.png", "week8.png", etc.
|
||||
|
||||
Example
|
||||
---
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
NOTE: You will have to add a new item to "weekUnlocked", so that the week is playable.
|
||||
|
||||

|
||||
|
||||
|
||||
### Conclusion
|
||||
|
||||
If you have followed all the steps correctly, you have successfully created a new week in the Story Mode.
|
||||
If you followed all of the steps correctly, you have successfully created a new week in the Story Mode.
|
||||
|
Loading…
x
Reference in New Issue
Block a user