Add Tall Double Feature Planeswalker frame
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/b.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 664 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/bThumb.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 58 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/g.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 683 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/gThumb.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 47 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/m.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 677 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/mThumb.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 58 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/r.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 666 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/rThumb.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 58 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/u.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 702 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/uThumb.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 58 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/w.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 573 KiB | 
							
								
								
									
										
											BIN
										
									
								
								img/frames/planeswalker/dbl/tall/wThumb.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 58 KiB | 
| @@ -6,6 +6,7 @@ loadFramePacks([ | ||||
| 	{name:'Tall Borderless', value:'PlaneswalkerTallBorderless'}, | ||||
| 	{name:'Compleated', value:'PlaneswalkerCompleated'}, | ||||
| 	{name:'Innistrad: Double Feature', value:'PlaneswalkerDBL'}, | ||||
| 	{name:'Innistrad: Double Feature (Tall)', value:'PlaneswalkerTallDBL'}, | ||||
| 	{name:'Addons', value:'disabled'}, | ||||
| 	{name:'Holo Stamps', value:'PlaneswalkerHoloStamps'}, | ||||
| 	{name:'Special Frames', value:'disabled'}, | ||||
|   | ||||
							
								
								
									
										47
									
								
								js/frames/packPlaneswalkerTallDBL.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,47 @@ | ||||
| //Create objects for common properties across available frames | ||||
| var masks = [{src:'/img/frames/planeswalker/tall/planeswalkerTallMaskPinline.png', name:'Pinline'}, {src:'/img/frames/planeswalker/regular/planeswalkerMaskTitle.png', name:'Title'}, {src:'/img/frames/planeswalker/tall/planeswalkerTallMaskType.png', name:'Type'}, {src:'/img/frames/planeswalker/tall/planeswalkerTallMaskFrame.png', name:'Frame'}, {src:'/img/frames/planeswalker/regular/planeswalkerMaskBorder.png', name:'Border'}, {src:'/img/frames/planeswalker/maskLoyalty.png', name:'Loyalty'}]; | ||||
| var stampBounds = {x:0.4394, y:0.9015, width:0.1214, height:0.051}; | ||||
| //defines available frames | ||||
| availableFrames = [ | ||||
| 	{name:'White Frame', src:'/img/frames/planeswalker/dbl/tall/w.png', masks:masks}, | ||||
| 	{name:'Blue Frame', src:'/img/frames/planeswalker/dbl/tall/u.png', masks:masks}, | ||||
| 	{name:'Black Frame', src:'/img/frames/planeswalker/dbl/tall/b.png', masks:masks}, | ||||
| 	{name:'Red Frame', src:'/img/frames/planeswalker/dbl/tall/r.png', masks:masks}, | ||||
| 	{name:'Green Frame', src:'/img/frames/planeswalker/dbl/tall/g.png', masks:masks}, | ||||
| 	{name:'Multicolored Frame', src:'/img/frames/planeswalker/dbl/tall/m.png', masks:masks}, | ||||
| 	{name:'Holo Stamp', src:'/img/frames/planeswalker/dbl/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 = 'planeswalkerDBLTall'; | ||||
| 	card.onload = '/js/frames/versionPlaneswalker.js'; | ||||
| 	loadScript('/js/frames/versionPlaneswalker.js'); | ||||
| 	//art bounds | ||||
| 	card.artBounds = {x:0.068, y:0.101, width:0.864, height:0.8143}; | ||||
| 	autoFitArt(); | ||||
| 	//set symbol bounds | ||||
| 	card.setSymbolBounds = {x:0.9227, y:0.5234, width:0.12, height:0.0381, 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.0481, 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.0867, y:0.0372, width:0.8267, height:0.0548, oneLine:true, font:'belerenb', size:0.0381, color:'white'}, | ||||
| 		type: {name:'Type', text:'', x:0.0867, y:0.4967, width:0.8267, height:0.0548, oneLine:true, font:'belerenb', size:0.0324, color:'white'}, | ||||
| 		ability0: {name:'Ability 1', text:'', x:0.18, y:0.5581, width:0.7467, height:0.0896, size:0.0353}, | ||||
| 		ability1: {name:'Ability 2', text:'', x:0.18, y:0, width:0.7467, height:0.0896, size:0.0353}, | ||||
| 		ability2: {name:'Ability 3', text:'', x:0.18, y:0, width:0.7467, height:0.0896, size:0.0353}, | ||||
| 		ability3: {name:'Ability 4', text:'', x:0.18, y:0, width:0.7467, height:0.0896, size:0.0353}, | ||||
| 		loyalty: {name:'Loyalty', text:'', x:0.806, y:0.902, width:0.14, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'} | ||||
| 	}); | ||||
| 	notify('You can now make the art grayscale in the art tab!'); | ||||
| } | ||||
| //loads available frames | ||||
| loadFramePack(); | ||||
 Josh birnholz
					Josh birnholz