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.
Offline
that would be pretty useful
Offline
So you're saying a performance-enhancing block? It sounds illegal!
Offline
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.
Offline
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
SeanCanoodle also wants this. A repeat block without a delay in between each loop, correct?
Offline
you can do that. It might be illeagal, so I'm not telling you here. ask me
Offline
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
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:
Last edited by Harakou (2011-01-01 11:14:28)
Offline
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!!!
Offline
tacocat2 wrote:
I so need that block because I have the 3d sprites but they load slowly.
necroposter :c
Offline
Good idea!
[blocks]<{ Great idea! }>[/blocks]
Offline
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
-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