Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Share your Ink!

A topic by piotrbizzle created Sep 06, 2022 Views: 246 Replies: 5
Viewing posts 1 to 5
Submitted (2 edits) (+1)

Last year, there was a thread for developers to share their ink scripts with each other, if you’re up for it, let’s revive the tradition for Inkjam 2022!

You can find the Cake King II ink story here: https://github.com/piotrbizzle/inkjam22/blob/main/InkScripts/MainStory.ink

^^ For next year, I want to learn the language better before going into the jam. There’s a lot of stuff in that file that’s super repetitive. I ended up throwing together a python script to generate a lot of the Ink code I needed @_@

Host

Who says there’s a jam next year? 👀

Submitted

:0 getting ahead of myself clearly

Submitted(+1)

Interesting idea! I'll join in. Here's the Ink file for The Foray: https://github.com/mrfergusdoyle/InkJam22/blob/main/The%20Foray.ink

It's quite simple in terms of what was on my end, mostly switching variables to call the music or the images, or having certain dialogues only trigger when you've seen something before. I keep wanting to do more interesting stuff with things like randomisation, but that usually makes the story too tangled for a weekend jam.

Submitted(+1)

Very interesting way of generating the code. I know of some people who used ruby to generate code !

The ink code for the Lieutenant Bokit game is downloadable directly on the game. It's peculiar because it adheres to binksi rules and, for once, does not make use of threads (which is my favorite ink affordance)

Submitted(+1)

Here's my ink file: https://gist.github.com/nbush/977a6e8974072e25fdccfea0a5cbc24c

The tooltips are managed using ink flows, so the file serves primarily as a sort of content database. It's not pretty, but if anyone is curious about how the Javascript works for that I can share that as well. Essentially, every time you hover over a tooltip you spawn a flow that dips into a specific stitch and ends almost immediately. When your mouse leaves the tooltip, the flow gets destroyed, but this all happens within the same ink "instance" so information can be shared throughout, which I think shows the power of flows. There are a few commented out debugging tools, but playing the file in Inky is not super helpful due to the structure of the game. Also feel free to search for 'secret' and plunder the wonders within...