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

#1 2008-03-16 18:00:54

Violinist
Scratcher
Registered: 2008-02-10
Posts: 10

Open-Ended Gameplay

I want to know if anybody has experimented with open-ended or non-linear gameplay in Scratch. Also, would it be possible to involve multiple or branching storylines in a game created with Scratch?

~ Vio

Offline

 

#2 2008-03-17 07:57:22

Ingoguy15
Scratcher
Registered: 2007-12-07
Posts: 20

Re: Open-Ended Gameplay

Actually, I believe this can be done with simple variables. I recall that a game called EV Nova used something called "mission bits" which were simply variables that changed from zero to one based on certain conditions. Hang on...
[blocks]<if>gotpie=1

<say[  mmm...pie]for( 3 )secs>
<else>
<say[  I WANT MY PIE!]for( 3 )secs>[/blocks]

There, thats your ridiculous example, of course, you would have to make the script set the variable to one after you touch the pie, to pick it up.

[blocks]
<when green flag clicked>
<forever>
<if> <touching[ pie]>
<set{ gotpie }to(1)

Last edited by Ingoguy15 (2008-03-17 07:59:55)

Offline

 

#3 2008-03-17 08:45:57

Violinist
Scratcher
Registered: 2008-02-10
Posts: 10

Re: Open-Ended Gameplay

I am perfectly aware of the properties of true/false variables, I'm even implementing plenty of them in my spell system, but I still want to know if anybody has experimented with open-ended gameplay. I'll definitely look this game up.

As for multiple storylines, would this be possible? I believe so, but still: Would it be possible to include more than one player-character in a Scratch game where the extra character/characters would have different powers and abilities?

Offline

 

#4 2008-03-17 12:18:10

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: Open-Ended Gameplay

What you describe is certainly possible with Scratch, either using separate sprites or costumes of a single sprite to represent the characters. 

As Ingoguy pointed out, you can use variables to track which character is active and add "powers" based on what they do or what they touch.  This would be similar to the way many Scratch projects track "damage".

It's almost certain that an example of the type gameplay you are interested in is out there ; whether you can find it is among the thousands of  projects that are posted is another matter.

-MrEd

Offline

 

#5 2008-03-20 10:53:28

Ingoguy15
Scratcher
Registered: 2007-12-07
Posts: 20

Re: Open-Ended Gameplay

Yes. I am using a similar thing in my and Razzsputain's Station Defense, it works for switching weapons. As of right now, though, its very rudimentary and development is on hold until Razz finishes the autoturret code.

Offline

 

#6 2008-03-21 00:30:20

sakuragirl
Scratcher
Registered: 2007-12-28
Posts: 24

Re: Open-Ended Gameplay

cool

Offline

 

Board footer