Skip to content
@ScribbleCrew

Scribble Crew

gwa, gwa...

Typing SVG

Example:

// i swear if this doesn't work... 😡🤬😠
typedef ListType =
{
	name:String,
	role:String,
}

enum GrabType
{
	ROLE;
	NOTHING;
}

class Developers
{
	/**
		An Array which contains all developers.
	**/
	static var devs(default, never):Array<ListType> = [
		{
			name: "YourFriendOrbl",
			role: "Owner",
		}
	];

	/**
		Main Function.
	**/
	static function main():Void
	{
		loopTrace(ROLE);
	}

	/**
		Function that traces the developer(s).
	**/
	private static function loopTrace(stat:GrabType = NOTHING):Void
	{
		final width:Int = 40;
		final line:String = repeat("-", width);

		var traceText:String = '\n';

		traceText += '\n ${centerText("Developers", width)}';
		traceText += '\n$line';

		for (i => dev in devs)
		{
			final ending:String = switch (stat)
			{
				case ROLE: ' (${dev.role})';
				case NOTHING: '';
			}
			traceText += "\n|" + centerText('${dev.name}$ending', width - 2) + "|";
		}

		traceText += '\n$line';
		trace(traceText);
	}

	/**
		Centers the given text.
	**/
	private static function centerText(text:String, width:Int):String
	{
		final centerOffset:Float = (width - text.length) / 2;
		return repeat(' ', Math.floor(centerOffset)) + text + repeat(' ', Math.ceil(centerOffset));
	}

	/**
		Repeats given character a number of times.
	**/
	private static inline function repeat(char:String, amount:Int):String
		return [for (_ in 0...amount) char].join("");
}

Returns:

/*
                Developers
----------------------------------------
|        YourFriendOrbl (Owner)        |
----------------------------------------
*/

Pinned Loading

  1. FNF-AstroEngine FNF-AstroEngine Public template

    This FNF engine is not affiliated with CNE, PE, FPS+, or any other kind of FNF engine.

    Haxe 7

  2. RPCIcons RPCIcons Public

    Icons for all original friday night funkin' weeks!

    3

Repositories

Showing 6 of 6 repositories
  • FNF-AstroEngine Public template

    This FNF engine is not affiliated with CNE, PE, FPS+, or any other kind of FNF engine.

    ScribbleCrew/FNF-AstroEngine’s past year of commit activity
    Haxe 7 Apache-2.0 0 0 0 Updated May 11, 2025
  • .github Public
    ScribbleCrew/.github’s past year of commit activity
    Haxe 0 0 0 0 Updated Jan 26, 2025
  • hxdiscord_rpc Public Forked from MAJigsaw77/hxdiscord_rpc

    Haxe/hxcpp @:native bindings for Discord RPC.

    ScribbleCrew/hxdiscord_rpc’s past year of commit activity
    Haxe 0 MIT 18 0 0 Updated Jan 24, 2025
  • RPCIcons Public

    Icons for all original friday night funkin' weeks!

    ScribbleCrew/RPCIcons’s past year of commit activity
    3 0 0 0 Updated Nov 24, 2024
  • flxanimate Public Forked from Dot-Stuff/flxanimate

    Adobe Animate's texture atlases player for HaxeFlixel

    ScribbleCrew/flxanimate’s past year of commit activity
    Haxe 0 MIT 60 0 0 Updated Nov 15, 2024
  • Launcher-Legacy Public archive

    in haxeflixel cuz why not fr

    ScribbleCrew/Launcher-Legacy’s past year of commit activity
    Haxe 2 Apache-2.0 1 0 0 Updated Jun 10, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…