Log In  

Cart [#35750#] | Copy | Code | 2017-01-15 | Link

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.

Now you can download the manual !

Le manuel en français est disponible.

Try to reproduce the blueprints or play with the sandbox...
I will add a score and more blueprints soon ;-)

In the main menu:
Choose a blueprint or the sandbox (up/down, x)

In the editor:
Choose the command in the first column (up/down, x) or return to the main menu (o)
Change column (left/right)

Change the value in the second colum (x, then left/right to decrease/increase)
Delete instruction in the second colum with (o)

Have a look on i_core thread to have more explanation about the language "I".

I will make a tutorial soon and post a link and additional information here.


:A 20 FD 90 TR ; :B 1 - # A ?B ; 4 B

CLR : clear
<CP : copy from clipboard
>CP : copy to clipboard

Copy the line below into the clipboard

:a 10 fd 90 tr ; a a a a

Paste in PICO-8, then activate <CP

Clipboard functions (<CP,>CP) aren't working in HTML exported cartridge.
Copy from notepad (text in the html browser may contain tag or additional characters)

P#34370 2016-12-28 14:06


Cart [#34207#] | Copy | Code | 2016-12-26 | Link

WARNING : This is not (yet) a game. It's a strange thing (only) for programers.

This cartridge includes i_core and the turtle extension.
It shows how to:

  • bind a personal extension (turtle object, turtle binding) to the language core engine,
  • initialize the external extension and call its methods (from PICO-I and i_core)
  • pass parameters from PICO-8 to i_core (N).

The turtle extension includes the following commands:

  • FD forward, 20 FD
  • BD backward, 20 BD
  • TR turn right, 90 TR
  • TL turn left, 90 TL
  • CL change color, 1 CL
  • PU pen up, PU
  • PD pen down, PD
  • TO go to, 10 10 TO
  • HD head to (0 right, 90 top, 180 left, 270 down), 0 HD

Sample :

':loop 20 fd <a tr 1 - # ?loop ; :side >n 360 <n / >a <n loop ; cls 4 side'

Have fun ;-)

Cart [#34198#] | Copy | Code | 2016-12-26 | Link

This is the core engine of a language ('I') and its virtual machine (all of this in PICO-8).
You can extend this engine (see how _SHW or _CLS are implemented).
You can create synonyms for a simplier use (see ADD and +).

The programs must be writen in a line. Terms are separated by space.

The engine is stack based (like forth): '5 4 + .' => shows 9

The operators + - * / and flr function are available.
The '#' duplicates the last value (of the stack).

You can evaluate (5 + 4) (3 + 2) with '5 4 + 3 2 + .' => 45

Create a sub function

:NAME <sequence of instructions> ;

':A 5 4 + ; :B 3 2 + ; A B * .' => 45

You can call the sub function NAME with its NAME (see A and B in the sample).

Create SQUARE and evaluate 3^2:

':SQUARE # * ; 3 SQUARE .' => 9

Conditional call


If the last value in the stack isn't zero it calls NAME else it goes to the next instruction.

This is usefull to create tests and loops:

':SA # . 1 - ; :LP SA # ?LP ; 5 LP 0 .'

Count down from 5 to 0 (then stop).

You can use variables:
>NAME (load value from stack)
<NAME (push value in the stack)

'1 >A <A <A + .' =>2

You can use many :EVAL call to enter your program (one line per call).
You can use as many i_core engines as you want at the same time (object).
You can execute the whole program (:EXEC) or run it :STEP by step.

:STATE returns 3 when done. You can restart with :STATE(0).

If you have read the description so far, you may have a question.
This sounds crazy... So, why?

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).

I think I can share this library and my interest in doing this.

picoscope101.fr where mad things come to life...

P#34035 2016-12-23 14:04


Picoscope2016 is coming in April 2017


We are organising a PICO-8 coding party in France.
You are welcome to join us in the workshops.

=> Website (near 30 places remaining)
=> Follow us on facebook and/or twitter

jihem (@wdwave)

P#30561 2016-10-10 15:16


Cart [#22757#] | Copy | Code | 2016-06-12 | Link

A howto about rotating a sprite around its center...
Use left and right arrows to spin the sprite.

P#22756 2016-06-12 10:25


Cart [#21543#] | Copy | Code | 2016-05-28 | Link


I'm on this since a couple of hours done on several days. I have a lack of time for the jam.
I will improve as I can but I submit like it is. I hope you will be kind enough to play with it.

Follow the radar indication. Shoot but don't be hurt. You have only one life.
The levels change each time the game is played.


P#21544 2016-05-28 11:34


Cart [#19886#] | Copy | Code | 2016-04-18 | Link

With PICO-8 0.1.6, you can now programming using OOP design. This sample use setmetatable to build a constructor.

P#19887 2016-04-18 13:04


Commencée, délaissée et finalement terminée...
Voici la documentation en français de PICO-8 : PDF.
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).
Bonne lecture,

P#19839 2016-04-17 17:29



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.

Please, have a look on the flyers : flyer (english), flyer (french).

=> Website (Registration closed)
=> Follow us on facebook and/or twitter

jihem (@wdwave)

P#19813 2016-04-16 03:39


Cart [#18119#] | Copy | Code | 2016-01-02 | Link

Ammo every 30"
Repair every 500 points

left/right - to move
up - to shot

P#18120 2016-01-02 15:06


If you're a newcomer to pico, this may help : tutos.
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 :)
King regards,

P#17692 2015-12-11 03:11

:: More
About | Contact | Updates | Terms of Use
Follow Lexaloffle:
Generated 2017-03-30 04:41 | 0.137s | 2097k