Random posts

What a Crappy Day to Have a Curse

WhatACrappyDayToHaveACurse.png

The prequel to What An Awesome Night For A Curse.

Left/right = Movement

Avoid the fire from the dragon.

Made For: 
Pirate Kart 2
Sprite's picture

Virtual Stepfather

Virtual Stepfather.png

Can you survive a conversation with your new stepfather without hurting his feelings?

EDIT: Re-uploaded with controls that actually make sense now!

Event Created For: 
Made For: 
An event
SpindleyQ's picture

Klik of the Month Klub #10

Sat, Apr 19 2008 04:00 PM
04/19/2008 - 16:00
04/19/2008 - 18:00
US/Pacific

The Klik of the Month Klub meets right here on this very website on the third Saturday of every month at 4pm Pacific Time (taking daylight savings into consideration) for a two hour Klik & Play Showdown. Everyone who participates gets two hours to create something from scratch in Klik & Play. Abusing the stock objects is encouraged. If you really loathe Klik & Play you can use whatever game development platform you want. Two hours is a pretty tight time limit, though, so choose wisely!

Klik & Play is absolutely free to download, and learning it takes minutes, so everyone can get in on the action. Want to talk to your fellow Klikwreckers? Join us on IRC -- server irc.freenode.net, channel #glorioustrainwrecks. Join the mayhem!

Sign up below to get reminded by email the day before the klikkening begins!


Games made for Klik of the Month Klub #10

madamluna's picture

Give Yourself Klikbumps

Picture 11.png

Give yourself goosebumps with Give Yourself Klikbumps, with a grand total of ten and a half endings to find! With absolutely no relation to the book series by R. L. Stine. None at all, ever.

The zip file contains Windows, Mac and Linux versions.

Made For: 
An event
fireball3k's picture

knp archive

http://foo.2038.cc/klik/

has anyone seen this site yet? it's got a few downloadable archives of knp/tgf games

Johny L.'s picture

Hey

Hi everybody, i decided to come back again here because i feel like having nostalgia of these awesome klik games, but the bad news is i entirely lost the source codes of my games since i accidentaly deleted my klik n play folder.

Also, i've been thinking to make a 3rd Mr. Cat, which is gonna be the most longer than the other 2.

And by the way, remember that i love you guys even if i was gone, i'll try to never be gone at this time.

ExciteMike's picture

Mike wants help with Pirate Kart stuff!

As you may have heard, the GDC Pirate Kart Kickstarter is fully funded! That means I've got even more stuff to do! So I'm asking for a little help! But also involving the community is fun anyway!

  • T-Shirt Design - I could fall back on the cartridge image seen here, but it might be cool to see what else we can come up with? Especially if it's a single color so that it's cheaper to print and/or can glow-in-the-dark!
  • Poster Design - I was thinking something like those Ludum Dare wallpapers I've made? We probably won't get a number of games that exactly fills the poster with no gaps, so some kind of logo or message could go in that? Then again a bunch of screenshots with no explanation is kind of awesome too. Also I never did turn this into a poster either. Okay maybe I didn't need to ask for poster help, but I do welcome additional ideas!
  • Business Card Design - It might be cool to have Glorious Trainwrecks cards people can grab at the kiosk! Maybe that would be a better use of that "without making a few friends" image. We can also do more than one kind!
  • Program Icon - For the corner of the window and the icon you click to launch it.
  • Reaction Cam - SpindleyQ had the awesome idea to try and livestream or at least record people as they play! We'd need to get a webcam and figure out how best to stream it without bringing up a window for it if we can help it. Something on the commandline or code the coded-in-Python launcher can use directly maybe? I don't know how feasible it would be to record three days of video but making a sped-up video of everyone playing like the Winnitron did last year would be cool.
  • Launcher Music - Anybody feel like making some musak? We seem to have a tradition of using "The Girl from Ipanema" :) Maybe someone could do a cover?
  • Knytt Player - As discussed here, if we have a hacked build of Knytt Stories, we could make the launcher support people submitting those .bins!
  • TESTING - I perhaps put the event unwisely-close to GDC. There's just no way we want to make one person play ALL the games to make sure they work, so hopefully I can get a bunch of you to try the kart launcher between Pirate Kart Weekend and GDC and the worst of the issues can get sorted out. The launcher is going to have some auto-updating capability so hopefully even if something goes horribly wrong I can still fix it for most people.
  • A PC - I need to get a computer there to actually run the kart on! I would use the very laptop I am typing on now, but for godknowswhy it has a lot of trouble with games made in game maker and I really want to support those! So if you are in the area and have a PC or laptop and can get it to Moscone to set it up in the kiosk, let's talk! (I think monitor, speakers, mouse, keyboard are provided but I should doublecheck)
  • Booth Decor - We should definitely get a poster or pirate flag or something! If we can come up with the design (the one I used for the IGF Kart is definitely fair game) and figure out how/where to get them made, I can throw the money at it!
  • Swag? - I don't know if it's affordable enough, but we could maybe give out discs? Hand-labelled DVRs fit the theme beautifully.
  • Signed Copy - I don't know what to do with it once it's signed, but someone should bring around a DVD/DVD case of this kart or the IGF Kart for signing!

