So, there's not really any built-in vector graphics stuff as such, Decker is pretty bitmap based. But if you look at the doco for the canvas widget it's got built in functions for drawing a polygon, a line, etc. I'd think if you write code to use these to dynamically draw whatever shape you want scaled to whatever size is necessary you could essentially do some vector-type graphics this way. If you come up with a particularly clever or general-purpose way of doing it then you could even make it a contraption or module and release it for others to use! This would take some coding though
Millie Squilly
Creator of
Recent community posts
I have a whole bunch.
zine of Millie already has its own thread but I've made like 22 issues haha. I'll go over the ones on my itch page below
JankyTunes:
For a jam last year I made a whole bunch of musical tools/toys
Janky Drum Machine was my first attempt, a pretty simple drum machine
Janky Synthesizer is a keyboard that generates the noises in real time with a bunch of things you can adjust with the waveform
Janky Sequencer takes the same synthesis engine and uses it in a sequencer, so you can program in tunes and such
JankyTunes: The Contraption is a version of Janky Sequencer that can be embedded inside other decks so you can use it for background music
and I Bring You Notes is a collection of tracks I wrote in Janky Sequencer packaged together as like an EP
Fun game things:
you tried to date me and it went poorly is a semiautobiographical visual novel
Deck(er) The Halls is a digital christmas card
Day, us-ex is a silly gag game referencing a popular immersive sim series
Get Out And Run Some Errands is a point and click game about having to leave the house
and Asteroid Run is an action game about flying a spaceship through an asteroid field
Helpful Decker Modules:
Typetext lets you have text appear in a field one character at a time, optionally with sound effects
PaletteFade is a series of functions for manipulating Decker palettes to create various effects, including fading to black and crossfading
I wonder if a persistent pinned post in these forums would help, as sort of a master list of previous jams as well as when the next one is scheduled. Once a jam is over it can be a bit hard to track down the link, I've found (unless I am missing something, which is entirely possible), so this could help newcomers be aware that there's jams on a regular schedule and also showcase the previous jams a bit.
I've just put out issue 22! https://zine.milliesquilly.com/issue22.html
I used the path module and the follower to make an RPG town style menu!
I did just recently update the code in the deck, so it's possible that the previous version had some glitch in it? Or maybe it was the saved code? Anyway, glad it is working now! I am looking forward to seeing what you're using it for, and as I've said elsewhere please get in touch if you need help with like having JankyTunes autoplay or anything like that!
I don't think I've ever posted a thread about it here, but I've been making zine of millie for a while now, and I'm working on issue 22! Here is a link where you can find it all: https://zine.milliesquilly.com/
There is an example of overriding the navigation events to capture arrow keys and use them for movement with the sokoban example deck http://beyondloom.com/decker/goofs/sokoban.html
You may be interested in the "path" module and the included Follower contraption in terms of top-down games http://beyondloom.com/decker/path.html
In terms of platformers, it's a bit tricker because of how controls work on Decker (essentially since it's designed to be compatible with mobile devices we can't read keyboards directly) but this post from Internet Janitor has some thoughts https://itch.io/post/10102065
Yeah, it is a scripting thing, but not a complicated one. The scripting line for starting the contraption playing from the start of the song is just
jankytunes1.playfromstart[]
(assuming the contraption has the default name), so you just need to call that as the first thing when a card opens. It may work if you put it in the "on view" part of the card's code.
And then to hide the buttons you just need to set the contraption to "show none".
But by all means wait until the pain and associated painkillers subside before thinking about anything complicated <3
If you are interested there's some things you can do to have the jankytunes contraptions play automatically and then hide the default controls, or like replace the controls with your own buttons, basically there are functions you can call on the contraptions to have them do that but reach out if you want help! But if you prefer it the way it is that's all good!
I put an article about the jam in my Decker zine if anyone wants to read https://zine.milliesquilly.com/issue21.html
I've worked up a Decker module that does a few fun tricks with fading between palettes! Check it out and let me know if you use it! https://micpp.itch.io/palettefade-module