Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Chris

Pages: 1 ... 6 7 [8] 9
106
Twine / Re: Twine hack: random effects
« on: February 01, 2013, 02:51:23 PM »
Quote
Also, on another note. I was wondering if it was possible if after it picks one option for random to never pick that same option again.

This is a bit trickier - you might need Adventure Cow to do this, rather than Twine, but at the very least, we can simulate some of it. Let's go back to our original example:

Code: [Select]
<<if $random == 0>>
[[effect one]]
<<endif>>
<<if $random == 1>>
[[effect two]]
<<endif>>
<<if $random == 2>>
[[effect three]]
<<endif>>

Here, we can nullify effects by marking them as "finished." Here's a sample for the page effect one.
Code: [Select]
::effect one
<<set $effect_one_finished = true>>

Now we need to hide this effect from showing up again, by changing the original code.

Code: [Select]
<<if $random == 0>>
    <<if $effect_one_finished>>
    Effect one already happened.
    <<else>>
    [[effect one]]
    <<endif>>
<<endif>>
<<if $random == 1>>
... need to change this
[[effect two]]
<<endif>>
<<if $random == 2>>
... need to change this
[[effect three]]
<<endif>>

What just happened
First, there is a new variable, $effect_one_finished, that we see if the effect one has happened already (on the page effect one). If $random is 0 again, we'll check to see if the effect has already happened first (that's the if inside the other if).

Note that while this makes the effect stop happening more than once, it doesn't do what we probably want, which is to hide the used up effect and just select among the others. That's a problem you would likely need custom macros for.

107
Twine / Twine hack: random effects
« on: February 01, 2013, 02:41:05 PM »
Quote
So while messing in twine, I came across a place where I would want a random effect. Me still being relatively new to Twine, I have no idea if Twine is even capable of doing random events.

Say a player is drinking a potion. I want it to be able to give them a random amount of health or have a chance to poison them.

Is there even a way to do that?

Twine can do random events, but the process for doing so involves a bit of Javascript. In practice:

The first thing we need to do is set a random number from 0-2:
Code: [Select]
<<set $random = Math.floor(Math.random()*3)>>
<<print $random>>
The reasons the syntax looks like this are long and cumbersome (and have a lot to do with Javascript), but just note that by replacing 3 with a different number, we will get that many different options (for example, if we use 10, we will get 10 numbers, 0-9).


And then apply a condition:
Code: [Select]
<<if $random == 0>>
[[effect one]]
<<endif>>
<<if $random == 1>>
[[effect two]]
<<endif>>
<<if $random == 2>>
[[effect three]]
<<endif>>

This will check which random effect is applied.

108
Twine / Twine hack: inventory
« on: February 01, 2013, 02:30:04 PM »
One tricky thing with standard Twine is inventory carrying. Adventure Cow has custom macros for dropping and picking up items, but I thought it'd be interesting to see what can be done with Twine by itself:

Start with this line:
<<set $carrying={}>>

Then, if you want to pick up an item:
<<set $carrying['axe'] = true>>
(This is code for "I'm carrying a sword.")

Now you can check for carrying as follows:
<<if $carrying['sword']>>
You are carrying a sword
<<endif>>

Notice this will work for items that aren't discovered yet.
<<if $carrying['axe']>>
You are carrying an axe
<<endif>>

109
Technical Support / [2013-1-31] Adventure Cow new macros
« on: January 31, 2013, 12:10:04 AM »
  • Just added support for <<embed>>, <<silently>> and <<endsilently>>
    Aside from a few weird ones like <<actions>>, AC now has full Twine macro support.
  • Support for lowercase macros (endIf and endif)
  • Against my better judgement, support for eq and ne
  • Support for pages starting with an underscore
  • Fixed broken default AC viewer (cow button was too large)
  • Some fixes to bugs on logging in

Note: <<embed>> is equivalent to <<display>> or <<displayPassage>> (you should be able to use any of those).

Send bug fixes to us!

110
If you write a Twine story in Word, and then copy/paste it into Twine, you'll often get weird errors with the quotation marks (see here and here). These are because certain versions of Twine haven't been updated to support them.

Update: The latest version of Twine supports extended characters. Get it here.

