Log In  
Follow
jihem
Pikoban
by

Cart #conway_s_game_of_life-0 | 2022-06-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Conway's game of life
See https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Interesting use of the map with mget, mset and memcpy.

0 comments



Cart #hillcipher-0 | 2020-03-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

In classical cryptography, the Hill cipher is a polygraphic substitution cipher based on linear algebra. Invented by Lester S. Hill in 1929, it was the first polygraphic cipher in which it was practical (though barely) to operate on more than three symbols at once. The following discussion assumes an elementary knowledge of matrices.

https://en.wikipedia.org/wiki/Hill_cipher

I have added the space after the 'Z' in the alphabet so each symbol is represented by a number modulo 27.

0 comments



Cart #vectfont-0 | 2020-01-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

This is a custom font library. You can create your own font. Just use the matrix to set the drawing of the char. Use a dot a the begin of each line. The drawing for the letter 'F' can be '.PAC.FG'. Put the pen in P then a line to A and from A to C. Next, put the pen in F and draw a line to G.

f='.pac.fg'

Sampe of use:

function _draw()
 cls(5)
 font:drawtext(3,10,'t⬇️his is a way to create custom',7)
 font:drawtext(3,20,'⬇️vector ⬆️font.',7)
 font:size(4,5)
 font:drawtext(11,52,'s⬇️ize matters!',1)
 font:drawtext(10,50,'s⬇️ize matters!',14)
 font:size(2)
 line(55,113,127,113,8)
 font:drawtext(56,105,'⬇️picoscope101.fr',7)
end
3
3 comments



Cart #greta-0 | 2019-12-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

This game has be made for Ludum Dare 45 : “Start with nothing”. You’re the Spirit of the Nature. You have nothing and should collect with the appropriate tool droplets of water, sun and earth to feed the plant.

Use arrows to move and [x] key to change the current tools.

Could you help Greta to grow? ( the name of the flower)

(Done by @s_yanik & @wdwave)

2
1 comment



Save the date! june 9th, #pico8 conference at the Bordeaux Geek Fest 2019 (France) - Arthur Dent Club
URL Official french announcement

2 comments



Cart #stones-0 | 2018-12-02 | Code ▽ | Embed ▽ | No License
1


You’re the Spirit of the stones and have to collect (and sacrifice) them.

Will you find the path ?
Could you resolve the gods challenge?
Is 1min16 is enough for you to succeed ?

This my compo for LD-43 : 'Sacrifices must be made'
https://ldjam.com/events/ludum-dare/43/stones

1
0 comments





This a code sample of splitscreen in pico8 to allow 2 players to play on the same screen (and go where they want).
Enjoy :-)

2
0 comments



BAT
by jihem
Cart #43609 | 2017-08-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

This cartridge is an exploration about 'how to show things to the player'.
Arrow keys to move, [O] button (usually Z/W key on qwerty/azerty keyboard) to change the view mode.
Sometime, I just make pico stuffs for the pleasure to scratch my head... :-)

3
7 comments





These cartriges show how to manage double-action buttons.
Two methods for the same result. The version 2.0 is better.
In hope this may helps at least the guys who were asking for it ;-)


0 comments




I was exploring a way to manage double-acting press button.
In hope this helps.
Have a nice day :-)

0 comments



Hi,

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...
You will find samples in these cartridges.

The last event we were involded, was a great success (Roc'n Stick in Niort, France).
Pictures of the PICO-8 workshop, march 25th

I hope I will see you in the next coming weeks ;-)



Events...


[ Continue Reading.. ]

2
0 comments



Cart #38057 | 2017-03-05 | Code ▽ | Embed ▽ | No License
2


This a sample of the object LAB used to generate a labyrinth.

=> Random path merge

fr.wikipedia.org

2
0 comments



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

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.

Sample

: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

/!\ WARNING:
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)

16
8 comments



Cart #34207 | 2016-12-26 | Code ▽ | Embed ▽ | No License
7

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

[ Continue Reading.. ]

7
5 comments



Picoscope2016 is coming in April 2017

Hi,

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)

1
7 comments




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

68
44 comments



Cart #21543 | 2016-05-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

Hi,

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.
Regards,
jihem

9
10 comments




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

6
19 comments



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,
jihem

5
1 comment



Hi,

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)

3
12 comments





Top    Load More Posts ->