This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-10-19 11:35:41

RoguePhantom01
Scratcher
Registered: 2012-04-05
Posts: 100+

Text adventure help???

Recently I've been developing a Halloween themed text adventure where you can go through certain rooms by typing 'use X door' freely. I'm in trouble though, because for the game,


http://i1273.photobucket.com/albums/y404/orangetelephone/sig2.jpg

Offline

 

#2 2012-10-19 11:55:41

RoguePhantom01
Scratcher
Registered: 2012-04-05
Posts: 100+

Re: Text adventure help???

RoguePhantom01 wrote:

Recently I've been developing a Halloween themed text adventure where you can go through certain rooms by typing 'use X door' freely. I'm in trouble though, because for the game,

Oops, pressed the submit button:
Recently I've been developing a Halloween themed text adventure where you can go through certain rooms by typing 'use X door' freely. The problem script goes something like this:
-Forever:
-ask What will you do?:
--If  ROOM  (the valuable) =1:
---If answer = use IRON DOOR:
---set ROOM to 2
---Add 'You go though the IRON DOOR' to: Halloween
---Wait one second
---add 'You are in a corridor, there is a BLUE DOOR, a RED DOOR, and an IRON DOOR' to: Halloween
--If ROOM (the valuable)= 2:
---If answer = use IRON DOOR
--- add 'You walk through the IRON DOOR' to Halloween
--- set ROOM (the variable) to 1

At that point the variable ROOM goes back to 2 and there is the 'you are in a corridor, there is a BLUE DOOR, a RED DOOR, and an IRON DOOR' message again. I really want to finish this project but this problem is a wall blocking me from getting there, help!

Sorry about the poor script imitation!


http://i1273.photobucket.com/albums/y404/orangetelephone/sig2.jpg

Offline

 

#3 2012-10-20 13:01:33

RoguePhantom01
Scratcher
Registered: 2012-04-05
Posts: 100+

Re: Text adventure help???

Oh, found a solution! If any moderators are reading this, please close it!


http://i1273.photobucket.com/albums/y404/orangetelephone/sig2.jpg

Offline

 

#4 2012-10-20 13:07:03

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Text adventure help???

RoguePhantom01 wrote:

Oh, found a solution! If any moderators are reading this, please close it!

If you want a thread to be closed, report the first post with a message like "close please". I've done it for you this time  smile

Last edited by Molybdenum (2012-10-20 13:07:24)


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#5 2012-10-20 13:19:10

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Text adventure help???

Closed by request of topic owner.


http://i.imgur.com/WBkM2QQ.png

Offline

 

Board footer