Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions assets/content/cookbook/Advanced/08.DialogueCutscenes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ To start off you must make a few assets (or use the default ones). Let's go over
"color": "#3F2021",
"fontFamily": "Pixel Arial 11 Bold",
"shadowColor": "#D89494",
"shadowWidth": 2,
"shadowWidth": 2
},

"animations": [
{
"name": "enter",
"prefix": "speech bubble normal0",
"offsets": [0, 0],
"frameRate": 24,
"frameRate": 24
},
{
"name": "idle",
"prefix": "speech bubble normal0",
"offsets": [0, 0],
},
],
"offsets": [0, 0]
}
]
}
```

Expand All @@ -61,13 +61,13 @@ Next we can define some speakers with their own individual json, let's look at s
{
"name": "talkEnter",
"prefix": "portraitEnter0",
"frameRate": 12,
"frameRate": 12
},
{
"name": "talk",
"prefix": "portraitTalk0",
},
],
"prefix": "portraitTalk0"
}
]
}
```

Expand All @@ -94,18 +94,18 @@ Conversations, as the name implies are the conversations between two or more cha
"backdrop": {
"type": "solid",
"fadeTime": 2.0,
"color": "#BFB3DFD8",
"color": "#BFB3DFD8"
},

"music": {
"asset": "Lunchbox",
"fadeTime": 2.0,
"looped": true,
"looped": true
},

"outro": {
"type": "fade",
"fadeTime": 1.0,
"fadeTime": 1.0
},

"dialogue": [
Expand All @@ -115,7 +115,7 @@ Conversations, as the name implies are the conversations between two or more cha
"box": "roses",
"boxAnimation": "enter",

"text": ["Ah, a new fair maiden has come in search of true love!"],
"text": ["Ah, a new fair maiden has come in search of true love!"]
},
{
"speaker": "senpai",
Expand All @@ -124,18 +124,18 @@ Conversations, as the name implies are the conversations between two or more cha
"boxAnimation": "speaking",

"text": [
"A serenade between gentlemen shall decide where her beautiful heart shall reside.",
],
"A serenade between gentlemen shall decide where her beautiful heart shall reside."
]
},
{
"speaker": "bf-pixel",
"speakerAnimation": "talkEnter",
"box": "roses",
"boxAnimation": "speaking",

"text": ["Beep bo bop"],
},
],
"text": ["Beep bo bop"]
}
]
}
```

Expand Down
4 changes: 1 addition & 3 deletions assets/content/cookbook/Community/03.FunkinCompiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ VS Code will be able to statically check the syntax of your code and detect any

Sometimes, you might know the exact type of a generic object (like the exact type of `ev.targetState`). In those scenarios, you can assume the type like so:

```hx
```haxe
package mikolka;

// Imports here
Expand All @@ -113,7 +113,6 @@ class ExampleModule extends Module
}
}
}

```

Here, we cast `ev.targetState` to `OptionsState` after confirming with `Std.isOfType` that it's actually the state we're looking for.
Expand Down Expand Up @@ -171,7 +170,6 @@ Here's how you can use them to customize your launch configuration:
}
]
}

```

### Extension options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ A custom playable character requires creating a new JSON file in the `data/chara
"pico-playable",
"pico-blazin",
"pico-christmas",
"pico-dark",
"pico-dark"
],
"showUnownedChars": false,
"unlocked": true,
Expand All @@ -76,56 +76,56 @@ A custom playable character requires creating a new JSON file in the `data/chara
"introBadEndFrame": 0,

"loopBadStartFrame": 0,
"loopBadEndFrame": -1,
"loopBadEndFrame": -1
},
"charSelect": {
"transitionDelay": 0.45,
"transitionDelay": 0.45
},
"animations": [
{
"name": "intro",
"prefix": "pico dj intro",
"offsets": [631.7, 362.6],
"offsets": [631.7, 362.6]
},
{
"name": "idle",
"prefix": "Pico DJ",
"offsets": [625, 360],
"offsets": [625, 360]
},
{
"name": "idleEasterEgg",
"prefix": "Pico DJ afk",
"offsets": [625, 360],
"offsets": [625, 360]
},
{
"name": "confirm",
"prefix": "Pico DJ confirm",
"offsets": [625, 360],
"offsets": [625, 360]
},
{
"name": "fistPump",
"prefix": "pico cheer",
"offsets": [975, 260],
"offsets": [975, 260]
},
{
"name": "loss",
"prefix": "Pico DJ loss",
"offsets": [625, 360],
"offsets": [625, 360]
},
{
"name": "charSelect",
"prefix": "Pico DJ to CS",
"offsets": [625, 360],
},
],
"offsets": [625, 360]
}
]
},
"charSelect": {
"position": 3,
"gf": {
"assetPath": "charSelect/neneChill",
"animInfoPath": "charSelect/neneAnimInfo",
"visualizer": true,
},
"visualizer": true
}
},
"results": {
"music": {
Expand All @@ -134,7 +134,7 @@ A custom playable character requires creating a new JSON file in the `data/chara
"EXCELLENT": "resultsEXCELLENT-pico",
"GREAT": "resultsNORMAL-pico",
"GOOD": "resultsNORMAL-pico",
"SHIT": "resultsSHIT-pico",
"SHIT": "resultsSHIT-pico"
},
"perfectGold": [
{
Expand All @@ -143,8 +143,8 @@ A custom playable character requires creating a new JSON file in the `data/chara
"zIndex": 500,
"scale": 0.88,
"offsets": [385, 82],
"loopFrame": 91,
},
"loopFrame": 91
}
],
"perfect": [
{
Expand All @@ -153,8 +153,8 @@ A custom playable character requires creating a new JSON file in the `data/chara
"zIndex": 500,
"scale": 0.88,
"offsets": [385, 82],
"loopFrame": 91,
},
"loopFrame": 91
}
],
"excellent": [
{
Expand All @@ -164,8 +164,8 @@ A custom playable character requires creating a new JSON file in the `data/chara
"scale": 1.25,
"offsets": [350, 25],
"looped": true,
"loopFrame": 32,
},
"loopFrame": 32
}
],
"great": [
{
Expand All @@ -175,8 +175,8 @@ A custom playable character requires creating a new JSON file in the `data/chara
"scale": 1.25,
"offsets": [350, 25],
"looped": true,
"loopFrame": 32,
},
"loopFrame": 32
}
],
"good": [
{
Expand All @@ -185,19 +185,19 @@ A custom playable character requires creating a new JSON file in the `data/chara
"zIndex": 500,
"scale": 1.25,
"offsets": [350, 25],
"loopFrame": 41,
},
"loopFrame": 41
}
],
"loss": [
{
"renderType": "animateatlas",
"assetPath": "shared:resultScreen/results-pico/resultsSHIT",
"zIndex": 500,
"offsets": [-185, -125],
"loopFrame": 0,
},
],
},
"loopFrame": 0
}
]
}
}
```

Expand Down
Loading