While we get the new versions of Twine working, I wrote up a quick fix that replaces weird characters in your story. Instructions:
  • Install Python 2 (The current version is 2.7, 2.6 works as well)
  • Download the attached file below.
  • Drag and drop your Twine file onto the attached file. A new version of your file will be created as a copy, with characters changed to support older versions of Twine.

This file has only been used for one story, so when we test it on more stories we'll probably have bugs. Let me know when you find them!

111
General Discussion / Re: Introduce Yourself!
« on: November 11, 2012, 11:41:12 PM »
Haha, awesome. Is Lost Horizon any good? (Is Halo 4 any good?)

112
Technical Support / [2012-9-29] Adventure Cow updates
« on: September 29, 2012, 11:47:26 AM »
The cow isn't asleep! We've been mainly focused on DestinyQuest (sign up for the beta!) but we thought we'd point out some of the fixes over the past few months:

  • A bug involving story importing from Twine has been resolved
  • A bug preventing iPhone/iPod users from playing stories has been fixed
  • Bugs preventing people from getting to their last played pages have been fixed
  • Unicode support has been improved, and a myriad of other bugs
As always, you can post a message here to get something fixed. We'll look at it right away!

C

113
General Discussion / Re: Introduce Yourself!
« on: June 05, 2012, 10:50:31 AM »
Welcome George and Rithe!

114
Technical Support / [2012-4-13] Adventure Cow updates
« on: April 14, 2012, 11:44:27 AM »
2012-4-13

It's a special Friday the 13th update! We have a lot of new features:


  • Search by title:
    Trying to find a page in a long story? You can now search for pages by title!
  • Tagging pages:
    You can now keep separate pages in the Notes folder - just drag them there!
  • Deleting pages:
    Want to delete a page? Just click on the delete button or drag it to the Deleted folder!
  • Bug: Adding a choice that goes to a new page should jump to that page
  • Bug: Adding a new page button should jump to the page created
  • Fixed some bugs that caused the page tree to disappear after a lot of use
  • Error when expanding pages a lot has been fixed
  • Bug: Long page titles causing errors
  • Bug: Links to edit a specific page should jump straight to that page
  • Fixed error in viewing stories with text_input macro - thanks Eddie!

Thanks to Chris for helping find some of the errors and ideas for new features.

We're still in beta, so there will be more new features, and of course, new bugs! If you have a bug report, just reply and I'll look at it.

115
Technical Support / [2012-3-27] Adventure Cow updates
« on: March 27, 2012, 10:11:59 PM »
2012-3-27

Here are some recent Adventure Cow updates and fixes:
  • Improving support for script notation in tools
  • Fixed bug with editing macros that are on the same line as other text - thanks Dillon!
  • Fixed bug with adding choices - thanks Dillon!
  • As a test, page history in the editor is now being sorted alphabetically.

116
Technical Support / [2012-3-19] Adventure Cow updates
« on: March 17, 2012, 07:42:28 PM »
2012-3-19

Here are some recent Adventure Cow updates and fixes:
  • Bug fixed where editor switches back to pages you were editing earlier - thanks Jeremy
  • Bug: Per-page notes aren't being saved when the original notes were blank
  • Macros support commas and other unusual characters
  • Allow game creator to preview their own story from the reading pane - thanks dacharya64

117
Technical Support / Re: Viewing your story
« on: March 16, 2012, 06:15:33 PM »
That's a good point Devi. I'll add recognizing the game creator to the queue.

118
Games Showcase / List of Free Playable Online Stories & Gamebooks
« on: March 16, 2012, 06:03:17 PM »
Will add some when I find them.

PDF/Print books

Computer Apps
Age of Fable - http://www.apolitical.info/webgame/index.php?mode=0
Fabled Lands (Java) - http://flapp.sourceforge.net/
Gamebook Experience (Mobile) - http://gbx.epnuke.com/eng/
Pandemonia - http://www.readpandemonia.com/entrance
There are two interactive narratives on this site, which also features a way of tracking how much of the story tree you've traversed
Project Aon (The Lone Wolf Series) - http://www.projectaon.org/

Twine

Twine Game/Story Recommendations
From eturnerx, a list of interesting structures that can be created in Twine.

http://monsterkillers.com/games/2012-07-18%20Rat%20Chaos/ratchaos.html# by J Chastain, it's probably the best Twine game i've played. (Porpentine's comments)
http://vacuumflowers.com/Seven%20Hours%20Pass by Loren Schmidt, a fascinating vignette
https://dl.dropbox.com/u/1971219/nagademo/ab.html by Jasmine Choinski (historical, poetic)
https://dl.dropbox.com/u/88951433/Pontefractweb.html by Kitty Horrorshow (purple prose, dripping horror)

