Skip to main content

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

Flimsy Excuse

4
Posts
1
Topics
A member registered Nov 28, 2020

Recent community posts

(1 edit)

I can see that using it like that really does stretch Decker's legs -- and I doubt I'm up to working with it at that level -- but your writeup really does help make sense of it all. It really does help, thank you so much for writing that out

p.s. Listener is such a handy feature

I have a basic grasp of Decker but I can't really figure out how I'd make a cutscene of my own. In my mind, the "shock" (for example) must be a canvas being used like a sprite(?) with the command toggling its visibility or something (or in the case of "!galena show" then show is somehow defined as rising up from the bottom of the screen...) But I can't really tell how to pull apart the example deck to see for myself. 

Anyone have any tips for me on where to look (or point me to a more simple example?)

Looks wild though!

Thanks for the help! Those options are very educational.

This solution would totally fit my use case:

on click do  
 go["tutorialized"]  
 alert["just so you know, ..."] 
end

But I found this very educational:

on view do
  if !tooted.value
   tooted.value:1
   alert["just so you know, ..."]
  end
end

I tried the "hidden variable" option unsuccessfully, mainly because I couldn't figure out the syntax scripting wanted or expected and didn't find examples to work from. I know how assignment works in lil (the ":") and I had the "if" format from the lil reference card but got nowhere in general.

In fact I only just recently managed to get canvases working to contain images to use as "sprites". I fiddled around for a long while trying to use canvases as a canvas that I could draw on/in to make a sprite from within Decker. It's much better to paste an image from the clipboard but that has its own nonintuitive workflow (at least on Windows, where I can't copy from e.g. GIMP and use edit->paste as canvas / paste into canvas; I have to paste into a spare card as an image, then CTRL-C that, THEN what I think of as "Decker's" clipboard contains it properly.)

Anyway, I still managed to crank out a birthday card for a buddy in Decker: http://web.failmail.club/bday.html

I want to do an alert message that pops up when entering a card (giving brief instructions, for example),

It feels like the right place to put this is in the basic card's script of "on view do" but this loops forever. What's the "right" way to do this? Looking at the events reference isn't helping me much.

e.g.

on load do

  alert["Click the thing!"]

end