Skip to content

Commit

Permalink
Add Memory Corridor (ACR) frame
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbirnholz committed Jul 27, 2024
1 parent 5b905df commit 96a8e25
Show file tree
Hide file tree
Showing 67 changed files with 66 additions and 0 deletions.
12 changes: 12 additions & 0 deletions css/style-9.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,18 @@
font-family: arialblack;
src: url('../fonts/arial_black.ttf') format('truetype');
}
@font-face {
font-family: dinnextbold;
src: url('../fonts/DIN-Next-Bold.otf') format('opentype');
}
@font-face {
font-family: dinnext;
src: url('../fonts/DIN-Next-Regular.otf') format('opentype');
}
@font-face {
font-family: dinnextmedium;
src: url('../fonts/DIN-Next-Medium.otf') format('opentype');
}
/*Variables*/
:root {
--site-background: url('../img/lowpolyBackground.svg');
Expand Down
Binary file added fonts/DIN-Next-Bold.otf
Binary file not shown.
Binary file added fonts/DIN-Next-Medium.otf
Binary file not shown.
Binary file added fonts/DIN-Next-Regular.otf
Binary file not shown.
Binary file added img/frames/memoryCorridor/b.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/memoryCorridor/bThumb.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/memoryCorridor/g.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/memoryCorridor/gThumb.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/memoryCorridor/m.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/memoryCorridor/mThumb.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/memoryCorridor/mask.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/memoryCorridor/maskThumb.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/memoryCorridor/orig/b.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/memoryCorridor/orig/bThumb.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/memoryCorridor/orig/g.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/memoryCorridor/orig/gThumb.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/memoryCorridor/orig/m.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/memoryCorridor/orig/mThumb.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/memoryCorridor/orig/mask.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/memoryCorridor/orig/maskThumb.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/memoryCorridor/orig/pt/b.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/memoryCorridor/orig/pt/bThumb.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/memoryCorridor/orig/pt/g.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/memoryCorridor/orig/pt/gThumb.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/memoryCorridor/orig/pt/m.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/memoryCorridor/orig/pt/mThumb.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/memoryCorridor/orig/pt/r.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/memoryCorridor/orig/pt/rThumb.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/memoryCorridor/orig/pt/u.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/memoryCorridor/orig/pt/uThumb.png
Binary file added img/frames/memoryCorridor/orig/pt/w.png
Binary file added img/frames/memoryCorridor/orig/pt/wThumb.png
Binary file added img/frames/memoryCorridor/orig/r.png
Binary file added img/frames/memoryCorridor/orig/rThumb.png
Binary file added img/frames/memoryCorridor/orig/stamp-gold.png
Binary file added img/frames/memoryCorridor/orig/stamp.png
Binary file added img/frames/memoryCorridor/orig/stampThumb.png
Binary file added img/frames/memoryCorridor/orig/u.png
Binary file added img/frames/memoryCorridor/orig/uThumb.png
Binary file added img/frames/memoryCorridor/orig/w.png
Binary file added img/frames/memoryCorridor/orig/wThumb.png
Binary file added img/frames/memoryCorridor/pt/b.png
Binary file added img/frames/memoryCorridor/pt/bThumb.png
Binary file added img/frames/memoryCorridor/pt/g.png
Binary file added img/frames/memoryCorridor/pt/gThumb.png
Binary file added img/frames/memoryCorridor/pt/m.png
Binary file added img/frames/memoryCorridor/pt/mThumb.png
Binary file added img/frames/memoryCorridor/pt/r.png
Binary file added img/frames/memoryCorridor/pt/rThumb.png
Binary file added img/frames/memoryCorridor/pt/u.png
Binary file added img/frames/memoryCorridor/pt/uThumb.png
Binary file added img/frames/memoryCorridor/pt/w.png
Binary file added img/frames/memoryCorridor/pt/wThumb.png
Binary file added img/frames/memoryCorridor/r.png
Binary file added img/frames/memoryCorridor/rThumb.png
Binary file added img/frames/memoryCorridor/stamp-gold.png
Binary file added img/frames/memoryCorridor/stamp-goldThumb.png
Binary file added img/frames/memoryCorridor/stamp.png
Binary file added img/frames/memoryCorridor/stampThumb.png
Binary file added img/frames/memoryCorridor/u.png
Binary file added img/frames/memoryCorridor/uThumb.png
Binary file added img/frames/memoryCorridor/w.png
Binary file added img/frames/memoryCorridor/wThumb.png
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
['Memory Corridor (ACR) (Assassin\'s Creed)', 'MemoryCorridor'],
['Breaking News (OTP)', 'BreakingNews'],
['Vault (BIG)', 'Vault'],
['Wanted Poster (OTJ)', 'Wanted'],
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:'Memory Corridor (ACR)', value:'MemoryCorridor'},
{name:'Breaking News (OTP)', value:'BreakingNews'},
{name:'Vault (BIG)', value:'Vault'},
{name:'Wanted Poster (OTJ)', value:'Wanted'},
Expand Down
52 changes: 52 additions & 0 deletions js/frames/packMemoryCorridor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/memoryCorridor/mask.png', name:'Highlights'}];
var bptBounds = {x:1545/2010, y:2464/2814, width:369/2010, height:191/2814};
var stampBounds = {x:860/2010, y:2544/2814, width:290/2010, height:123/2814};