Porpentine's games
http://aliendovecote.com/uploads/twine/myriad.html# (short story length if you play all the branches)
http://aliendovecote.com/uploads/twine/beauty.html# (short, Romanticism)
http://aliendovecote.com/uploads/twine/batman-is-screaming.html (tiny, surreal)

Cupric Acid - http://eturnerx.com/files/stories/Cupric%20Acid%20by%20Emmanuel%20King%20Turner%20Chap1%20beta%2020120902.html#6

Recommendations from http://www.auntiepixelante.com/twine/
http://aliendovecote.com/uploads/twine/myriad.html# - Myriad by Porpentine
http://electricopolis.net/thetemple/ - The Temple by Luna
http://monsterkillers.com/games/2012-07-18%20Rat%20Chaos/ratchaos.html# - Rat Chaos by J Chastain
http://www.jonas-kyratzes.net/arcadia/arcadia.html - Arcadia by Jonas Kyratzes
http://s3.amazonaws.com/adventure_time_game_jam/submissions/games/000/000/002/original/When_Sneezles_Attack.html - When Sneezles Attack by Rachel Helps
 http://maddoxpratt.com/files/therapy.html - Intake by Maddox Pratt

http://welshpixie.com/bakerstreet/#2.d - Baker Street
http://pengypooproductions.com/going_home.html - Going:Home

Iron Cohort - Swamp Maiden

December 5, 2012 - Courtney Stanton
Another day in Courtney Stanton’s life–waiting for a pizza, pouring vermouth, and thinking about the game industry.
Fuck you, I don’t have to be *profitable* in order to deserve a place at the table.

Cove of Flies - LavosXII
It is a game about not exploring caves.

One Minute to Apocalypse by Chaoclypse
Real time text adventure where the world is ending in sixty seconds. Browse the internet? Confess love to your crush? Research protective spells? UP TO YOU BUDDY [Description]

Villainy - http://www.ludumdare.com/compo/ludum-dare-25/?action=preview&uid=2634
A Twine game about the nature of villainy. (Ludum Dare)

Best of Twine 2012:
http://www.freeindiegam.es/2012/12/best-of-2012-twine/

Visual Novels

Vixen - http://www.ludumdare.com/compo/ludum-dare-25/?action=preview&uid=1177
A visual novel in Ren'Py. Girls are mean!

(Sources: http://www.rockpapershotgun.com/2012/12/23/live-free-play-hard-the-weeks-finest-free-indie-games-9, Porpentine)

(Unadded: http://www.rockpapershotgun.com/2013/01/06/live-free-play-hard-the-weeks-finest-free-indie-games-11/?)

119
Discussing Game Design / Re: Challenge 1: Minimum Viable Games?
« on: March 16, 2012, 05:41:37 PM »
Here's one:

Out of the two sandbox games I've played recently, I've played way more Terraria than Minecraft. "But why is that?" you might ask. "It has one less dimension!"

Terraria and Minecraft are both sandbox building games, to some extent. And it's hard to play a building game from the inside; that's why we don't play Simcity from an inhabitant's perspective.

The other advantage of Terraria is that leveling is much more addictive than MC was for me. 4 swords isn't enough to build a progress tree; 18 might just be enough.

On the other hand, Minecraft is naturally more immersive and more building focused, with cool pushcarts that Terraria doesn't have.

In conclusion: A 3D top down builder with leveling up and fast transit would be cool. But that's not a minimal game.



A proposal:

A minimal sandbox building game would be a deck building game (cards are the simplest inventory item). In it, you can fight enemies based on how powerful your cards are, but it's not mostly about fighting, but rather creating emergent behaviors. For example:

  • You have 1 iron and 1 forge. If you have no finesse you can hammer out a crude iron club, but if you have a special finesse you can make a bell, or a sword.
  • You have 10 wood and a hammer. You can buy a house card, that you can now live in. (Having a house is the most important part of this kind of game)

120
Technical Support / Re: I can't login anymore
« on: March 16, 2012, 05:17:16 PM »
Hi Didier,

Yup! Just got it.

Pages: 1 ... 6 7 [8] 9