Log In  

Cart #35750 | 2017-01-15 | Code ▽ | Embed ▽ | No License

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 ( Edited 2017-01-21 15:44)

:: roywig

I made a simple tree :)

(a better stop condition would speed it up- it spends too long drawing tiny branches)

P#34390 2016-12-28 18:42 ( Edited 2016-12-28 23:42)
:: jihem

Well done, you rock !!!

You can accelerate the rendering process in the M:DRAW method. At the end, change from



 while i>0 and self.vm:state()!=3 do

where i is the number of steps to do (i=4).

Live edit session with your code:

P#34417 2016-12-29 03:44 ( Edited 2016-12-29 08:46)
:: jihem

Regular polygons !!!

Live edit session:

P#34437 2016-12-29 12:41 ( Edited 2016-12-29 17:41)
:: jihem

i_editor updated to 1.2

Logical operators added : <, >, =, !
(less than, greater than, equal, not)

360, 90 default values added

abs, cos, sin, sqr (square root) added

P#34465 2016-12-29 17:05 ( Edited 2016-12-29 22:05)
:: jihem

i_editor updated to 1.3

Clipboard enabled (<CP, >CP)

P#34513 2016-12-30 12:11 ( Edited 2016-12-30 17:11)
:: jihem

i_editor updated to 1.4

. displays result in the drawing (up to 17 lines)

5 4 + .

P#34584 2016-12-31 05:01 ( Edited 2016-12-31 10:02)
:: jihem

i_editor updated to 1.6

it looks like a game now...

You can switch from one blueprint to another. Your programs are saved (until you quit the cartridge).

P#35164 2017-01-07 12:17 ( Edited 2017-01-13 06:27)
:: jihem

If you see something strange in the manual (errors, missing words, ...) or if you have ideas about additional content, let me know :-)

P#35798 2017-01-15 16:18 ( Edited 2017-01-15 21:18)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-09-26 01:35:34 | 0.015s | Q:24