dialogues rewrites & more week 6 porting WIP

This commit is contained in:
⍚~Nex
2024-02-17 04:03:11 +01:00
parent ae721ed4e4
commit 778de6bbc6
15 changed files with 173 additions and 72 deletions
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE codename-engine-dialogue>
<dialogue box="senpai">
<!-- All characters -->
<char name="dad" char="dad" position="left" />
<char name="boyfriend" char="boyfriend" position="right" />
<!-- Lines -->
<line char="dad">
Not bad for an ugly worm.
</line>
<line char="dad">
But this time I'll rip your nuts off right after your girlfriend finishes gargling mine.
</line>
<line char="boyfriend">
Bop beep be be skdoo bep
</line>
</dialogue>
+1 -5
View File
@@ -1,4 +1,3 @@
static var roses_shouldPlayOnThorns = false;
var self = this;
__script__.setParent(PlayState.instance);
@@ -36,10 +35,7 @@ function create() {
FlxG.camera.followLerp = 0;
FlxTween.tween(camGame.scroll, {x: -366, y: 192}, 3, {
ease: FlxEase.cubeInOut,
onComplete: (_) -> {
roses_shouldPlayOnThorns = true;
self.close();
}
onComplete: (_) -> {self.close();}
});
}
});
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE codename-engine-dialogue>
<dialogue box="senpai">
<!-- All characters -->
<char name="dad" char="dad" position="left" />
<char name="boyfriend" char="boyfriend" position="right" />
<!-- Lines -->
<line char="dad">
Ah, a new fair maiden has come in search of true love!
</line>
<line char="dad">
A serenade between gentlemen shall decide where her beautiful heart shall reside.
</line>
<line char="boyfriend">
Beep bo bop
</line>
</dialogue>
+22
View File
@@ -0,0 +1,22 @@
<!DOCTYPE codename-engine-dialogue>
<dialogue box="senpai">
<!-- All characters -->
<char name="dad" char="dad" position="left" />
<!-- Lines -->
<line char="dad">
Direct contact with real humans, after being trapped in here for so long...
</line>
<line char="dad">
and HER of all people.
</line>
<line char="dad">
I'll make her father pay for what he's done to me and all the others,,,,
</line>
<line char="dad">
I'll beat you and make you take my place.
</line>
<line char="dad">
You don't mind your bodies being borrowed right? It's only fair...
</line>
</dialogue>
+1 -9
View File
@@ -1,6 +1,5 @@
import flixel.addons.util.FlxSimplex;
static var roses_shouldPlayOnThorns = false;
var self = this;
__script__.setParent(PlayState.instance);
@@ -9,13 +8,6 @@ var senpaiEvil:FlxSprite;
var dfx = 0;
var dfy = 0;
function create() {
// Cutscene stuff
if(!roses_shouldPlayOnThorns) {
disableScript();
self.close();
return;
}
roses_shouldPlayOnThorns = false;
camHUD.visible = false;
var red:FlxSprite = new FlxSprite().makeSolid(FlxG.width + 100, FlxG.height + 100, 0xFFff1b31);
@@ -64,7 +56,7 @@ function create() {
white.destroy();
camHUD.visible = true;
self.close();
self.startDialogue("songs/" + PlayState.instance.SONG.meta.name.toLowerCase() + "/creepyDialogue.xml", self.close);
}
});