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

#1 2010-10-19 18:18:51

ArrowHead
Scratcher
Registered: 2010-10-17
Posts: 92

Exponent and Save blocks

I think that there should be two new blocks.
One would be an exponent block, sort of like this:

< (__) ^(__) >

The other would be a Save To block, although this would be sorta tricky since not all computer's drive letters are the same. It would probably look like this:

|Save File (________) .sav To drive (__\/)


See previews of Earth, my current project written in C# and XNA, and provide feedback here!

Offline

 

#2 2010-10-19 18:41:18

stickdude123
Scratcher
Registered: 2010-05-31
Posts: 100+

Re: Exponent and Save blocks

ArrowHead wrote:

I
< (__) ^(__) >  whats an exponent block?

|Save File (________) .sav To drive (__\/)

yah i always wanted a block like that!maybe a new category like advanced blocks that are Grey!


http://internetometer.com/imagesmall/34259.png http://www.mediafire.com/convkey/418e/lkb7wmv2n2k73rz5g.jpg         http://blocks.scratchr.org/API.php?user=stickdude123&amp;action=onlineStatus&amp;type=square

Offline

 

#3 2010-10-20 05:08:07

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: Exponent and Save blocks

Well, the first block make sense, but the second one... I'm sure it won't happen for the following reasons:
1. It may confuse young children.
2. It can cause damage to computers when using this block in some ways.
3. I'm sure there's more...

Offline

 

#4 2010-10-20 06:36:03

2l84zwamani
Scratcher
Registered: 2010-09-27
Posts: 100+

Re: Exponent and Save blocks

Huh? What's the exponent block? Is it something got to do with interacting with other blocks?


I will be a Ms. Pickle Dr. Deadpebble Great Person <forever>
http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3 GROB THE SLIME WILL TAKE OVER THE WORLD!

Offline

 

#5 2010-10-20 06:52:44

-GizzardGulp-
Scratcher
Registered: 2010-03-05
Posts: 100+

Re: Exponent and Save blocks

and what about an absolute value block?


http://i1118.photobucket.com/albums/k607/Max_Levine/SnoutmolStudios.png

Offline

 

#6 2010-10-20 06:56:06

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: Exponent and Save blocks

Nope. Read this or this article to learn more about exponentiation.

Last edited by mathematics (2010-10-20 06:56:32)

Offline

 

#7 2010-10-20 07:58:52

-GizzardGulp-
Scratcher
Registered: 2010-03-05
Posts: 100+

Re: Exponent and Save blocks

Exponents multiply the first number by how many times the second number's value is. ex: 2 to the fourth power would be 16, not eight

2l84zwamani wrote:

Huh? What's the exponent block? Is it something got to do with interacting with other blocks?


http://i1118.photobucket.com/albums/k607/Max_Levine/SnoutmolStudios.png

Offline

 

#8 2010-10-20 21:02:56

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Exponent and Save blocks

-GizzardGulp- wrote:

and what about an absolute value block?

We already have an absolute value block in the operators category. It looks like this: http://wiki.scratch.mit.edu/images/%28%29_of_%28%29_%28Operators%29.png (One of the options is "abs", which is short for absolute value.)

I agree with the exponent block. There's a lot of situations where it would be useful, and there's no real reason not to implement it.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#9 2010-10-23 08:44:48

-GizzardGulp-
Scratcher
Registered: 2010-03-05
Posts: 100+

Re: Exponent and Save blocks

ArrowHead wrote:

I think that there should be two new blocks.
One would be an exponent block, sort of like this:

< (__) ^(__) >

The other would be a Save To block, although this would be sorta tricky since not all computer's drive letters are the same. It would probably look like this:

|Save File (________) .sav To drive (__\/)

Then a prankster could put that in a forever loop and pretty much crash your computer by saving junk every 0.00000000000001 seconds.


http://i1118.photobucket.com/albums/k607/Max_Levine/SnoutmolStudios.png

Offline

 

#10 2010-10-25 04:03:39

loldog
Scratcher
Registered: 2009-12-19
Posts: 24

Re: Exponent and Save blocks

I wish there was a save block too but I kinda figured out how to save them anyway
this is how you do it well first of all i'll show you how to make a game that save's levels!
<when I receive[ start <forever> <if><{ level }> <( <>1>  )> <show> <else> <hide>
hope this helps i may have done it wrong though... ohhh and don't forget to check out my games at http://scratch.mit.edu/users/loldog or http://www.jarrodpryorgames.webs.com/

Last edited by loldog (2010-10-25 04:06:21)

Offline

 

#11 2010-10-25 22:43:33

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Exponent and Save blocks

I agree! For now, you can use this script when you need exponents:

http://img264.imageshack.us/img264/7866/exponents.gif


http://i48.tinypic.com/2z5pqad.png

Offline

 

#12 2010-10-25 23:23:48

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Exponent and Save blocks

or, you could do it the easy way.
repeat * times
|multiply ** by **
------
* is the exponent
** is the base, most likely a variable.

Offline

 

#13 2010-10-25 23:49:48

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Exponent and Save blocks

kayybee wrote:

or, you could do it the easy way.
repeat * times
|multiply ** by **
------
* is the exponent
** is the base, most likely a variable.

Yep, although I prefer the other method because it takes less steps and is faster.

Last edited by scmb1 (2010-10-25 23:50:02)


http://i48.tinypic.com/2z5pqad.png

Offline

 

#14 2010-10-26 18:47:43

ArrowHead
Scratcher
Registered: 2010-10-17
Posts: 92

Re: Exponent and Save blocks

-GizzardGulp- wrote:

ArrowHead wrote:

I think that there should be two new blocks.
One would be an exponent block, sort of like this:

< (__) ^(__) >

The other would be a Save To block, although this would be sorta tricky since not all computer's drive letters are the same. It would probably look like this:

|Save File (________) .sav To drive (__\/)

Then a prankster could put that in a forever loop and pretty much crash your computer by saving junk every 0.00000000000001 seconds.

Yeah, that would be a problem....


See previews of Earth, my current project written in C# and XNA, and provide feedback here!

Offline

 

#15 2010-10-26 21:21:00

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Exponent and Save blocks

ArrowHead wrote:

-GizzardGulp- wrote:

ArrowHead wrote:

I think that there should be two new blocks.
One would be an exponent block, sort of like this:

< (__) ^(__) >

The other would be a Save To block, although this would be sorta tricky since not all computer's drive letters are the same. It would probably look like this:

|Save File (________) .sav To drive (__\/)

Then a prankster could put that in a forever loop and pretty much crash your computer by saving junk every 0.00000000000001 seconds.

Yeah, that would be a problem....

It would ask for your permission, like in Panther.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer