jihem [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=11167 PICO-8 conference <p>Save the date! june 9th, #pico8 conference at the Bordeaux Geek Fest 2019 (France) - Arthur Dent Club<br /> <a href="http://picoscope101.fr/index.php/2019/03/10/conference-pico-8-le-9-juin-aux-bgf/">URL Official french announcement</a></p> https://www.lexaloffle.com/bbs/?tid=33594 https://www.lexaloffle.com/bbs/?tid=33594 Sun, 10 Mar 2019 21:56:41 UTC Stones <p> <table><tr><td> <a href="/bbs/?pid=59577#p"> <img src="/bbs/thumbs/pico8_stones-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=59577#p"> stones</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=59577#p"> [Click to Play]</a> </td></tr></table> <br /> You�re the Spirit of the stones and have to collect (and sacrifice) them.</p> <p>Will you find the path ?<br /> Could you resolve the gods challenge?<br /> Is 1min16 is enough for you to succeed ?</p> <p>This my compo for LD-43 : 'Sacrifices must be made'<br /> <a href="https://ldjam.com/events/ludum-dare/43/stones">https://ldjam.com/events/ludum-dare/43/stones</a></p> https://www.lexaloffle.com/bbs/?tid=32420 https://www.lexaloffle.com/bbs/?tid=32420 Sun, 02 Dec 2018 17:09:42 UTC VCT 2 (two players splitscreen) <p> <table><tr><td> <a href="/bbs/?pid=43612#p"> <img src="/bbs/thumbs/pico43611.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=43612#p"> VCT 2 (two players splitscreen)</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=43612#p"> [Click to Play]</a> </td></tr></table> <br /> This a code sample of splitscreen in pico8 to allow 2 players to play on the same screen (and go where they want).<br /> Enjoy :-)</p> https://www.lexaloffle.com/bbs/?tid=29840 https://www.lexaloffle.com/bbs/?tid=29840 Fri, 25 Aug 2017 13:06:59 UTC BAT <p> <table><tr><td> <a href="/bbs/?pid=43610#p"> <img src="/bbs/thumbs/pico43609.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=43610#p"> BAT</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=43610#p"> [Click to Play]</a> </td></tr></table> </p> <p>This cartridge is an exploration about 'how to show things to the player'.<br /> Arrow keys to move, [O] button (usually Z/W key on qwerty/azerty keyboard) to change the view mode.<br /> Sometime, I just make pico stuffs for the pleasure to scratch my head... :-)</p> https://www.lexaloffle.com/bbs/?tid=29839 https://www.lexaloffle.com/bbs/?tid=29839 Fri, 25 Aug 2017 12:51:55 UTC 009 - Double-acting press button 2.0 <p> <table><tr><td> <a href="/bbs/?pid=41225#p"> <img src="/bbs/thumbs/pico41224.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=41225#p"> 009 - Double-acting press button 2.0 2</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=41225#p"> [Click to Play]</a> </td></tr></table> <br /> These cartriges show how to manage double-action buttons.<br /> Two methods for the same result. The version 2.0 is better.<br /> In hope this may helps at least the guys who were asking for it ;-)</p> <p> <table><tr><td> <a href="/bbs/?pid=40815#p"> <img src="/bbs/thumbs/pico40814.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=40815#p"> 009 - Double-acting press button 1.0</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=40815#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=29418 https://www.lexaloffle.com/bbs/?tid=29418 Fri, 02 Jun 2017 02:51:12 UTC 009 - Double-acting press button <p> <table><tr><td> <a href="/bbs/?pid=40815#p"> <img src="/bbs/thumbs/pico40814.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=40815#p"> 009 - Double-acting press button 1.0</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=40815#p"> [Click to Play]</a> </td></tr></table> </p> <p>I was exploring a way to manage double-acting press button.<br /> In hope this helps.<br /> Have a nice day :-)</p> https://www.lexaloffle.com/bbs/?tid=29356 https://www.lexaloffle.com/bbs/?tid=29356 Sun, 21 May 2017 10:32:28 UTC Further pico : picoscope 2017 workshop <p>Hi,</p> <p>I'm working on the topics for picoscope 2017 (in april). I love to code, so I will speak about about tables, object oriented programming, using functions in variables, converting arguments to an array (and an array to arguments), events...<br /> You will find samples in these cartridges. </p> <p>The last event we were involded, was a great success (Roc'n Stick in Niort, France).<br /> <a href="https://www.facebook.com/picoscope101">Pictures of the PICO-8 workshop, march 25th</a></p> <p>I hope I will see you in the next coming weeks ;-)</p> <p> <table><tr><td> <a href="/bbs/?pid=38916#p"> <img src="/bbs/thumbs/pico38914.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=38916#p"> Further pico : picoscope 2017 workshop </a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=38916#p"> [Click to Play]</a> </td></tr></table> <br /> Events...</p> <p> <table><tr><td> <a href="/bbs/?pid=38916#p"> <img src="/bbs/thumbs/pico38913.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=38916#p"> Further pico : picoscope 2017 workshop</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=38916#p"> [Click to Play]</a> </td></tr></table> <br /> Pack... Unpack...</p> https://www.lexaloffle.com/bbs/?tid=29077 https://www.lexaloffle.com/bbs/?tid=29077 Fri, 31 Mar 2017 08:08:20 UTC Labyrinth <p> <table><tr><td> <a href="/bbs/?pid=38058#p"> <img src="/bbs/thumbs/pico38057.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=38058#p"> Labyrinth 1.0</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=38058#p"> [Click to Play]</a> </td></tr></table> <br /> This a sample of the object LAB used to generate a labyrinth.</p> <p>=&gt; Random path merge</p> <img style="" border=0 src="https://upload.wikimedia.org/wikipedia/commons/6/69/Yl_maze_ani_algo1.gif" alt="" /> <p>fr.wikipedia.org</p> https://www.lexaloffle.com/bbs/?tid=28936 https://www.lexaloffle.com/bbs/?tid=28936 Sun, 05 Mar 2017 13:41:45 UTC i_editor 2.0 + manual(english+french) <p> <table><tr><td> <a href="/bbs/?pid=34370#p"> <img src="/bbs/thumbs/pico35750.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=34370#p"> i_editor 2.0</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=34370#p"> [Click to Play]</a> </td></tr></table> </p> <p>I_EDITOR is a programming game. The goal is to write simple scripts to reproduce a drawing on screen. The commands used in the scripts move a pointer (�turtle�). The pointer has a pen, which can be up or down. When the pen is down, each move lays a print. There are additional instructions to make calculus, evaluate conditions and call previous declared sequences. The syntax and semantic are organized in language called I_CORE. </p> <p>Now you can download the <a href="http://codyssea.com/wp-content/uploads/2017/01/i_editor.pdf">manual</a> !</p> <p>Le <a href="http://codyssea.com/wp-content/uploads/2017/01/i_editor_fr.pdf">manuel</a> en fran&ccedil;ais est disponible.</p> <hr /> <p>Try to reproduce the blueprints or play with the sandbox...<br /> I will add a score and more blueprints soon ;-) </p> <p>In the main menu:<br /> Choose a blueprint or the sandbox (up/down, x)</p> <p>In the editor:<br /> Choose the command in the first column (up/down, x) or return to the main menu (o)<br /> Change column (left/right)</p> <p>Change the value in the second colum (x, then left/right to decrease/increase)<br /> Delete instruction in the second colum with (o)</p> <p>Have a look on <a href="https://www.lexaloffle.com/bbs/?tid=28294">i_core</a> thread to have more explanation about the language &quot;I&quot;.</p> <p>I will make a tutorial soon and post a link and additional information here.</p> <p>Sample</p> <p>:A 20 FD 90 TR ; :B 1 - # A ?B ; 4 B</p> <img style="" border=0 src="http://codyssea.com/wp-content/uploads/2016/12/i_editor_0.gif" alt="" /> <p>CLR : clear<br /> &lt;CP : copy from clipboard<br /> &gt;CP : copy to clipboard</p> <p>Copy the line below into the clipboard</p> <p>:a 10 fd 90 tr ; a a a a </p> <p>Paste in PICO-8, then activate &lt;CP</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/11167/PICO-8_1.gif" width=256 height=256 alt="" /> <p>/!\ WARNING:<br /> Clipboard functions (&lt;CP,&gt;CP) aren't working in HTML exported cartridge.<br /> Copy from notepad (text in the html browser may contain tag or additional characters)</p> https://www.lexaloffle.com/bbs/?tid=28339 https://www.lexaloffle.com/bbs/?tid=28339 Wed, 28 Dec 2016 14:06:03 UTC i_core <p> <table><tr><td> <a href="/bbs/?pid=34035#p"> <img src="/bbs/thumbs/pico34207.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=34035#p"> i_turtle v1.2</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=34035#p"> [Click to Play]</a> </td></tr></table> </p> <p>WARNING : This is not (yet) a game. It's a strange thing (only) for programers.</p> <p>This cartridge includes i_core and the turtle extension.<br /> It shows how to:</p> <ul> <li>bind a personal extension (turtle object, turtle binding) to the language core engine,</li> <li>initialize the external extension and call its methods (from PICO-I and i_core)</li> <li>pass parameters from PICO-8 to i_core (N). </li> </ul> <p>The turtle extension includes the following commands:</p> <ul> <li>FD forward, 20 FD</li> <li>BD backward, 20 BD</li> <li>TR turn right, 90 TR</li> <li>TL turn left, 90 TL</li> <li>CL change color, 1 CL</li> <li>PU pen up, PU</li> <li>PD pen down, PD</li> <li>TO go to, 10 10 TO</li> <li>HD head to (0 right, 90 top, 180 left, 270 down), 0 HD</li> </ul> <p>Sample :</p> <p>':loop 20 fd &lt;a tr 1 - # ?loop ; :side &gt;n 360 &lt;n / &gt;a &lt;n loop ; cls 4 side'</p> <p>Have fun ;-)</p> <p> <table><tr><td> <a href="/bbs/?pid=34035#p"> <img src="/bbs/thumbs/pico34198.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=34035#p"> i_core 1.0</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=34035#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is the core engine of a language ('I') and its virtual machine (all of this in PICO-8).<br /> You can extend this engine (see how _SHW or _CLS are implemented).<br /> You can create synonyms for a simplier use (see <em>ADD and </em>+).</p> <p>The programs must be writen in a line. Terms are separated by space.</p> <p>The engine is stack based (like forth): '5 4 + .' =&gt; shows 9</p> <p>The operators + - * / and flr function are available.<br /> The '#' duplicates the last value (of the stack).</p> <p>You can evaluate (5 + 4) <em> (3 + 2) with '5 4 + 3 2 + </em> .' =&gt; 45</p> <p>Create a sub function</p> <p>:NAME &lt;sequence of instructions&gt; ;</p> <p>':A 5 4 + ; :B 3 2 + ; A B * .' =&gt; 45</p> <p>You can call the sub function NAME with its NAME (see A and B in the sample).</p> <p>Create SQUARE and evaluate 3^2:</p> <p>':SQUARE # * ; 3 SQUARE .' =&gt; 9</p> <p>Conditional call</p> <p>?NAME</p> <p>If the last value in the stack isn't zero it calls NAME else it goes to the next instruction.</p> <p>This is usefull to create tests and loops:</p> <p>':SA # . 1 - ; :LP SA # ?LP ; 5 LP 0 .'</p> <p>Count down from 5 to 0 (then stop).</p> <p>You can use variables:<br /> &gt;NAME (load value from stack)<br /> &lt;NAME (push value in the stack)</p> <p>'1 &gt;A &lt;A &lt;A + .' =&gt;2</p> <p>You can use many :EVAL call to enter your program (one line per call).<br /> You can use as many i_core engines as you want at the same time (object).<br /> You can execute the whole program (:EXEC) or run it :STEP by step.</p> <p>:STATE returns 3 when done. You can restart with :STATE(0).</p> <p>If you have read the description so far, you may have a question.<br /> This sounds crazy... So, why?</p> <p>I'm working on two games. In the first you have to build a program by stacking graphic items to draw on screen to replicate a drawing with the minimal amonth of items. In the second, some robots fight together using genetic algorithms to evolve (by sharing part of their own code to create new ones). </p> <p>I think I can share this library and my interest in doing this.</p> <p>jihem<br /> picoscope101.fr where mad things come to life...</p> https://www.lexaloffle.com/bbs/?tid=28294 https://www.lexaloffle.com/bbs/?tid=28294 Fri, 23 Dec 2016 14:04:13 UTC picoscope 2017, April 22th-23th <p>Picoscope2016 is coming in April 2017</p> <p>Hi,</p> <p>We are organising a PICO-8 coding party in France.<br /> You are welcome to join us in the workshops.</p> <p>=&gt; <a href="http://picoscope101.fr/">Website</a> (near 30 places remaining)<br /> =&gt; <a href="https://www.facebook.com/picoscope101">Follow us on facebook</a> and/or <a href="https://twitter.com/Codyssea">twitter</a></p> <p>jihem (<a href="https://twitter.com/wdwave">@wdwave</a>)</p> https://www.lexaloffle.com/bbs/?tid=27865 https://www.lexaloffle.com/bbs/?tid=27865 Mon, 10 Oct 2016 15:16:27 UTC Rotating a sprite around its center <p> <table><tr><td> <a href="/bbs/?pid=22756#p"> <img src="/bbs/thumbs/pico22757.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=22756#p"> Rotating a sprite around its center 0.1 0.1.1</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=22756#p"> [Click to Play]</a> </td></tr></table> </p> <p>A howto about rotating a sprite around its center...<br /> Use left and right arrows to spin the sprite.</p> https://www.lexaloffle.com/bbs/?tid=3593 https://www.lexaloffle.com/bbs/?tid=3593 Sun, 12 Jun 2016 10:25:09 UTC VCT <p> <table><tr><td> <a href="/bbs/?pid=21544#p"> <img src="/bbs/thumbs/pico21543.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21544#p"> VCT 0.1</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=21544#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi, </p> <p>I'm on this since a couple of hours done on several days. I have a lack of time for the jam.<br /> I will improve as I can but I submit like it is. I hope you will be kind enough to play with it.</p> <p>Follow the radar indication. Shoot but don't be hurt. You have only one life.<br /> The levels change each time the game is played.<br /> Regards,<br /> jihem</p> https://www.lexaloffle.com/bbs/?tid=3470 https://www.lexaloffle.com/bbs/?tid=3470 Sat, 28 May 2016 11:34:50 UTC Object-Oriented Programming (sample 0.1.6) <p> <table><tr><td> <a href="/bbs/?pid=19887#p"> <img src="/bbs/thumbs/pico19886.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=19887#p"> Object-Oriented Programming (sample 0.1.6) 0.1.6</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=19887#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi,<br /> With PICO-8 0.1.6, you can now programming using OOP design. This sample use setmetatable to build a constructor.<br /> Regards,<br /> jihem</p> https://www.lexaloffle.com/bbs/?tid=3239 https://www.lexaloffle.com/bbs/?tid=3239 Mon, 18 Apr 2016 13:04:55 UTC Le manuel en fran�ais :-) <p>Commenc�e, d�laiss�e et finalement termin�e...<br /> Voici la documentation en fran�ais de PICO-8 : <a href="http://picoscope2016.fr/wp-content/uploads/2016/05/PICO.pdf">PDF</a>.<br /> Je vais progressivement compl�ter ce document avec mes notes, remarques et projets illustrant les diff�rentes notions pr�sent�es (et d'autres selon l'humeur du moment).<br /> Bonne lecture,<br /> jihem</p> https://www.lexaloffle.com/bbs/?tid=3226 https://www.lexaloffle.com/bbs/?tid=3226 Sun, 17 Apr 2016 17:29:28 UTC Picoscope2016 is coming in May 2016 <p>Hi,</p> <p>We are organising a coding party in Nantes (France). You are welcome to join us in the workshops and for the game jam. All of this made with PICO-8. </p> <p>Please, have a look on the flyers : <a href="http://picoscope2016.fr/wp-content/uploads/2016/04/Affiche_en.pdf">flyer (english)</a>, <a href="http://picoscope2016.fr/wp-content/uploads/2016/04/Affiche.pdf">flyer (french)</a>.</p> <p>=&gt; <a href="http://picoscope2016.fr/">Website</a> (Registration closed)<br /> =&gt; <a href="https://www.facebook.com/picoscope2016">Follow us on facebook</a> and/or <a href="https://twitter.com/Codyssea">twitter</a></p> <p>jihem (<a href="https://twitter.com/wdwave">@wdwave</a>)</p> <p><object width="640" height="400"><param name="movie" value="https://www.youtube.com/v/yrxwQ1RbVAE&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/yrxwQ1RbVAE&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="400"></embed></object></p> https://www.lexaloffle.com/bbs/?tid=3220 https://www.lexaloffle.com/bbs/?tid=3220 Sat, 16 Apr 2016 03:39:49 UTC pico 0.1.4d manual error? <p>flr x</p> <pre><span style=" display:inline-block; background-color:#eee; padding:2px; margin: 4px; padding-left: 8px; padding-right: 8px; color:#222">Returns the closest integer below x flr(-0.3) returns -1.0 [u]Same as (x%1) for positive values of x[/u]</pre> <p>print(flr(1.3)) --&gt; 1<br /> print(1.3%1) --&gt; 0.3</p> <pre><span style=" display:inline-block; background-color:#eee; padding:2px; margin: 4px; padding-left: 8px; padding-right: 8px; color:#222">Same as ([b]x - x%1[/b]) for positive values of x</pre> <p>This should be corrected in the manual.</p> https://www.lexaloffle.com/bbs/?tid=2980 https://www.lexaloffle.com/bbs/?tid=2980 Sun, 17 Jan 2016 15:35:54 UTC picoscope2016.fr tuto#004 <p> <table><tr><td> <a href="/bbs/?pid=18120#p"> <img src="/bbs/thumbs/pico18119.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=18120#p"> picoscope2016.fr tuto#004 0.1.0</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=18120#p"> [Click to Play]</a> </td></tr></table> </p> <p><object width="640" height="400"><param name="movie" value="https://www.youtube.com/v/5prXtAmU39M&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/5prXtAmU39M&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="400"></embed></object></p> <p>Ammo every 30&quot;<br /> Repair every 500 points</p> <p>left/right - to move<br /> up - to shot</p> https://www.lexaloffle.com/bbs/?tid=2946 https://www.lexaloffle.com/bbs/?tid=2946 Sat, 02 Jan 2016 15:06:36 UTC picoscope2016.fr <p>Hi,<br /> If you're a newcomer to pico, this may help : <a href="http://picoscope2016.fr/index.php/tutoriels/">tutos</a>.<br /> The cartridges describe a new concept each time. The screencasts have any sound (no language problem). The PDF files are in french. I may translate then later if required. Enjoy :)<br /> King regards,<br /> jihem</p> https://www.lexaloffle.com/bbs/?tid=2879 https://www.lexaloffle.com/bbs/?tid=2879 Fri, 11 Dec 2015 03:11:18 UTC MERRY CHRISTMAS! <p> <table><tr><td> <a href="/bbs/?pid=17485#p"> <img src="/bbs/thumbs/pico17508.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=17485#p"> MERRY CHRISTMAS! 0.0.3</a><br><br> by <a href="/bbs/?uid=11167"> jihem</a> <br><br><br> <a href="/bbs/?pid=17485#p"> [Click to Play]</a> </td></tr></table> <br /> Hi,<br /> Before there are hundred of similar cartridges...<br /> I want to wish you a Merry Christmas!<br /> Have a lot of fun with your familly.</p> <p>I kiss you all ;-)<br /> Thanks for the greater good that you give every day to the community &lt;3</p> <p>Many thanks to zep (for this strange and wonderful thing called pico-8)<br /> Kind regards,<br /> jihem</p> https://www.lexaloffle.com/bbs/?tid=2860 https://www.lexaloffle.com/bbs/?tid=2860 Fri, 04 Dec 2015 16:58:52 UTC