Random posts

Barbarian

12barb.jpg
Game File (Mac): 
Game File: 

just wanted to make this for the backdrop
and then i ran out of ideas on what to do

Author: 
Surprise Dodgeball Smuggler
Made For: 
An event

scab simulator 7

Screen Shot 2016-01-27 at 5.42.58 PM.png

based on a true story

Event Created For: 
Made For: 
An event
watlers world's picture

GTWI4DRD1

3DRGIF.gif
Game File: 

A simple game of colors and mod music.
Win16 version

The truespace 2 "ts2trial" program has the Intel 3dr librarys.
For MCI mods you can use the midas mci mod player
http://www.dcee.net/Files/Programm/Sound/wmidas.zip,
or m4w_inst.zip and mci24ins.exe
http://meuble.radio.free.fr/mod4win/english.html

Author: 
watlers world
Made For: 
An event
mkapolk's picture

Collectable Monsters

ss.PNG
Game File: 

my games have mostly ended up being tech demos :/
try to get all the pokemons though

Made For: 
Pirate Kart 2

what difference does it make

Game File: 

yeah I just kinda slapped this together.

Made For: 
Pirate Kart 2

Twine macro: << addtag >>, << removetag >>, << toggletag >>

This extends my code for applying Twine tags to passage divs, and extends on it as a mechanism for CSS selection. What these macros do, in order, is add a tag to the current passage's tag attribute, remove a tag, and toggle its presence (remove it if it's there, add it if it isn't). This means that conditional application of CSS, controlled by << if >> statements, is possible.
Usage examples: <<addtag "dream">> <<toggletag "lightworld">> <<removetag "darkworld">>

These are guaranteed to work both inside passages, inside << replace >> macros, and, tantalisingly enough, inside << display >> macros. Interesting, very interesting.

If you're using the latest Twine 1.3.6 Alpha (28-1-13) , use this code:

version.extensions["toggletagMacros"]={major:1,minor:1,revision:0};macros["toggletag"]={handler:function(a,b,c){var p=e(a);var d=document.body;if(p){var t=p.getAttribute("data-tags");var i=t.indexOf(c[0]);if(b!="addtag"&&i>=0){var r=t.replace(c[0],"");p.setAttribute("data-tags",r);d.setAttribute("data-tags",r);}else{if(b!="removetag"&&i<0){var r=t+" "+c[0];p.setAttribute("data-tags",r);d.setAttribute("data-tags",r);}}}function e(f){while(f.parentNode&&!f.classList.contains("passage")){f=f.parentNode;
}if(f!=document&&f.getAttribute("data-tags")){return f;}return null;}}};macros["addtag"]=macros["toggletag"];macros["removetag"]=macros["toggletag"];


If you're using a standard version of Twine, use this code instead:

version.extensions["toggletagMacros"]={major:1,minor:1,revision:0};macros["toggletag"]={handler:function(a,b,c){var p=e(a);var d=document.body;if(p){var t=p.getAttribute("data-tags");var i=t.indexOf(c[0]);if(b!="addtag"&&i>=0){var r=t.replace(c[0],"");p.setAttribute("data-tags",r);d.setAttribute("data-tags",r);}else{if(b!="removetag"&&i<0){var r=t+" "+c[0];p.setAttribute("data-tags",r);d.setAttribute("data-tags",r);}}}else{var t=state.history[0].passage.tags;var i=t.indexOf(c[0]);if(b!="addtag"&&i>=0){t.splice(i,1);
}else{if(b!="removetag"&&i<0){t.push(c[0]);}}d.setAttribute("data-tags",t.join(" "));}function e(f){while(f.parentNode&&!f.classList.contains("passage")){f=f.parentNode;}if(f!=document&&f.getAttribute("data-tags")){return f;}return null;}}};macros["addtag"]=macros["toggletag"];macros["removetag"]=macros["toggletag"];

Version history:

  1. 1.1.0 - Now adjusts tags on the body element as well.
  2. 1.0.1 - Fixed not working in Jonah.
  3. 1.0.0 - Initial.
Feel free to report any bugs to @webbedspace.

atuun's picture

Washing Machine Simulator

wash.gif
Game File: 

Exactly what it says on the tin.

Made For: 
Pirate Kart 2
Zecks's picture

Beautiful Experience III: Desert Experience

beauti3.png
Game File: 

you know what they say,

when in doubt, sequel. unless it's the fifth mozart

for imaginary bonus points pretend that the sand formations make a 'path' you have to walk on

Made For: 
An event
Syndicate content
pensive-mosquitoes