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

#1 2008-05-31 09:41:10

Freestylin_Monkey
Scratcher
Registered: 2008-03-24
Posts: 100+

I have 2 questions

I was thinking of going off the chinyey story for a while and making a Splinter Cell game but i have 2 questions and i was wondering if you can help me...

1-i made a variable called alertness and it goes up if a enemy sees, you, i want to make it go to 100 max, and every time it goes up by ten the enemy soldiers suspicion and cautiousness goes up, and after every 30 seconds of not being seen, it goes down by 5, can you help me?

2-I was wondering if there was a way that if i touch the edge of of a platform, but dont make it completly, i can grap on then pull myself up?


I am Lord of Lords, I am King of Kings, I AM MASTERS OF ALL MASTERS!!!
-But I am a servant of my mother

Offline

 

#2 2008-06-02 09:37:58

Josh99
Scratcher
Registered: 2008-05-20
Posts: 37

Re: I have 2 questions

Is this a 3d or 2d splintercell game? If its 3d I advice you to be realistic and make it very simple to start off with. If its 2d tell me and I will try to make a script for both questions.

Offline

 

#3 2008-06-02 10:08:13

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: I have 2 questions

When the player gets within a certain distance of a guard, you could have a random check to see if they respond, generating a random number up to 100.  If that number is lower than the guards alertness they see you and react.  How about that?


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#4 2008-06-02 10:39:46

Freestylin_Monkey
Scratcher
Registered: 2008-03-24
Posts: 100+

Re: I have 2 questions

I was thinking of making it 3d but that will take more time with detail so it will be 2d (kind of like the splinter cell game boy game) the only thing that may be 3d are the movie clips, is there a way that i can make the screen turn green when i press a button and put on goggles, i was thinking of using a clor effect but that randomly chooses a color, but i was thinking of literaly turning the background green and having a invisable sight going to the guard"s head and facing the same way the guard faces, using broadcasts ( when guard turns broadcast ligth turn and etc), plus when the invisable light touches the color green (the background) switch to next costume, which is a bright yellow light so thatn you can avoid it, and i am guessing that if i put, <<  <not>  >><touching color[ green switch to 1st costume, but then i thought maybe i can use this...<when green flag clicked><if><touching color[ green<switch to costume[ 2<else><switch to costume[ 1
-will this work or do you have another way?


I am Lord of Lords, I am King of Kings, I AM MASTERS OF ALL MASTERS!!!
-But I am a servant of my mother

Offline

 

#5 2008-06-02 20:44:00

Josh99
Scratcher
Registered: 2008-05-20
Posts: 37

Re: I have 2 questions

I don't quite understand you... 2d on the gameboy is from the side right?? I'll see if I can try to make a simple program to do what you want it to do sometime today.

Offline

 

#6 2008-06-02 20:53:51

Bobby500
Scratcher
Registered: 2008-04-19
Posts: 1000+

Re: I have 2 questions

Okay, you want to make everything green? The color thing would work, just set color efect to about 25. That should make it green every time.

Offline

 

Board footer