Random posts

kirkjerk's picture

pinworms

Screen Shot 2013-06-15 at 8.43.54 PM.png

a lame non-game toy that just didn't come out very well. draw with the mouse.

any key resets

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

Klik of the Month Klub #72

Sat, Jun 15 2013 04:00 PM
06/15/2013 - 16:00
06/15/2013 - 18:00
Etc/GMT-7

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. We've also got a Mumble voice chat server -- just connect to glorioustrainwrecks.com using Mumble and you can talk to us like real human beings! Join the mayhem!

After you've made your game, you should upload it here!

For more information, check out the KotM N00B FAQ.

Sign up using the "Sign Up" tab above if you want to get reminded by email the day before the klikkening begins!


Games made for Klik of the Month Klub #72

Namesort iconCreatedByScreenshotComments
BIRTHDAY BISH05/28/2013 - 05:12averyBirthdayBash1Map.JPG2
Crate Wars06/15/2013 - 17:57FlaviusMaximuscratewars.PNG2
DoomGuy without a cause07/18/2013 - 10:16Smedis2whitesquare.PNG3
Nice Ass, Baby!05/28/2013 - 05:24averyNice Ass, Baby.png20
pinworms06/15/2013 - 17:50kirkjerkScreen Shot 2013-06-15 at 8.43.54 PM.png1
Space Jogger06/15/2013 - 18:31Smedis2spacegdf.PNG2
Terror Cave06/15/2013 - 22:33sylvieterrorcave.png5
Traffic Chaos06/15/2013 - 17:30FlaviusMaximustrafficjam1.PNG1
Twine RPG dot HTML06/15/2013 - 18:18hellojedtwineRPGdotText.PNG1
uhhhh06/15/2013 - 18:58SpindleyQuhhh.jpg9
Ultimate Smash Bros: Klik "N" Play Edition06/15/2013 - 18:14tininsteelianultimatesmashbros1.png2
Weather's Admitted Spring06/15/2013 - 20:34Danniadmittedspring.png4

Twine code shortcuts minutia

This is an optional appendix to my Twine code shortcuts article. Most of the things here are entirely valid, but aren't as intuitive, and don't really save that much in the way of typing or expression. Nonetheless, they do reveal some underlying concepts to JavaScript that may be enlightening.

Reducing strings and numbers to true and false

