new chart system implementation progress
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package funkin.scripting.events;
|
||||
|
||||
import funkin.game.StrumLine;
|
||||
import flixel.math.FlxPoint;
|
||||
|
||||
class CamMoveEvent extends CancellableEvent {
|
||||
@@ -9,25 +10,12 @@ class CamMoveEvent extends CancellableEvent {
|
||||
public var position:FlxPoint;
|
||||
|
||||
/**
|
||||
* Boyfriend's camera position.
|
||||
* Currently focused strumline.
|
||||
*/
|
||||
public var bfCamPos:FlxPoint;
|
||||
|
||||
/**
|
||||
* Dad's camera position.
|
||||
*/
|
||||
public var dadCamPos:FlxPoint;
|
||||
public var strumLine:StrumLine;
|
||||
|
||||
/**
|
||||
* Ratio for lerping between Dad and BF.
|
||||
* 0 = Camera focuses dad
|
||||
* 0.5 = Duet Camera
|
||||
* 1 = Camera focuses BF
|
||||
* Number of focused characters
|
||||
*/
|
||||
public var ratio:Float = 0;
|
||||
|
||||
/**
|
||||
* Whenever the camera focuses BF more than dad.
|
||||
*/
|
||||
public var focusBF:Bool = false;
|
||||
public var focusedCharacters:Int;
|
||||
}
|
||||
Reference in New Issue
Block a user