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

#1 2008-09-14 18:06:14

Uncanny
Scratcher
Registered: 2008-09-06
Posts: 100+

a block that could change scratch forever...

In scratch, it is possible to make 3d games, and it is possible to make multiple instances now that scratch 1.3 is out with list abilities, but all of those real powerful things could be made even more powerful of there was an 'instant' block.

I know that each block purposfully takes 0.01 seconds to go through, in order for begginers to keep track of timing, but if there was an intant block made for a certain bunch of blocks to be gotten through instantly, that would also be really useful. Here is an example-

(when green flag clicked)
(forever)
{
     pen down
   repeat(360)
  {
      (instant)
     {
          change var(degrees) by 2
          set var (x) to xposition
          set var (y) to yposition
          set x to (var(y)+(50*(cos(degrees))))
          set y to (var(y)+(50*(sin(degrees))))
     }
   }
}

And that would make the circle be drawn instantly.
Please make the block, as it would be able to make scratch insanely powerful.


http://scratch.mit.edu/projects/Uncanny/383474
This is an original song that I have made.

Offline

 

#2 2008-09-14 18:17:36

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: a block that could change scratch forever...

that would be pretty useful

Offline

 

#3 2008-09-14 21:07:09

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

Re: a block that could change scratch forever...

So you're saying a performance-enhancing block?  It sounds illegal!


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

Offline

 

#4 2008-09-15 02:21:49

Uncanny
Scratcher
Registered: 2008-09-06
Posts: 100+

Re: a block that could change scratch forever...

no, for example, gamemaker does things instantly after the last one, not waiting 0.01 of a second. I just posted this so that scratch can do exactly the same thing as that. Gamemaker can do 3D games, because it doesn't wait 0.01 of a second for the next draw. The smoothest 3d game scratch can currently do is just lines for the borders.


http://scratch.mit.edu/projects/Uncanny/383474
This is an original song that I have made.

Offline

 

#5 2008-09-15 02:36:24

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: a block that could change scratch forever...

An "atomic" loop, I like that one!


Jens Mönig

Offline

 

#6 2008-09-15 15:59:38

ShawnMcCool
Scratcher
Registered: 2008-09-15
Posts: 9

Re: a block that could change scratch forever...

Along with this functionality, which is definitely needed for game loops.. you'd want more robust timer capabilities..  Currently timers are not precise enough to do nice smooth animation.

Offline

 

#7 2008-09-18 19:07:52

TimeFreeze
Scratcher
Registered: 2008-08-11
Posts: 500+

Re: a block that could change scratch forever...

SeanCanoodle also wants this. A repeat block without a delay in between each loop, correct?


There are 10 types of people in this world: Those who understand binary, and those who don't. --[insert unrelated transition]-- GRANDILOQUENCE FTW!

Offline

 

#8 2008-09-19 03:02:21

Uncanny
Scratcher
Registered: 2008-09-06
Posts: 100+

Re: a block that could change scratch forever...

yeah, actually, that is a good way put it


http://scratch.mit.edu/projects/Uncanny/383474
This is an original song that I have made.

Offline

 

#9 2008-09-20 14:41:26

jcubed
Scratcher
Registered: 2008-07-23
Posts: 65

Re: a block that could change scratch forever...

you can do that.  It might be illeagal, so I'm not telling you here.  ask me


Jcubed
Proud founder of Icdzat Productions.

Offline

 

#10 2008-09-20 17:43:16

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: a block that could change scratch forever...

jcubed wrote:

you can do that.  It might be illeagal, so I'm not telling you here.  ask me

I don't think it's illegal to change scratch cause people have been given the source code to create new blocks

Offline

 

#11 2011-01-01 03:32:22

tacocat2
Scratcher
Registered: 2008-12-13
Posts: 3

Re: a block that could change scratch forever...

I so need that block because I have the 3d sprites but they load slowly.

Offline

 

#12 2011-01-01 10:22:44

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

Re: a block that could change scratch forever...

I think Scratch is already slow just because of the way it's programmed, but removing the delay in loop blocks would be a welcome addition for some extra speed when the delay really isn't necessary.

Mockup:

http://i52.tinypic.com/2ic4r5y.gif

Last edited by Harakou (2011-01-01 11:14:28)


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

Offline

 

#13 2011-04-09 07:31:57

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: a block that could change scratch forever...

Problem:
Instant
   Forever
    a
    few
    things
    here


INSTANTLY DOING SOMETHING FOR EVER!!! YOUR COMPUTER MAY CRASH!!!
But if there was an error code to prevent this, AWESOM IDEA!!!


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#14 2011-04-09 09:55:34

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: a block that could change scratch forever...

tacocat2 wrote:

I so need that block because I have the 3d sprites but they load slowly.

necroposter :c


3

Offline

 

#15 2011-04-09 10:19:38

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: a block that could change scratch forever...

I quite like Harakou's "no delay" idea. It's absolutely wonderful and would really change what you can do with Scratch.

Offline

 

#16 2011-04-09 12:39:58

tobymacfan
Scratcher
Registered: 2011-02-14
Posts: 9

Re: a block that could change scratch forever...

Good idea!
[blocks]<{ Great idea! }>[/blocks]

Offline

 

#17 2011-04-09 16:49:06

-iNetMaster-
Scratcher
Registered: 2010-08-30
Posts: 1000+

Re: a block that could change scratch forever...

coolstuff wrote:

I quite like Harakou's "no delay" idea. It's absolutely wonderful and would really change what you can do with Scratch.

Yes

Offline

 

#18 2011-04-10 19:46:14

samurai768
Scratcher
Registered: 2009-07-21
Posts: 1000+

Re: a block that could change scratch forever...

-iNetMaster- wrote:

coolstuff wrote:

I quite like Harakou's "no delay" idea. It's absolutely wonderful and would really change what you can do with Scratch.

Yes

+107

Offline

 

Board footer