Graphics

WIP: Interactive Fiction Flash
New Topic Add Reply Haunt!
Flashtoo
  • Posts: 304
  • Signup: 03/07/09
WIP: Interactive Fiction Flash Quote 11 months ago
WIP: Interactive Fiction Flash

So yeah. It's a work in progress, but it's getting along pretty well.
You may or may not be familiar with Interactive Fiction(currently it's all over the Lit forums), and Llama Adventure.

To get what the game's about, see Llama Adventure.

So yeah, Currently I've got two types of actions: Take and Examine.
Take lets you take an item, examine lets you examine an item.
E.G. Type "take ball" in the input box to take the ball. Type "examine ball" to examine the ball.
Do not use spaces!
There are other objects as well, including chair, monkey, book.

There's loads of stuff yet to be added, and suggestions are welcome.

.SWF file.
Legal to drink!
BluMess
  • Name: Chris
  • Posts: 510
  • Signup: 15/12/08
Re: WIP: Interactive Fiction Flash Quote 11 months ago
Good luck with that, looks like you're getting into that interactive fiction stuff

btw go to your blog page, look at the sidebar and thank me later
Loves everyone who posts in the forum
Flashtoo
  • Posts: 304
  • Signup: 03/07/09
Re: WIP: Interactive Fiction Flash Quote 11 months ago
Good luck with that, looks like you're getting into that interactive fiction stuff

Yeah, that's right ;D

btw go to your blog page, look at the sidebar and thank me later

Legal to drink!
BluMess
  • Name: Chris
  • Posts: 510
  • Signup: 15/12/08
Re: WIP: Interactive Fiction Flash Quote 11 months ago
Oh also there's a few things you should know about IF?

The shortcuts.
x = examine
t - take
i = inventory
z = wait

I can't think of any other atm, but I'm sure you can find them on the internet. And are you going to be using that weird command way of putting in the words? cause it wouldbe better if you just did it normally I think
Loves everyone who posts in the forum
Flashtoo
  • Posts: 304
  • Signup: 03/07/09
Re: WIP: Interactive Fiction Flash Quote 11 months ago
I know it's a bit weird, but till I've found out how to do it normally, I'm going to stick to this.
Legal to drink!
Flashtoo
  • Posts: 304
  • Signup: 03/07/09
Re: WIP: Interactive Fiction Flash Quote 11 months ago
I post too much :/

Anyway, I found a way to type in commands normally!
I use indexOf to check if a certain substring exists in a string, with "a string" being the command input. "A certain substring" is an action, E.G. take.
If it does, I save the action in a variable.
Then I do the same with items.
And DONE!


That's only for the commands TAKE and EXAMINE, though.
Legal to drink!
BluMess
  • Name: Chris
  • Posts: 510
  • Signup: 15/12/08
Re: WIP: Interactive Fiction Flash Quote 11 months ago
Woo! Congrats

Good luck for the rest of it. If you need any visuals feel free to ask bit busy right now tho.
Loves everyone who posts in the forum
Flashtoo
  • Posts: 304
  • Signup: 03/07/09
Re: WIP: Interactive Fiction Flash Quote 11 months ago
Good luck for the rest of it. If you need any visuals feel free to ask


Thanks, but it's text-based. I want to emphasize that by having no flashy graphics. Decent enough ones, though.
Legal to drink!