finalizing the dialogue system 11
more stuff and text formats! Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com>
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
package funkin.backend.scripting.events;
|
||||
|
||||
import flixel.sound.FlxSound;
|
||||
|
||||
final class DialogueBoxSetTextEvent extends CancellableEvent
|
||||
{
|
||||
public var text:String;
|
||||
|
||||
public var speed:Float;
|
||||
|
||||
public var customTypeSFX:Array<FlxSound>;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package funkin.backend.scripting.events;
|
||||
|
||||
/**
|
||||
* Event with random dynamic values useful for making your own custom events
|
||||
*/
|
||||
final class DynamicEvent extends CancellableEvent {
|
||||
public var value1:Dynamic = null;
|
||||
public var value2:Dynamic = null;
|
||||
public var value3:Dynamic = null;
|
||||
public var value4:Dynamic = null;
|
||||
public var value5:Dynamic = null;
|
||||
}
|
||||
+3
-1
@@ -1,8 +1,10 @@
|
||||
package funkin.backend.scripting.events;
|
||||
package funkin.backend.scripting.events.dialogue;
|
||||
|
||||
import funkin.game.cutscenes.dialogue.DialogueCharacter;
|
||||
|
||||
final class DialogueBoxCharPopupEvent extends CancellableEvent
|
||||
{
|
||||
public var char:DialogueCharacter;
|
||||
|
||||
public var force:Bool;
|
||||
}
|
||||
+4
-1
@@ -1,5 +1,6 @@
|
||||
package funkin.backend.scripting.events;
|
||||
package funkin.backend.scripting.events.dialogue;
|
||||
|
||||
import funkin.backend.utils.XMLUtil.TextFormat;
|
||||
import flixel.sound.FlxSound;
|
||||
|
||||
final class DialogueBoxPlayBubbleEvent extends CancellableEvent
|
||||
@@ -10,6 +11,8 @@ final class DialogueBoxPlayBubbleEvent extends CancellableEvent
|
||||
|
||||
public var text:String;
|
||||
|
||||
public var format:Array<TextFormat>;
|
||||
|
||||
public var speed:Float;
|
||||
|
||||
public var customSFX:FlxSound;
|
||||
@@ -0,0 +1,15 @@
|
||||
package funkin.backend.scripting.events.dialogue;
|
||||
|
||||
import funkin.backend.utils.XMLUtil.TextFormat;
|
||||
import flixel.sound.FlxSound;
|
||||
|
||||
final class DialogueBoxSetTextEvent extends CancellableEvent
|
||||
{
|
||||
public var text:String;
|
||||
|
||||
public var format:Array<TextFormat>;
|
||||
|
||||
public var speed:Null<Float>;
|
||||
|
||||
public var customTypeSFX:Array<FlxSound>;
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package funkin.backend.scripting.events;
|
||||
package funkin.backend.scripting.events.dialogue;
|
||||
|
||||
import haxe.xml.Access;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package funkin.backend.scripting.events;
|
||||
package funkin.backend.scripting.events.dialogue;
|
||||
|
||||
import funkin.game.cutscenes.dialogue.DialogueCharacter.DialogueCharAnimContext;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package funkin.backend.scripting.events;
|
||||
package funkin.backend.scripting.events.dialogue;
|
||||
|
||||
import funkin.game.cutscenes.dialogue.DialogueCharacter.DialogueCharAnimContext;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package funkin.backend.scripting.events;
|
||||
package funkin.backend.scripting.events.dialogue;
|
||||
|
||||
import haxe.xml.Access;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package funkin.backend.scripting.events;
|
||||
package funkin.backend.scripting.events.dialogue;
|
||||
|
||||
import haxe.xml.Access;
|
||||
|
||||
Reference in New Issue
Block a user