Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+3)

Anyways, I’d be willing to take a look and try some things out if you like - just let me know.

(+2)

That'd be fantastic, thank you. ^^ I did swap over to using Neo for Cinnamon in the recent update, and most operations are located in the script for the card itself.  There were some changes to Neo, which I documented here. One very noticeable slowdown occurs when moving and deleting layers, whereas I'm adding to the load by trying to refresh all of the patternshop contraptions using renderAll[] (Function to force an internal view[] event).

Deleted 44 days ago
Deleted 43 days ago
Deleted 41 days ago
Deleted 42 days ago
(5 edits) (+2)

Done

Update:

  • I fixed the two bugs that I made
  • There’s also a webxdc packed version in the repo so I can use it over DeltaChat for my own usage (it doesn’t synchronize, but that feature could be easily added)
(2 edits) (+2)

Also, if you want to wait until 1.72, it looks like IJ has incorporated similar performance boosts for image paste in base Decker so you don’t have to use my hacked version.

Let me know when you get a copy of the .deck and I’ll remove the repository from my codeberg page.

(+3)

I got it just now - thank you again for looking into this on my behalf. I can only assume IJ was also deep in thought about any optimizations that could be done.  

Nonetheless, your notes were insightful (There's probably some other things I can do to slim down the widgets...) and I'll be using your hack as a basis for 1.2 + My mobile cinnamon project (which might be evolving into a brand new subspecies of patternshop altogether). In fact, I already had your fonts downloaded and added to the new version before I saw your reply. :3

(2 edits) (+3)

Woodring definitely deserves credit here. I took a somewhat different approach in my patches and added a few additional ideas of my own after some careful benchmarking, but Woodring's post made me realize I'd left significant low-hanging fruit in image.copy[] and image.paste[] (as well as a variety of places throughout Decker which rely on the same internal routines.) I think v1.72 will offer a significant boost to many existing projects.

Thanks to both of you for pushing the limits of the platform!

(+2)

Glad to be of service - thanks to you both as well

(+2)

Also, I just merged your image_paste changes in over the top of my lil.js fork and it gave me several more frames per second. It’s very nice.

Missooni, I can cut you another copy of Cinnamon packed in html with those changes. Just say the word.

(+2)

By all means! I'd be grateful. ^^

(1 edit) (+1)

Done: https://codeberg.org/woodring/missooni.patternshop-cinnanom


Not directly related, but of note:

  • Added testing back to https://codeberg.org/woodring/decker.decker-xdc

  • It was stripped out before forking lil.js and it wasn’t needed it before, since it was the same as IJ’s

  • Also, added three tests for comparing timing tests/vector_stress.lil, tests/call_stress.lil and tests/dom/image_stress.js and build a nodejs lilt at the top level for the tests

Whoops - I didn’t set the HTML display width and height so it was hiding the toolbars right away. It’s fixed.