//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/memoryCorridor/w.png', masks: masks},
{name:'Blue Frame', src:'/img/frames/memoryCorridor/u.png', masks: masks},
{name:'Black Frame', src:'/img/frames/memoryCorridor/b.png', masks: masks},
{name:'Red Frame', src:'/img/frames/memoryCorridor/r.png', masks: masks},
{name:'Green Frame', src:'/img/frames/memoryCorridor/g.png', masks: masks},
{name:'Multicolored Frame', src:'/img/frames/memoryCorridor/m.png', masks: masks},

{name:'White Power/Toughness Box', src:'/img/frames/memoryCorridor/pt/w.png', bounds: bptBounds},
{name:'Blue Power/Toughness Box', src:'/img/frames/memoryCorridor/pt/u.png', bounds: bptBounds},
{name:'Black Power/Toughness Box', src:'/img/frames/memoryCorridor/pt/b.png', bounds: bptBounds},
{name:'Red Power/Toughness Box', src:'/img/frames/memoryCorridor/pt/r.png', bounds: bptBounds},
{name:'Green Power/Toughness Box', src:'/img/frames/memoryCorridor/pt/g.png', bounds: bptBounds},
{name:'Multicolored Power/Toughness Box', src:'/img/frames/memoryCorridor/pt/m.png', bounds: bptBounds},

{name:'Gold Holo Stamp', src: '/img/frames/memoryCorridor/stamp-gold.png', bounds: stampBounds},
{name:'Gray Holo Stamp', src: '/img/frames/memoryCorridor/stamp.png', bounds: stampBounds}
];
//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 = 'pipboy';
//art bounds
card.artBounds = {x:0, y:0, width:2010/2010, height:1587/2814};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:1834/2010, y:1641/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:150/2010, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:(63/2814)*1.34, allCaps: true, font:'dinnextbold'},
type: {name:'Type', text:'', x:151/2010, y:1635/2814, width:0.8292, height:(53/2814), oneLine:true, font:'belerenb', size:(53/2814)*1.34, allCaps: true, color:'white', font:'dinnextmedium'},
rules: {name:'Rules Text', text:'', x:172.86/2010, y:1743.6642/2814, width:1664.28/2010, height:839.6892/2814, size:0.0362},
pt: {name:'Power/Toughness', text:'', x:1613.528/2010, y:2529.228/2814, width:0.1367, height:0.0372, size:(81/2814)*1.43, font:'belerenbsc', oneLine:true, align:'center', color:'white', font:'dinnextmedium'}
});
}
//loads available frames
loadFramePack();

0 comments on commit 96a8e25

Please sign in to comment.