In JavaScript, using strings or numbers in place of true, false, or conditional statements such as "x > y" means that the computer will try and convert the strings or numbers into either true or false. The rule for those two types of values is: the number 0 and a string with zero characters in it, "", are converted to false - everything else is converted to true. (0 and "" are called "falsy" values because they're equivalent to false - other values are "truthy").

(If you're familiar with Game Maker, you of course know that Game Maker considers all negative numbers to be falsy as well - but not so in JavaScript!)

This is not really that useful, except for explaining the behaviour of later examples, but it does mean that you could shorten certain <<if>> comparisons:

<<if $hp neq 0>>

can be shortened to

<<if $hp>>

You can also use Not to express the opposite.

<<if $hp eq 0>>

can be validly rewritten as

<<if not $hp>>

false is equivalent to 0, true is equivalent to 1

With regards to numbers, the process of true/false coercion also works symmetrically - the value false, when used in arithmetic, is converted to 0. <<set $red = 3 + false>> is valid, but useless. Nevertheless, this understanding is necessary for the next part.

As a corollary, the raw value true, when used in arithmetic, is converted to 1. This means that <<set $dead += (not $hp)>> will add 1 to $dead if $hp is 0.

And and Or

The way And and Or is implemented in JavaScript is interesting: "x and y" means "if x is false, the value of this statement is x (i.e false), otherwise the value of this statement is y". And, as discussed previously, since such statements are usually used for true/false comparisons, then y is reduced to its true/false value - as one expects.

However, what if you used it in a situation where a plain value was expected? Essentially, it can be used in a manner similar to the ternary operator:

<<set $liveammo = ($gun and $bullets)>>

This line, given the rule above, sets $liveammo to equal $bullets, but only if $gun is true - if not, it's set to false, i.e. 0 (or whatever falsy value $gun has). It may look counterintuitive, especially since it relies on the aforementioned understanding of true/false reduction, but it's equivalent to <<set $liveammo = ($gun ? 0 : $bullets)>>

Or is implemented in JavaScript this way: "x or y" means "if x is true, the value of this statement is x (i.e true), otherwise the value of this statement is y". This means you could use it like this:

<<set $samusenergy = ($energytank or $reservetank)>>

That line only sets $samusenergy to be $reservetank if the $energytank variable is 0. It's equivalent to <<set $samusenergy = ($energytank ? $energytank : $reservetank)>>

It can also be used, in a way, to specify a "default" value if the first value is 0 or an empty string:

<<set $name = ($name or prompt(“What’s your name?”))>>

This line of code will only prompt the player if $name isn't an empty string (i.e. a name was already given).

mbtzl's picture

The Silent Song of Spiders (Final Version Holy Moly I Did It Mom)

Screen Shot 2018-04-19 at 10.49.49 PM.png

A HUMBLE BEGINNING

---------------------------------------

use the mouse to move the arm

left click to grab

place objects in body to empty hand

you can grab multiple objects in one click, but not in multiple. This means that you must empty your hand before you grab more.

i made this over the course of one sick, miserable day.

i hope you enjoy it, or at least don't hate it.
please review it i need positive reinforcement

NOTE: THIS IS THE SECOND UPLOADED VERSION, IT ACTUALLY SORTA WORKS NOW

*to the person who wrote me that poem i saved it, im sorry it got deleted. this version was made using your commentary. ily*

Made For: 
An event
increpare's picture

100 Names

white_square.png
Game File: 

Don't download just Play Here
Don't download just Play Here
Don't download just Play Here
Don't download just Play Here
Don't download just Play Here

Made For: 
An event

7 Seconds A Toaster

ssat.png

You are the captain of a starship. Hunted mercilessly through space by autonomous machines, you must always be ready to run.

They cannot be fought. They cannot be reasoned with.

Maneuver the ship using the WASD keys.
Collide with asteroids to harvest the fuel inside. Use this fuel to power your warp-jump drives.
Each jump costs 1 kilofuel and each asteroid contains 0.1kF.
Jump your ship by pressing the SPACE key.

You must keep jumping. They are always near.

With every jump you make, crew members will take the chance to escape into the Warp Stream.
Keep jumping until they all escape.

They will find you after 7 seconds.
Always 7 seconds.

---

This game is inspired by the first episode of the 2005 re-imagining of Battlestar Galactica. I really liked the idea of always knowing when the enemy is going to turn up and not being able to do anything about it. If I had lots of time I'd make more of a strategic game idea of it, but as it goes it's pretty frantic. All the sounds were made using http://www.bfxr.net/ and the game itself was made using flashpunk.

Author: 
Craig Johnston (@oatsbarley)
Made For: 
An event
tininsteelian's picture

Ball to the Walls

2019-03-16 16_59_07-New project (Construct 2 preview).png

Made for 1HGJ #203: one hard minute

Hit the walls to earn points. The more points you earn, the faster you can roll the ball. Get as many points as possible in one minute!

Made For: 
An event

Bootvision

bootvision.png
Game File: 

Form mafias with tights for the final horseback ride-on type!
Everything ranging taken within genders within order at younger!
The superior level of superior!!!!!

Author: 
hard artificial exclusive
Made For: 
An event
qrleon's picture

A few Jill of the Jungle sounds

Because nothing is more womanly than making creepy dude grunts when jumping and attacking.

Oh, hey, I have some old voice SFX from Spider-Man and the X-Men, too.

AttachmentSize
jill_SFX.zip656.81 KB
SFX_spider-man and the x-men.zip360.5 KB
Syndicate content