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

#1 2010-03-31 03:31:14

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Script Problems

This forum is for new scratch users or ones that need my help. If you want to make a game, but you don't know how to do parts, tell me and I'll help you with the scripts. NOTE: I do not know how to do everything but I'll do my best.


http://i.imgur.com/gp6tZ.gif

Offline

 

#2 2010-03-31 05:39:25

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Script Problems

Very kind of you to offer your help - thanks!


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2010-03-31 15:11:14

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Script Problems

Paddle2See wrote:

Very kind of you to offer your help - thanks!

Thank you for saying that. I can't do everything, but I can do most scripting. Please tell me, do you work for scratch?


http://i.imgur.com/gp6tZ.gif

Offline

 

#4 2010-03-31 15:12:15

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Script Problems

Paddle2See wrote:

Very kind of you to offer your help - thanks!

Oh, it says Scratch Team, of course you do.


http://i.imgur.com/gp6tZ.gif

Offline

 

#5 2010-04-14 04:55:19

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Script Problems

Anyone need help?


http://i.imgur.com/gp6tZ.gif

Offline

 

#6 2010-04-14 06:04:09

arthurz
Scratcher
Registered: 2010-02-03
Posts: 47

Re: Script Problems

Cheese=1.5

(round cheese) = 2, the problem is that it rounds up how can i make it so it rounds down? (round cheese) = 1

Last edited by arthurz (2010-04-14 06:04:37)


Sine wave engine, check it out.
http://www.scratch.mit.edu/projects/arthurz/2816216

Offline

 

#7 2010-04-14 06:31:16

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Script Problems

Any numbers that have a decimal that is .5 or larger will always round up...

Maybe try:

(round ( (cheese) - (0.01) ) - that would equal one...


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#8 2010-04-14 07:21:38

arthurz
Scratcher
Registered: 2010-02-03
Posts: 47

Re: Script Problems

thanks


Sine wave engine, check it out.
http://www.scratch.mit.edu/projects/arthurz/2816216

Offline

 

#9 2010-04-17 08:11:05

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Script Problems

Wolfie1996 wrote:

Any numbers that have a decimal that is .5 or larger will always round up...

Maybe try:

(round ( (cheese) - (0.01) ) - that would equal one...

Hey, I was just about to say that!


http://i.imgur.com/gp6tZ.gif

Offline

 

#10 2010-04-17 10:25:34

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Script Problems

benjamin2 wrote:

Wolfie1996 wrote:

Any numbers that have a decimal that is .5 or larger will always round up...

Maybe try:

(round ( (cheese) - (0.01) ) - that would equal one...

Hey, I was just about to say that!

Beat you to it, gotta be ready for anything in the job you've decided.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#11 2010-05-02 08:50:44

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Script Problems

Help anyone?


http://i.imgur.com/gp6tZ.gif

Offline

 

#12 2010-05-02 09:36:54

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Script Problems

markyparky56 wrote:

benjamin2 wrote:

Wolfie1996 wrote:

Any numbers that have a decimal that is .5 or larger will always round up...

Maybe try:

(round ( (cheese) - (0.01) ) - that would equal one...

Hey, I was just about to say that!

Beat you to it, gotta be ready for anything in the job you've decided.

Thank you, MP56  smile

And, Benjamin, I replied over 3 days before you O.o


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#13 2010-05-02 10:49:01

VilceGT
Scratcher
Registered: 2010-02-13
Posts: 34

Re: Script Problems

Just look the others forums.
I don't think the users who need help will post here  wink


| Turn of [...] to [...] | Time to drive | Waiting Scratch 2.0 to finish my projects |
| Sorry for my bad english, I am french |

Offline

 

#14 2010-05-02 11:03:01

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Script Problems

VilceGT wrote:

Just look the others forums.
I don't think the users who need help will post here  wink

You might not, but others might, some one has.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#15 2010-05-04 21:52:08

Capester8
Scratcher
Registered: 2010-05-04
Posts: 2

Re: Script Problems

My first project is called soccer maze.  Please help me with the glitch in level 4, and i will update alot and complete. There is no point on working on this if i cant figure it out. Please help me figure out how to stop the glitch by downloading my file and figuring out what is wrong with my scripts. Thanks!

Offline

 

#16 2010-05-10 13:45:22

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Script Problems

Capester8 wrote:

My first project is called soccer maze.  Please help me with the glitch in level 4, and i will update alot and complete. There is no point on working on this if i cant figure it out. Please help me figure out how to stop the glitch by downloading my file and figuring out what is wrong with my scripts. Thanks!

I'll look now and try to see what's wrong.


http://i.imgur.com/gp6tZ.gif

Offline

 

#17 2010-05-10 13:48:46

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Script Problems

Capester8 wrote:

My first project is called soccer maze.  Please help me with the glitch in level 4, and i will update alot and complete. There is no point on working on this if i cant figure it out. Please help me figure out how to stop the glitch by downloading my file and figuring out what is wrong with my scripts. Thanks!

It's because you forgot to program the ball to go to level 5 when it finished on that colour.


http://i.imgur.com/gp6tZ.gif

Offline

 

Board footer