2358 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=45599 Procedural Hills Parallax and Snow! <h1>Procedural Hills Example</h1> <h3>with parallax and snow tops!</h3> <img style="" border=0 src="/media/45599/procedural hills_7.gif" alt="" /> <p><em>Wouldn&rsquo;t be possible without help from the great community on the Pico-8 Discord.</em> </p> <p>Use <strong>left</strong> and <strong>right</strong> keys arrows to move.<br /> <em>Restart cart to get different hills and snow.</em></p> <p> <table><tr><td> <a href="/bbs/?pid=81523#p"> <img src="/bbs/thumbs/pico8_proceduralhills-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=81523#p"> proceduralhills</a><br><br> by <a href="/bbs/?uid=45599"> 2358</a> <br><br><br> <a href="/bbs/?pid=81523#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=39491 https://www.lexaloffle.com/bbs/?tid=39491 Sat, 05 Sep 2020 18:30:04 UTC Easily make Pico-8 Boot/Run Portable on USB for Windows with this one file. <h1>Easily make Pico-8 Boot/Run Portable on USB for Windows with this one file.</h1> <p>I usually play on my Mac with native install of Pico-8 and occasionally I work on Windows and love tinkering when I get board, so when I am away form my Mac and working on Windows; I made a simple tool to easily help make Pico-8 run portable on Windows.</p> <img style="" border=0 src="/media/45599/running-on-usb.png" alt="" /> <h2>Install</h2> <p>1 . Simply download the Windows: zip of Pico-8 and extract it to your usb.</p> <p>2 . Then download this <strong><a href="/media/45599/12_pico8usb.bat">pico8usb.bat file</a></strong>.</p> <p>3 . Place <strong>pico8usb.bat</strong> in the root folder of your Pico-8 extraction folder on your usb where pico8.exe is located (example in image below).</p> <p>4 . Run <strong>pico8usb.bat</strong></p> <p>5 . Enjoy.</p> <img style="" border=0 src="/media/45599/pico8usb.png" alt="" /> <p>Running <strong>pico8usb.bat</strong> will create and setup your usb install of Pico-8 to run portable on your usb.</p> <h2>Config</h2> <p>You can configure <strong>pico8usb.bat</strong>, I have set some example parameters as a demo but you can change them to your liking.</p> <p>Here at this section in <strong>pico8usb.bat</strong> you can change where the portable data is stored:</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>set pico8HomePath=%~dp0data\ set pico8RootPath=%pico8HomePath%carts\ set pico8DesktopPath=%pico8HomePath%documents\screenshots\</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p><strong>pico8usb.bat</strong> will create a folder called <strong>data</strong> and <strong>desktop</strong> in the root folder (<strong>%~dp0</strong> current path of <strong>pico8usb.bat</strong>) of your install where <strong>pico8usb.bat</strong> and <strong>pico8.exe</strong> are located if they do not already exist, this location is important for this to work but you can change the name from <strong>%~dp0data</strong> to <strong>%~dp0usbFiles</strong> or anything else you like.</p> <ul> <li><strong>data</strong> folder is the portable location for the Home Path</li> <li><strong>carts</strong> folder is the portable location for your carts, I've set them to be Home Path &gt; carts</li> <li><strong>desktop</strong> is where your screenshots/gifs will be saved instead of the host Desktop, also set to Home Path &gt; desktop</li> </ul> <p>And in this section in <strong>pico8usb.bat</strong> you can toggle/set other boot options, these are examples but you can find more options to use from the <a href="https://pico-8.fandom.com/wiki/RunningPico8">Command-line flags</a></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>set pico8Options=-windowed 1 -width 256 -height 256 -frameless 1 -sound 0 -splore</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p><em>Please do be careful, this script uses <strong>mkdir</strong> and may overwrite data. but technically shouldn't because I've set if block statement to check first.</em></p> <h2>Share</h2> <p>Please share what your preferred configurations are or if you have any other methods that you use.</p> https://www.lexaloffle.com/bbs/?tid=39259 https://www.lexaloffle.com/bbs/?tid=39259 Mon, 17 Aug 2020 06:28:35 UTC A simple Pico-8 slideshow cart project. <h2>This is a simple Pico-8 slideshow cart project.</h2> <p>I was inspired by <a href="https://www.lexaloffle.com/bbs/?uid=1"> <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a></a> &lsquo;s Practice 2018 talk presentation done with Pico-8 <a href="https://www.youtube.com/watch?v=87jfTIWosBw">https://www.youtube.com/watch?v=87jfTIWosBw</a></p> <p>So I thought this would be a great project for me to practice and learn coding with Pico-8.</p> <p>List items are almost working, just need to figure out how to make them appear in one at a time (fade in on btn(3))</p> <h3>How to use:</h3> <ul> <li>left and right arrow keys to navigate the slides</li> <li>x to fast forward</li> <li>z to rewind</li> </ul> <p> <table><tr><td> <a href="/bbs/?pid=80376#p"> <img src="/bbs/thumbs/pico8_slides2020080710-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80376#p"> slides-20200807.11</a><br><br> by <a href="/bbs/?uid=45599"> 2358</a> <br><br><br> <a href="/bbs/?pid=80376#p"> [Click to Play]</a> </td></tr></table> </p> <h3>How to edit</h3> <p>Change the slides table with your own content</p> <p>For title pages:</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>{text=&quot;pico-8 slidshow\n\nby 2358&quot;, bgcol=13,col=7, tx=12,ty=35},</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>For animated/slide in topics list:</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>{text=&quot;sections&quot;, bgcol=0,col=7, tx=20,ty=20, alist={text={ &quot;topic 1&quot;, &quot;topic 2&quot;, &quot;topic 3&quot;, &quot;topic 4&quot;, &quot;topic 5&quot;}, lx=128*2,ly=40, ldx=20, col={2,13,12,11,10}}},</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>For list items: <em>(todo: fade in one at a time)</em></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>{text=&quot;list items 1&quot;, marker=2, bgcol=0,col=7, tx=20,ty=20, mlist={text={ &quot;&quot;, &quot;this is a&quot;, &quot; ★ pico-8 ★ &quot;, &quot; slideshow&quot;, &quot; awsome!&quot;, &quot; thank you!&quot;}, lx=20,ly=20}},</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>To show slide page numbers (change false to true)</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>show_slide_numbers=false</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <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>show_slide_numbers=true</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Would love to see <a href="https://www.lexaloffle.com/bbs/?uid=1"> <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a></a> &lsquo;s original cart on this for comparison</p> https://www.lexaloffle.com/bbs/?tid=39112 https://www.lexaloffle.com/bbs/?tid=39112 Wed, 05 Aug 2020 10:52:08 UTC