December 10, 2019, 06:22:19 AM

Author Topic: A nameless Sprite editor inspired by the one in pico8  (Read 553 times)

Offline Pakz

  • Full Member
  • ***
  • Posts: 171
    • My homepage
A nameless Sprite editor inspired by the one in pico8
« on: June 08, 2019, 02:10:45 PM »
I started working on a Sprite editor a couple of days ago. I have based it on the pico8 sprite editor. It has no save or import feature at the moment. It does export the current sprite to the clipboard buffer as a monkey2 array of arrays(c key)
 
The sprites at the moment have 16 possible colors which are the c64 palette. 8x8 in dimension. There are 4x*40 sprites possible.

There are a bunch of tools for editing. A map editor is also present.


https://cromdesi.home.xs4all.nl/emscripten/spriteeditor/Untitled1.html

Currently I stil need to update the selection tool to work with negative selections. Other quirks might also still be present.

On my github the sourcecode(monkey2) can be found. (user pakz001)

I have no idea how far I wil go with this editor. I wrote down several ideas in the code. I mainly want to use it to copy sprite data into my monkey2 projects.

Note that the emscripten version has no copy to clipboard option.

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2220
Re: A nameless Sprite editor inspired by the one in pico8
« Reply #1 on: June 08, 2019, 08:09:56 PM »
He he, fun to play with. I made tileable brick ;D

Until the next time...

Offline Pakz

  • Full Member
  • ***
  • Posts: 171
    • My homepage
Re: A nameless Sprite editor inspired by the one in pico8
« Reply #2 on: June 08, 2019, 08:16:57 PM »
Nice!

I actually was copying a tileset from one of the 8 bit competition games posted here. This made me increase the amount of possible sprite slots since they fill up quickly.

Offline markcwm

  • Sr. Member
  • ****
  • Posts: 409
Re: A nameless Sprite editor inspired by the one in pico8
« Reply #3 on: June 08, 2019, 10:07:59 PM »
I made a lizard man. It looks a bit like a Euro symbol. :)

Offline therevills

  • Hero Member
  • *****
  • Posts: 582
Re: A nameless Sprite editor inspired by the one in pico8
« Reply #4 on: June 09, 2019, 04:12:38 AM »


 :D

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2220
Re: A nameless Sprite editor inspired by the one in pico8
« Reply #5 on: June 09, 2019, 05:30:44 AM »
@therevills - I was thinking of something witty to say but for an 8x8 sprite that's pretty impressive.... twat ;D my brick was way more impressive
Until the next time...

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1418
Re: A nameless Sprite editor inspired by the one in pico8
« Reply #6 on: June 09, 2019, 07:42:42 AM »
great work :)

I went for a sprite block of 256 arranged in 16x16 in mine

Offline Pakz

  • Full Member
  • ***
  • Posts: 171
    • My homepage
Re: A nameless Sprite editor inspired by the one in pico8
« Reply #7 on: June 09, 2019, 08:02:45 AM »
I want to add 16x16 and 32x32 dimensions later on. I think I set it up in the code so that it should be easy to switch. I use a different canvas and image for every sprite. Then a additional array for each sprite to store the color codes.

I went and started a little bit unprepared and the creation of hundreds of images and canvasses can take a little bit of time. Also the monkey default memory of emscripten was not enough and I had to double it to 128mb.

I want to look if I can make it work on the tablet also. But the itch version of monkey can give errors if you reload it on mobile devices breaking it actually.