Whew that was a lot of stuff! Like a month ago some people were asking how they could help and I didn't give useful answers, so hopefully it's not too presumptuous of me to ask now! I appreciate any help I get!

Also I feel a need to say this somewhere: I'm seeing some folks talk about "Mike's" pirate karts, I've been doing a few interviews, and I was invited to be a speaker at GDC because of them (just one of the 5-minute microtalks, but still). That doesn't completely sit right with me. The pirate karts being about particular people is pretty much the last thing I want. Someone else gets to organize the next Pirate Kart or other community stunt, ok?

FUN FACT: Apparently Clickteam has a booth at GDC this year! I am so going over there and giving them a high-five!

private message.net

what.JPG

oh god please dont play this

Made For: 
Pirate Kart 2

Twine: <<if>> and whitespace

Update: This behaviour has been changed in Twine 1.4! It no longer applies.

This is just a summary of how <<if>>, by default, handles whitespace characters (that is, line breaks, spaces, tabs, and such.)

The behaviour

The rule is: the <<if>> macro removes all whitespace contained between the <<if>>, <<endif>> or <<else>> tags and any non-whitespace contained text.

Consider this code sample, in which the line breaks are marked:

The magenta line breaks (those contained between the <<if>> and <<endif>> and the actual text) will be removed by the macro. Thus, this will render as follows:

A slice of marmalade toast on a plate,
a bit of quiet,
and a spot of tea.

A slice of marmalade toast 
on a plate,
a bit of quiet,
and a spot of tea.

Resisting this behaviour

The <<if>> macro was primarily designed for inserting whole paragraphs. This behaviour is, however, less useful for, say, inserting sentence fragments into paragraphs, which often have leading spaces. There are a few ways to get around this. Such as:

  • Empty comment syntax

    If you pad the interiors of <<if>> macros with an empty comment tag "/%%/", then the behaviour will be overridden, because the comment tags will be treated as text despite not appearing in the final story.

    First line. <<if $a gt 0>>/%%/
    Second line.
    /%%/<<endif>>
    This might be the most basic method of all listed here.

  • Using <<print>>
    The <<print>> macro can also be used.

    A complete sentence<<if $a gt 0>>
    <<print " with an extra amendment">>
    <<endif>>.

    However, it isn't obvious how to add line breaks using this method. There is a way, obscure though it is:

    <<if $a gt 0>><<print "First line." + String.fromCharCode(13) + "Second line.">>
    <<endif>>

  • Using a HTML <br>

    If you want to preserve a line break inside <<if>>, you can do so by the forceful method of using inline HTML.

    First line.<<if $a gt 0>>
    <br>Second line.
    <<endif>>
    

    [*]Patching <<if>> to not remove whitespace

    Much like most undesirable Twine behaviour, this can be patched out on a story-by-story basis. The script code for doing so is as follows... however, using this will conflict with my <<else if>> script, so you can't have one and the other.

    version.extensions.ifMacros={major:1,minor:1,revision:0};macros["if"]={handler:function(place,macroName,params,parser){
    var conditions=[],clauses=[],srcOffset=parser.source.indexOf(">>",parser.matchStart)+2,src=parser.source.slice(srcOffset),endPos=-1,currentCond=parser.fullArgs(),currentClause="",t=0,nesting=0;
    for(var i=0;i<src.length;i++){if(src.substr(i,9)=="<<endif>>"){nesting--;if(nesting<0){endPos=srcOffset+i+9;
    conditions.push(currentCond);clauses.push(currentClause);break;}}if((src.substr(i,6)=="<<else")&&nesting==0){conditions.push(currentCond);
    clauses.push(currentClause);currentClause="";t=src.indexOf(">>",i+6);if(src.substr(i+6,4)==" if "){currentCond=Wikifier.parse(src.slice(i+10,t));
    }else{currentCond="true";}i=t+2;}if(src.substr(i,5)=="<<if "){nesting++;}currentClause+=src.charAt(i);
    }try{if(endPos!=-1){parser.nextMatch=endPos;for(i=0;i<clauses.length;i++){if(eval(conditions.shift())){new Wikifier(place,clauses[i ]);
    break;}}}else{throwError(place,"can't find matching endif");}}catch(e){throwError(place,"bad condition: "+e.message);
    }}};

    The future
    The next version of Twine 1 may change the behaviour of <<if>> to not remove whitespace. I'm still debating how or whether this should be enabled, and how to enable current story code to continue to function correctly.

  • Syndicate content