Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Millie Squilly

637
Posts
20
Topics
219
Followers
81
Following
A member registered Jun 13, 2015 · View creator page →

Creator of

Recent community posts

In order to put text on your card, you'll need to add a Field widget.

Switch to widget mode with Tool->Widgets

Then create a field with Widgets->New Field

The field widget will appear and you can position and resize it as needed

To type text in it, double-click it and type into the Text section of the properties box. Alternatively, if you switch back to Interact mode (Tool->Interact) you can just click in it and type.

(As a final tip, if you're looking at releasing a deck for others to use, you may want to "lock" the field to stop the text from being editable in interact mode. You can do this by selecting Widgets->Locked from widget mode with the field selected)

I hope this makes sense, let me know if anything doesn't though!

I think I've made a start on something but we'll see how it goes, fingers crossed!

So, short version is that if there's anything you need to store outside an individual function call in Decker, the intended solution is to store it in a widget, on a card. Values of variables otherwise don't persist outside the specific piece of code that you're running at the time.

Let's say if you need to store a string named "mystring", you'll probably want to make a field widget to store it in, let's say it's called field1. Then in your code you can just store it like this

field1.text:mystring

And you can then access field1 from any other bit of code on the same card and retrieve the string from field1.text. And if you don't want the user messing with it at runtime, you can "lock" the widget or set its view attribute to "none" to hide it.

If your widget is on a different card, that's no problem either. I find it can work to have an inaccessible "utility" type card for holding onto variables. Let's say if I have field1 on a card named "myvars" for example, I can refer to it like this

myvars.widgets.field1.text

If you're storing values other than strings, in theory pretty much every Decker datatype can be serialised into a string but it might make more sense to use other methods for different data, depending on what you want to do. There's a bit of information in Phinxel's Field Notes, in the Lil section on the "Storing Information" page that might come in handy here.

It sounds like you've tried something like this but run into some issues, maybe you could go into details? In theory even if you're doing something "wrong" Decker shouldn't be hard-crashing so if you've got some examples of that then that could be handy in case there's a bug.

If you want to have a global constant though, that's a bit of an easier matter. You can at the top of a widget script, or a card script or the deck script, predefine the values of variables to essentially use them like global constants. Something like this

magicnum:1234
mystring:"Hello, World!"

I hope this makes sense but let me know if you need more explanation.

I have... some ideas. Not quite sure where to go with them yet but I've really wanted to make something narrative-focussed again so I'll try to come up with something!

It has AGAIN been a fair gap but I am still making these. zine of Millie CE issue 2 is out now! https://zine.milliesquilly.com/ce/ce2.html

the art is so pretty! I'm glad you made good use of my modules haha

Yeah it looks like it's working now!

This is great, I love the art!

This looks amazing btw! Is this a good result?

Oh this is cool! I am going to have to poke around and figure out how that metronome contraption works when I have the energy to do so, it seems a lot steadier than when I've done timing based on video frames!

aww yay a willow game! yesssssssss

This is great and looks amazing, another ahmwma banger!

This is lovely :3

It's a good tool to confuse pets with!

The sampler one I put out earlier also supports custom sounds haha

yes

omg phinxel zine!!!

I managed another janky instrument (kinda smooshed the previous two together haha). Janky Samplemin.

Oh this is all stylish, wow!

Oh dang this is wiiiiiild!

Hehe I forgive you, it is a good feature to add!

I've already made a couple of janky musical instruments for this jam, Janky Theremin and Janky Sampler.

I'd originally made a custom module for Janky Sampler to handle resampling the audio to be faster or slower, but with Decker 1.69 there's built-in native functionality to do that and it sounds nicer and runs much faster, so this evening I updated Janky Sampler to use that instead!

I'd originally thought I might make some sort of narrative point and click or visual novel type thing for this jam but it kinda ain't happening, so maybe I'll give that another try at a time of year when there's more sunlight in these parts haha

nice!

It is pushing the limits in terms of being fast enough, haha. I'm not sure if there's any tricks I can use to make it more efficient

Oh this is great, I love the colours!

Oh hell yeah I will definitely get some use out of this!

The web version of Decker is just Javascript so it should work on most anything, the main issue is things are a bit small (and the wrong shape) on mobile haha

Thank you, although I almost feel like these sounds were discovered rather than created

The only touchscreen I've been able to try it on is my phone haha

outrageously delicious!

My apologies to the mildly annoyed chicken!

Haha nice! There are now two cigarette-related zines made with this template and I don't quite know how to respond to that lol

You should try making something in Decker yourself!

You sure are!

If a bunch of us are saying similar things in manifestos it probably means we're right

I strongly believe "good" is a fake concept when it comes to art!

probably for the best

squiggly shapes are underrated!

I am glad it made sense!

Hell yeah, congrats on the release! Just picked it up on Steam and played through, although apparently there's a few secrets I haven't found yet!