Random posts

Twine bugfix: "and" and "or" in strings in <<set>>, <<print>> and <<if>>

Update: this has been fixed in Twine 1.4, so this is no longer necessary.

As you know from reading my macro reference, code parameters passed to <<if>>, <<set>>, <<print>> and <<remember>> have their operators ("and", "or", "$", "not", etc.) converted to Javascript equivalents ("&&", "||", etc.) when they're executed.

But, due to a bug, this conversion is also applied to "operators" that are inside strings passed to these macros. So, <<print "Vast and large">> will print "Vast && large", and <<print "You find $10">> will print "You find state.history[0].variables.10".

Now, I've sent out a pullreq to the Twine GitHub repo that fixes this, but in the meantime, if you're stymied by this bug, you can fix it with this script:

Obsolete script removed: use Twine 1.4

Again, note that in some versions this will be loaded after the Start passage has rendered.

Version history:
* 2/7/13 - Bugfix for "She's cute" string.
* 5/5/13 - Bugfix.
* 25/4/13 - Initial.
Feel free to report any bugs to @webbedspace.

kirkjerk's picture

batariBasic

After dess mentioned she used my browser-based Atari 260 graphics editor http://alienbill.com/2600/playerpalnext.html to get authentic looking retro sprites, theblackmask gave me encouragement to go with my idea of making a "batari BASIC generator" in it... so now it spits out a ready-to-compile-and-run move your animated sprite on the screen program.

So I'm feeling a little burned out, but my next idea is a "kickstart" guide on getting an emulator and batariBASIC up and running... "from zero to your first atari program in half an hour or double your money back!" - is anyone interested in that?

Also, I'll put in a word that there are crazy amounts of homebrew ambition happening at AtariAge.com... both in the batariBASIC and also the more traditional straight ASM boards..

thesycophant's picture

Super Sister-Finding Adventure World

screenshot279.png
Game File: 

This is what I built out of my aborted Ludum Dare 23 project. It's pretty silly and maybe broken?

Character sprites stolen from Survival Kids. Game kind of born of my desire to make a game like Survival Kids.

Author: 
John D. Moore
Event Created For: 
Made For: 
An event
Sejez's picture

Bomborman

bombor.png
Game File: 

Story: Bomborman can only make shitty bombs, thankfully he can make alot of them. But the evil Steven Seagal and his clones want to steal Bombormans bombs, you must protect your bombs as long as possible.
Controls:
Arrows: Move
Space: Place Bomb

Event Created For: 
Made For: 
An event

Work Drinks

WorkDrinks.png
Game File: 

short because tired.

Author: 
thecatamites
Made For: 
testing
Six's picture

Don't Drop the Building Blocks of the Universe, Please

dontdrop.jpg
Game File: 

Hey, you! You're in charge of these while I go take lunch. Listen, though: don't drop 'em. Don't get them wet. Don't feed them after midnight. And, uh-- I think there was one other thing, maybe. It couldn't have been that important.

Made For: 
Klik of the Month Klub #33 (Mar 2010)
juliette's picture

Duke Nukem 5

dukenukem5 b.png
Game File: 

Duke Nukem joins forces with his brother in this sequel to the hit game Duke Nukem Forever. Fend off an alien invasion by moving with the arrow keys and pressing the space bar!

Author: 
Fabien Porée
Made For: 
An event

Resequence

Game File: 

The boxes flash up with numbers. You need to click on them in the order of the numbers, not the order they appeared in.

Made For: 
An event

Multicolour Alien Olympic - Two Player

screen0.png

"Grey Aliens playing some kind of game."

Turn-based sport game for two players.
You have a team of three aliens.
On your turn, a random alien on your team is selected. You have 3+1d6 moves.
Press LEFT and RIGHT to turn and UP to move forward.
Press DOWN to switch to another random alien on your team.
Push the ball into either goal to score a point.
Score 5 points to win.

edit: forgot to mention anywhere; WASD is mapped to same as arrow keys, so you can have one player use WASD other player use arrows, or alternate on the same whatever.

Author: 
Michael Brough
Made For: 
An event
Syndicate content