team_disposable [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=15104 Set up Notepad++ to run a PICO8 cartridge a button press <p>There's some great tips on these forums - One thing i haven't seen people mention is how to get Notepad++ to run a PICO8 cartridge from a button press.</p> <p>This way, you can code your program in Notepad++, save it, and then run it, all with a few key presses.</p> <ol> <li>Open up a sample P8 file in Notepad plus plus.<br /> 2.Click on the &quot;Run&quot; menu in the top menu bar. </li> <li> <p>Select the &quot;Run&quot; option (the top option in that menu, perhaps not unsurprisingly)</p> </li> <li>Cut and paste the below into the dialog box that turns up</li> </ol> <p>&quot;C:\Windows\System32\cmd.exe&quot; /K &quot;C:\Program Files (x86)\PICO-8\pico8.exe&quot; -run $(FULL_CURRENT_PATH)</p> <p>(this relies on you having installed your PICO8 to the default location. If it doesn't work, find a shortcut to it either on the desktop or the start menu, right click, and &quot;Open File Location&quot;. If you change the text, save it in a text file before the next step.)</p> <ol start="5"> <li> <p>Test it by clicking on the Run button. It should open up the windows terminal, which will then open up a copy of PICO 8 and autoload the cartridge you have open. I'll explain why you want the windows terminal open below.</p> </li> <li> <p>If it works, go back to Notepad++. Bring up the run dialog and paste in the text you used before.</p> </li> <li>This time, click the &quot;Save&quot; button. Assign a shortcut -I'd recommend ctrl + A. It's right next to ctrl + s, which is save, meaning you can quickly save and run your program when there are any changes.</li> </ol> <p>The reason you want to use the prefix &quot;C:\Windows\System32\cmd.exe&quot; /K is that this runs the windows terminal, which then runs PICO8. This means you can see any printh statements you've put in your code for debugging.</p> <p>One thing to note is that the K switch in the line &quot;C:\Windows\System32\cmd.exe&quot; keeps the terminal open when you shutdown PICO8. This is my personal preference, if you want it to shut when you close PICO8, replace the K with a C. </p> <p>If you use this alongside the syntax highlighting (go to Settings, Style Configurater, Lua in the top menus and add &quot;p8&quot; in the &quot;User Extension&quot; box at the bottom of the window) and Function List mentioned elsewhere on these forums, you've got a pretty awesome dev environment! </p> https://www.lexaloffle.com/bbs/?tid=4082 https://www.lexaloffle.com/bbs/?tid=4082 Fri, 19 Aug 2016 18:23:01 UTC SHE! Top down stealth em up <p> <table><tr><td> <a href="/bbs/?pid=27086#p"> <img src="/bbs/thumbs/pico28009.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=27086#p"> SHE! Top down stealth em up 0.3f</a><br><br> by <a href="/bbs/?uid=15104"> team_disposable</a> <br><br><br> <a href="/bbs/?pid=27086#p"> [Click to Play]</a> </td></tr></table> </p> <p>EDIT: Now with 2% more less broken! Hurrah for not broken!</p> <p>REMOVED</p> <p>EDIT: New! Now with 100% less broken! </p> <p>REMOVED</p> <p>EDIT: Here's a more complete version. This has a completed level. No changes to the AI since last time. </p> <p> <table><tr><td> <a href="/bbs/?pid=27086#p"> <img src="/bbs/thumbs/pico27539.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=27086#p"> SHE! Top down stealth em up 0.2</a><br><br> by <a href="/bbs/?uid=15104"> team_disposable</a> <br><br><br> <a href="/bbs/?pid=27086#p"> [Click to Play]</a> </td></tr></table> </p> <p>EDIT: Here's the first Alpha - this is not currently completable!</p> <p>You are SHE, deep cover operative. For 16 months you've been chasing HER, across battlefields, across countries, across the globe. Finally you have her close, cornered almost, holed up in this military base. Find her! Your orders are to kill her, but will you? And what about the kittens she's taken hostage, or the all female yellow hornet battle squadron between you and her?</p> <p>Your ways are enigmatic, and no one but you can predict your actions.</p> <p>Press X to shoot<br /> Press Z to interact.<br /> Your dot will turn GREEN when over an interactable object<br /> Hold Z to bring up the menu</p> <p>Press start on the second player pad to begin a two player game.</p> <p>OLD:</p> <p>I'm currently working on my first pico-8 game. It's called SHE!</p> <p>It's a top down stealth action shooter, with couch coop.</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/15104/PICO-8_15.gif" width=256 height=256 alt="" /> <p>Pretty much all the mechanics are there and I'm hoping to release an alpha sometime this week.</p> <p>Enemies have states, they can patrol, and there are a variety of different weapons to use. The intention is to allow the player to either sneak through or go in guns blazing. Ratings are given on playthroughs for enemies killed, hostages rescued, and coins collected, with the final outcome (likely a single sentence given space constraints!) given based on your actions.</p> <p>Here's our intrepid heroine triggering an enemy. You'll notice the other enemies come to investigate what's going on.</p> <img style="margin-bottom:16px" border=0 src="http://i.imgur.com/58yaNJR.gif" alt="" /> <p>Originally I had quite a few other features in there - spreadable fire being the notable one - but I quickly learned that you need to be quite conservative with your code on the pico! I'm currently at 7912 tokens, but I feel I can probably crunch down the AI once it's finished to get a few hundred back. Here's hoping!</p> https://www.lexaloffle.com/bbs/?tid=4081 https://www.lexaloffle.com/bbs/?tid=4081 Fri, 19 Aug 2016 17:12:23 UTC