shiftalow [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=32759 SALAHACHIDER <p> <table><tr><td> <a href="/bbs/?pid=61434#p"> <img src="/bbs/thumbs/pico8_salahachider-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=61434#p"> salahachider</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=61434#p"> [Click to Play]</a> </td></tr></table> <br /> The STG like &quot;LIFE FORCE&quot;.<br /> Japanese title is &quot;沙羅曼蛇&quot;.</p> <p>I refferred to Family computer ver.</p> <p>Main game is WIP.</p> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <ul> <li>ver 0.02: Can shot the bullet. Power up, The players remaining number UI.</li> <li>ver 0.01: Release.<br /> </div></div></div></li> </ul> https://www.lexaloffle.com/bbs/?tid=33119 https://www.lexaloffle.com/bbs/?tid=33119 Fri, 01 Feb 2019 15:17:05 UTC VDMP(PHP var_dump like) <p> <table><tr><td> <a href="/bbs/?pid=60679#p"> <img src="/bbs/thumbs/pico8_vdmplua-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=60679#p"> vdmplua</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=60679#p"> [Click to Play]</a> </td></tr></table> </p> <p>Print the inside Table Value.</p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>vdmp({ 1 ,str=&quot;string&quot; ,obj={&quot;o&quot;,&quot;b&quot;,&quot;j&quot;,&quot;e&quot;,&quot;c&quot;,&quot;t&quot;} ,{{{}}} ,{nil,true,false,function()end} })</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <h3>Symbol summary</h3> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre># Number $ String % Boolean * Function(output only the &quot;[Function]&quot;) ! nil(Is not printed because Skip nil in table pairs()) {} Table</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <h3>&quot;VDMP&quot; execute then there are followings.</h3> <p><em>Stop the routine.</em><br /> <em>Clear Screen.</em><br /> <em>Display the contents of the specified table.</em><br /> <em>The displayed order is not fixed.</em><br /> <em>The overflowed text is not displayed.</em></p> https://www.lexaloffle.com/bbs/?tid=32830 https://www.lexaloffle.com/bbs/?tid=32830 Tue, 08 Jan 2019 14:10:37 UTC FillPatDraw (Full color ver) <p> <table><tr><td> <a href="/bbs/?pid=60621#p"> <img src="/bbs/thumbs/pico8_fillpatdraw_02-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=60621#p"> fillpatdraw_02</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=60621#p"> [Click to Play]</a> </td></tr></table> </p> <h2>FillPatDraw FullColor version</h2> <p>This cart is tool that export code for drawing with FILLP() and RECTFILL().<br /> The Exported data can Execute that using without Sprite sheet.</p> <p><a href="https://www.lexaloffle.com/bbs/?tid=32755">Rectfill pattern animation</a></p> <p><a href="https://www.lexaloffle.com/bbs/?tid=32755">FILLP DRAW (2color version)</a></p> <h2>Controlls</h2> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <h3>Sprite sheet view</h3> <ul> <li> <p><strong>Mouse Left Drag and Click</strong><br /> <strong>1</strong> Select the rectangle to be the source of the delimited block.<br /> <strong>2</strong> Select the length of block from start to end.<br /> <strong>3</strong> Click Export Button for Confirm and Enter the export file name.<br /> <em>In some cases there is a waiting time of 30 seconds or more.</em></p> </li> <li> <p><strong>Right Click</strong><br /> Prev select mode.</p> </li> <li><strong>Tab key</strong><br /> Open the Menu Window.</li> </ul> <h3>Menu</h3> <ul> <li> <p><strong>PLAY Button</strong><br /> Start <strong>Pattern Draw Preview</strong></p> </li> <li> <p><strong>SAVE Button</strong><br /> SAVE PNG file and Attach Cart data</p> </li> <li> <p><strong>LOAD Button</strong><br /> LOAD PNG file and Attach Cart data</p> </li> <li><strong>CLEAR!! Button</strong><br /> CLEAR Sprite sheet(not Attach Cart data)</li> </ul> <h3>Pattern Draw Preview</h3> <ul> <li><strong>Space key</strong><br /> Stop and Start the Animation.</li> <li><strong>Left Click</strong><br /> Step to Next BlockID.</li> <li><strong>Right Click</strong><br /> Prev to Back BlockID.</li> <li><strong>Tab key</strong><br /> Return The Menu Window.</li> </ul> <h3>How to use the exported code</h3> <p>That code include followings.</p> <ul> <li>BlockInfo FillPatternID data</li> <li>draw function</li> </ul> <p>and add your code.</p> <p>To execute it add the following code.</p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>fillpat.draw(BlockID,x,y)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <ul> <li>BlockID : Number in Selected Sprite sheet view mode.(start 1)</li> <li>x,y : draw position.(It requires a multiple of 4. and 0)</li> <li>Return value: If ID not found then <span style=" display:inline-block; background-color:#eee; padding:2px; margin: 4px; padding-left: 8px; padding-right: 8px; color:#222">TRUE else <span style=" display:inline-block; background-color:#eee; padding:2px; margin: 4px; padding-left: 8px; padding-right: 8px; color:#222">FALSE.</li> </ul> <h3>How to add data</h3> <p>That can add to the export data in the following way.</p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>fillpat={cpi= [[ datablock1 (add datablock2) (add datablock3) ]]</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div></p> <h2>Draw Sequence</h2> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><blockquote class="twitter-tweet" data-lang="en"><a href="https://twitter.com/chiptune/status/1082129242777763840">#tweet#</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></div></div></div></p> <h2>UPDATE</h2> <ul> <li>rev3: Tuning Encode and Draw performance.</li> <li>rev2: Remove debug code</li> <li>rev1: Fixed can't return on Tabkey</li> </ul> https://www.lexaloffle.com/bbs/?tid=32807 https://www.lexaloffle.com/bbs/?tid=32807 Sun, 06 Jan 2019 15:29:35 UTC Rectfill pattern animation 1 <p> <table><tr><td> <a href="/bbs/?pid=60477#p"> <img src="/bbs/thumbs/pico8_fillpatanm1-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=60477#p"> Rectfill pattern animation 1</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=60477#p"> [Click to Play]</a> </td></tr></table> </p> <p>the full color &quot;fillp + rectfill&quot; drawing.</p> <p><em>about fill pattern drawing old format follow.</em><br /> <a href="https://www.lexaloffle.com/bbs/?tid=32697">URL FILLPDRAW</a><br /> <em>that's can only 2 color in cell of 4x4 size. </em></p> https://www.lexaloffle.com/bbs/?tid=32755 https://www.lexaloffle.com/bbs/?tid=32755 Tue, 01 Jan 2019 07:15:50 UTC FILLP DRAW <p><em>I learned make transparent with fillp() drawing.<br /> and want remake this.</em></p> <p> <table><tr><td> <a href="/bbs/?pid=60312#p"> <img src="/bbs/thumbs/pico8_fillpdraw-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=60312#p"> fillpdraw</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=60312#p"> [Click to Play]</a> </td></tr></table> </p> <h2>FILLP draw</h2> <p>This cart is tool that export code for drawing with FILLP() and RECTFILL().<br /> The Exported data can Execute that using without Sprite sheet.</p> <p><blockquote class="twitter-tweet" data-lang="en"><a href="https://twitter.com/chiptune/status/1076878474722209793">#tweet#</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></p> <h3>Controlls</h3> <ul> <li> <p>Canvas area<br /> -- Left Click : draw pixel<br /> -- Right Click: color pick<br /> -- Space key : panning (space hold and mouse drag)<br /> -- Z : undo<br /> -- X : redo</p> </li> <li> <p>Palette area<br /> -- Left Click : color pick<br /> -- Right Click: color pick</p> </li> <li> <p>Sprite sheet area<br /> -- Left Click : move the view along the grid<br /> -- E,S,D,F : Slide Sprite sheet data</p> </li> <li> <p><strong>SAVE</strong> Button<br /> -- SAVE PNG file and Attach Cart data</p> </li> <li> <p><strong>LOAD</strong> Button<br /> -- LOAD PNG file and Attach Cart data</p> </li> <li> <p><strong>EXPORT</strong> Button<br /> -- Export P8L text file that the Drawing code</p> </li> <li><strong>CLEAR!!</strong> Button<br /> -- CLEAR Sprite sheet(not Attach Cart data)</li> </ul> <h3>How to use the exported code</h3> <p>That code include followings.</p> <ul> <li>ColorData-FillPatternID data</li> <li>FillPattern Library</li> <li>draw function</li> </ul> <p>and add your code.</p> <p>To execute it add the following code.</p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>fillpat.draw(BlockID,x,y)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <ul> <li>BlockID: 32x32pixel delimited ID in sprite sheet</li> <li>x,y : draw position.(It requires a multiple of 4. and 0)</li> </ul> <h3>How to add data</h3> <p>That can add to the export data in the following way.</p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>fillpat={cpi= [[ datablock1-1 . . . datablock1-12 (add datablock2) (add datablock3) ]] ,pat= [[ FillpatData For Datablock1 (addFillpatData For Datablock2) (addFillpatData For Datablock3) ]]</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=32697 https://www.lexaloffle.com/bbs/?tid=32697 Mon, 24 Dec 2018 14:41:42 UTC KONSAIRI <p> <table><tr><td> <a href="/bbs/?pid=59957#p"> <img src="/bbs/thumbs/pico8_konsairi_a-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=59957#p"> konsairi_a</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=59957#p"> [Click to Play]</a> </td></tr></table> <br /> I expanded game with multicart.</p> <p>MANUAL</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/32759/page1_1.png" alt="" /> <p>UPDATED</p> <ul> <li>Added Title screen</li> <li>Stabled Field(new map format)</li> <li>Background graphics</li> <li>Starting scene</li> <li>Give action</li> <li>NPC (rabitt)</li> <li>POT and Cut the Roots</li> <li>Save a progress</li> </ul> <p>next plan</p> <ul> <li>Exploring large field</li> <li>add NPC </li> <li>root action</li> <li>player status</li> </ul> <p>old version<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> <table><tr><td> <a href="/bbs/?pid=59957#p"> <img src="/bbs/thumbs/pico8_konsairib-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=59957#p"> konsairi_0.1</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=59957#p"> [Click to Play]</a> </td></tr></table> <br /> It was passed usage limit that the token size and compressed size.<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=32550 https://www.lexaloffle.com/bbs/?tid=32550 Thu, 13 Dec 2018 12:42:57 UTC split_string <p> <table><tr><td> <a href="/bbs/?pid=59851#p"> <img src="/bbs/thumbs/pico8_split_string-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=59851#p"> split_string</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=59851#p"> [Click to Play]</a> </td></tr></table> <br /> SPLIT_STRING is make a table with using a delimiter from string value.<br /> There output the all value become <strong>string value</strong> in table.</p> <p><span style=" display:inline-block; background-color:#eee; padding:2px; margin: 4px; padding-left: 8px; padding-right: 8px; color:#222">split(string, delimiter, delimiter-2d)</p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>a=split('1 a 20 split_test --------',' ') for v in all(a) do print(v) end a=split('1 2 3;a b c;this is split',' ',';') for b in all(a) do for v in all(b) do print(v) end end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=32520 https://www.lexaloffle.com/bbs/?tid=32520 Sun, 09 Dec 2018 09:45:36 UTC Gamepad works by Bookmarklet <p>Add URL in new bookmark this script.<br /> and Click the bookmark on cart page!</p> <p>[[New ver0.2 UPDATE 2018-12-20 ]]</p> <ul> <li>Appended -x-button of secondary.</li> </ul> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>javascript:d=document;a=d.createElement('script');a.setAttribute('type','module');a.textContent=&quot;import * as keycont from 'https://oshiimizunohuta.github.io/chunklekit/keycontroll.js';let kct=keycont.CKSETUPKEYS();kct.setKey('&lt;', keycont.convertGamePadKey(0,'1'));let btns=['left','right','up','down','&gt;','&lt;','space','select'];keycont.setKeySetCheck(function(){let st=kct.getState(btns);btns.forEach(function(a,i){if(st[a]&amp;kct.getTrig('select')&amp;(a=='select')){btns.splice(4,0,btns.splice(5,1)[0]);return;}press_pico8_button(0,i,st[a]?1:0);})})&quot;;d.body.appendChild(a);</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>(It's loading from My Javascript code in github.)</p> <p>Controller mapping</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/32759/controller_pico8v2_x3.png" alt="" /> <p>[[Old ver0.1]]<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>javascript:d=document;a=d.createElement('script');a.setAttribute('type','module');a.textContent=&quot;import * as keycont from 'https://oshiimizunohuta.github.io/chunklekit/keycontroll.js';let kct=keycont.CKSETUPKEYS();let btns=['left','right','up','down','&gt;','&lt;','space','select'];keycont.setKeySetCheck(function(){let st=kct.getState(btns);btns.forEach(function(a,i){if(st[a]&amp;kct.getTrig('select')&amp;(a=='select')){btns.splice(4,0,btns.splice(5,1)[0]);return;}press_pico8_button(0,i,st[a]?1:0);})})&quot;;d.body.appendChild(a);</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>(It's loading from My Javascript code in github.)</p> <p>Controller mapping</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/32759/controller_pico8_x3.png" alt="" /> <p></div></div></div></p> https://www.lexaloffle.com/bbs/?tid=32431 https://www.lexaloffle.com/bbs/?tid=32431 Mon, 03 Dec 2018 16:43:42 UTC TVNOISE <p> <table><tr><td> <a href="/bbs/?pid=59535#p"> <img src="/bbs/thumbs/pico8_mojosafona-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=59535#p"> TVNOISE</a><br><br> by <a href="/bbs/?uid=32759"> shiftalow</a> <br><br><br> <a href="/bbs/?pid=59535#p"> [Click to Play]</a> </td></tr></table> </p> <h1>TVNOISE</h1> <p>Toggle noise screen and title screen with Button x.</p> https://www.lexaloffle.com/bbs/?tid=32408 https://www.lexaloffle.com/bbs/?tid=32408 Sat, 01 Dec 2018 15:09:57 UTC