For more games you can follow me on twitter: @allhaildaniel
Instructions
Move using the arrow keys and press z or space for shooting and selecting.
Update Fixed a bug with the music at launch.
Update: The Javascript on this page is now built into Twine 1.4! It is no longer necessary to install it.
I've noticed that a good deal of variable usage in Twine is simply employed to track whether or not you've visited a certain passage previously, or done so a number of times. This script code provides you with a function that can give this value straight, without needing to use the <<set>>
macro.
Obsolete script removed: use Twine 1.4
To use it, use "visited("Passage")
" as a value in a <<set>>
, <<if>>
or <<print>>
macro. It will equal the number of times you've visited the passage whose name is between the quotes and parentheses. For instance:
<<if visited("Store")>>You've been to the store.<<endif>>
<<if not visited("Firepit") and not visited("Maggotpit")>>You've not yet been to the fire pit or maggot pit.<<endif>>
<<if visited("Trap Floor") gt 2>>Your repeated stomping is making the floor weaken.<<endif>>
You've visited the chasm <<print visited("Dark Chasm")>> times.<<endif>>
<<set $count = visited("Jewelers")>>You've visited the Jeweler's <<print $count>> times.<<endif>>
<<if visited($bossPassage)>>If only you'd had this when you'd fought the boss!<<endif>>
<<set $beenToMyHome = visited($myHome)>>
New: If you just put visited()
, then it will count visits to the current passage, without you needing to include the passage's name.
<<set $beenHereBefore = visited()>>
In addition, here is a function called "visitedbefore" which can be used to tell you if a passage has ever, in the course of the game, been visited before another passage.
window.visitedbefore = function(e,f) { var h,c,ret; for(ret=c=0; c<state.history.length; c++) { h = state.history[c].passage; if(h && h.title == e) { return true; } else if (h && h.title == f) { return false; } } return false; }
<<if visitedbefore("Firepit", "Maggotpit")>>First the fire pit, then the maggot pit, now this?!<<endif>>
<<if visited("Armory") and visitedbefore("Firepit", "Maggotpit")>>First the fire pit, then the maggot pit, now this?!<<endif>>
<<if visitedbefore("Dragon Hoard", $myHome)>>You must've left it at home after meeting the dragon.<<endif>>
Some notes:
<<display>>
macro as a visit.visitedbefore()
will return false.A VN about being a ghost
A golf simulator that allows you to actually, physically play golf using your computer's mouse as the target hole. I'm sure most people reading this do not have golf balls and clubs laying around, but part of the appeal is that anything you want to use can fulfill those roles. I did not intend for the first two sentences to rhyme with each other.
Work on this began in September 2018, and I kept putting it away due to various life circumstances, as well as getting frustrated because my grand ideas were not always possible - or the solution for making them possible wasn't readily apparent to me. All in all, if I tallied up the amount of time I actively spent working on it, excluding the brainstorming stage, it probably took me a month's worth of full time work. I'm happy with the end result, a funny program that lets you to play a pretty well known game in a way that's just slightly different enough to seem weird and interesting.
Something I discovered during development, while I was testing this, is that you can play this game without actually treating it like a golf game. You can just swat the mouse around to activate the "hole out", and it almost takes on this fidget-spinner type quality to it. So while I keep referring to this as a "game" or a "golf simulator", in many ways it can also serve as a toy.
I'm glad to be able to work on other stuff now, free from the looming spectre of "but you haven't finished Pitch and Putt Club."
Hope someone out there enjoys this!
Hillbilly Bongo School. It's pretty self explanatory, if that's even possible.
Writeup later, I should be getting ready for work.
I haven't decided yet if I should give explanations about this game.
...well, more a proof of concept.
But seriously, I present the first version of Krawl! At this stage, it's just a random maze generator. It takes a little while, but it's kinda mesmerising. Linear searching of a matrix has never been so much fun!
This took me some hours. Though I've gotta say, it is one of my proudest achievements in Klik & Play to date.
Next step is making it look like a mad proppa dunjin with rooms and naturalism and all that bebop, but I'm a little spent.
Edit: For those interested, the algorithm is a slightly modified version of part I of this page . That page, in turn, came from the pretty interesting (for the mechanics-minded of you) 300 mechanics page.
Attachment | Size |
---|---|
krawl.zip | 116.12 KB |
I was thinking about this game just this minute and thought it would be a good addition to the Trainwreck Gallery. Well it would if I could find a working link to the bloody thing as the only one I've found is a dead FortuneCity link. Kind of makes me wish I had saved a copy from 1998 or so since it is a "Klik" game, that sort of thing seems to be in vogue around these parts. All I could get of it was a description I yanked from some site;
Which I think speaks for itself, really.
doodled the graphics while listening to the song https://www.youtube.com/watch?v=l0NYFVYiOzc
If I want to find certain game genre's or look at games that people have made a real effort to create I have to go through the entire library of games. Even if I want to spend 5 minutes playing something crazy it takes time to find it.
A search filter system and rating system for all games is a must.