Returns the level title, icon, number of plays/hearts/lists and game (...kinda) for a given level ID
GET https://lbp.me/widgets/link_magician/level/{ Level ID }
Param | Values |
---|---|
theme |
default (required) |
# Animal Crossing New Horizons font decryptor for .bfttf or .bfotf files | |
# Usage: python3 bfttf.py input.bfttf output.ttf | |
from sys import argv | |
# might be other keys, who knows | |
key = [0x49, 0x62, 0x18, 0x06] | |
def xor(data, key): | |
offset = 0 |
The general gist is that we replace normal link underlines (text-decoration: underline
) with an SVG background image. The background image is positioned along the bottom of the element, prevented from repeating vertically, and then scaled by defining the background size in text units:
a {
text-decoration: none;
}
# original code: | |
for tile_offset_y in range(0, 240, 128): | |
for tile_offset_x in range(0, 320, 128): | |
# each large tile is made of 8 * 8 small tiles | |
for sub_tile_offset_y in range(0, 128, 8): | |
y = tile_offset_y + sub_tile_offset_y | |
# if the tile falls off the bottom of the frame, jump to the next large tile | |
if y >= 240: break | |
for sub_tile_offset_x in range(0, 128, 8): |
<?php | |
class KwzParser { | |
protected $data = null; | |
protected $offset = 0; | |
protected $size = 0; | |
public $sections = []; | |
public $meta = null; | |
public $frameMeta = null; |
[ | |
{ | |
"size": { | |
"width": 2560, | |
"height": 1440 | |
}, | |
"group": "extra-extra-large", | |
"devices": [ | |
"Apple iMac 27-inch (5K)" | |
], |
<?php | |
// Project Kaeru KWPCF builder | |
// Written by James Daniel | |
// github.com/jaames / rakujira.jp | |
// ---- USAGE ---- | |
// create a new kaeruPrecache instance: | |
// |
<?php | |
namespace App\Formats; | |
class PPMParser { | |
protected $data = null; | |
protected $offset = 0; | |
public $header = []; | |
public $meta = null; | |
public $animationHeader = null; |
<?php | |
// Project Kaeru KWZ / KWC parser | |
// ver 1.0 | |
// | |
// Written by James Daniel | |
// github.com/jaames | rakujira.jp | |
// ----- USAGE ----- |