Skip to content

Commit

Permalink
Add Bloomburrow Borderless (BLB) frame
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbirnholz committed Aug 29, 2024
1 parent 45d4734 commit 48fa803
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 0 deletions.
Binary file added img/frames/bloomburrowBorderless/creature.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/bloomburrowBorderless/crown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/bloomburrowBorderless/crownThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/bloomburrowBorderless/noncreature.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions js/frameSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const frameNames = new Map ([
['Colorshifted (Planar Chaos)', 'Colorshifted'],
['Brawl Legend Crowns', 'Brawl'],
//showcase
['Bloomburrow Borderless (BLB)', 'BloomburrowBorderless'],
['Woodland (BLB)', 'Woodland'],
['Memory Corridor (ACR) (Assassin\'s Creed)', 'MemoryCorridor'],
['Breaking News (OTP)', 'BreakingNews'],
Expand Down
1 change: 1 addition & 0 deletions js/frames/groupShowcase-5.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
loadFramePacks([
{name:'Set Showcase Frames (Chronological)', value:'disabled'},
{name:'Bloomburrow Borderless (BLB)', value:'BloomburrowBorderless'},
{name:'Woodland (BLB)', value:'Woodland'},
{name:'Memory Corridor (ACR)', value:'MemoryCorridor'},
{name:'Breaking News (OTP)', value:'BreakingNews'},
Expand Down
34 changes: 34 additions & 0 deletions js/frames/packBloomburrowBorderless.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//defines available frames
availableFrames = [
{name:'Creature Frame', src:'/img/frames/bloomburrowBorderless/creature.png'},
{name:'Noncreature Frame', src:'/img/frames/bloomburrowBorderless/noncreature.png'},
{name:'Legendary Accents', src:'/img/frames/bloomburrowBorderless/crown.png'}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() {
//resets things so that every frame doesn't have to
await resetCardIrregularities();
//sets card version
card.version = 'bloomburrowBorderless';
//art bounds
card.artBounds = {x:0, y:0, width:1, height:2659/2814};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9213, y:1671/2814, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
resetWatermark();
//text
loadTextOptions({
mana: {name:'Mana Cost', text:'', y:0.0613, width:0.9292, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0},
title: {name:'Title', text:'', x:0.0854, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, color:'white'},
type: {name:'Type', text:'', x:0.0854, y:1602/2814, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white'},
rules: {name:'Rules Text', text:'', x:173/2010, y:1818/2814, width:1664/2010, height:684/2814, size:0.0362, color:'white'},
pt: {name:'Power/Toughness', text:'', x:1594/2010, y:2546/2814, width:275/2010, height:105/2814, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'}
});
}
//loads available frames
loadFramePack();

0 comments on commit 48fa803

Please sign in to comment.