Skip to content
Discussion options

You must be logged in to vote

UPDATE:
Here's the full class. Implement using [Alphabet instance].effects.push([MarkupEffect instance]);.

MarkupEffect.hx:

package funkin.menus.ui.effects;

import flixel.util.FlxColor;
import flixel.util.helpers.FlxRange;
import funkin.menus.ui.effects.RegionEffect;

class MarkupEffect extends RegionEffect
{
	public var char:UnicodeString;
	public var color:FlxColor;
	public var borderColor:FlxColor;

	public function new(char:UnicodeString, color:FlxColor = 0xFFFFFFFF, borderColor:FlxColor = 0xFF000000)
	{
		super();

		this.char = char;
		this.color = color;
		this.borderColor = borderColor;

		if (borderColor != 0xFF000000) trace('MarkupEffects do not yet support borderColors for Alp…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@THEkatinamicrowave
Comment options

@r6915ee
Comment options

@THEkatinamicrowave
Comment options

@THEkatinamicrowave
Comment options

Answer selected by THEkatinamicrowave
@THEkatinamicrowave
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants