Pixel 8 - simple node development for the pixel

pixel-kit
#1

I’ve created a tiny wrapper around the node version of the community-sdk for building projects using node - https://github.com/thaggie/pixel-eight#pixel-8

It’s a bit easier to get going with for node as it’s published to npmjs:

mkdir example
cd example
npm init -y
npm install --save pixel-eight
4 Likes

#2

Love this, love pico8!

2 Likes

#3

@haggie Is there a simple, non-programmer-friendly guide for installing the library? Just cloned your repo, followed the guide, created the demo directory and when running the example it comes up with a Cannot find module ‘./font’ error. This is from a clean ‘i have nothing installed’ sort of installation.

Any help appreciated!

1 Like

#4

This is AWESOME :heavy_heart_exclamation:

2 Likes

#5

Sorry that’s a bug you found with the version I published last night - fixed now.

If you change the version in package.json to 0.0.6 and run npm install it should be fine now.

The example script in the README references a saved animation exported-animation.json you can comment out this line (and the line where bitmaps is used) or export an animation from the desktop tool and save it into the directory with that name.

1 Like

#6

Awesome, thanks for the tip, I shall try that tomorrow and report back. Super exciting!

1 Like

#7

I’ve created the first page of a tutorial working through using the library:
https://haggie.ca/2019/01/24/pixel-eight

2 Likes

#8

Very cool, thanks for this, I just gave it a push on our social media channels :+1:

1 Like

#9

The second page of the tutorial, adding interactivity via the buttons:
https://haggie.ca/2019/01/25/pixel-eight-2

2 Likes

#10

Awesome! Will share with the community as well today :smiley:

1 Like

#11

The third page of the tutorial, adding in the game logic - making the game playable:
https://haggie.ca/2019/01/28/pixel-eight-3

2 Likes

#12

I (finally) added a the final post writing up how to write text to the screen to create a splash screen and score display - https://haggie.ca/2019/03/17/pixel-eight-4

1 Like