but these computers dont have dvd drives
Offline
try a 3 1/2 inch floppy xx
Offline
joeyman wrote:
??????? I'm confused, couldn't you just use the
[blocks]<hide>[/blocks]
block?
But the code is pretty impressive, too!
I think it would be better to use the <hide> and <show> blocks. If you clone the sprites, you can't share your work with other Scratchers!!!!!
Last edited by NegaChomp (2009-05-03 15:41:59)
Offline
GB91 wrote:
Hey man, when I implimented this it didn't work in presenatation mode. Is this normal or did I make a mistake???
Necropost, did I spell that right?
No, clone sprite and delete sprite do not work in presentation mode.
Offline
How would the variable for the sprite only work? It would copy that Master variable to every single clone. Just look at my game (my only project). I made the 80 cloned sprites of the original block after I created a personalized variable function for it, and it created a new 'for this sprite only' variable of the same nature for everything else.
Offline
None Of This Works In Scratch 1.4 I Can't Get To The World Menu Which Is Like The First Thing You Have To Do To Hack It Someone Please Help!!!!!!!!!!
Offline
To do instance, make a (name) block and use that.
Offline
For 1.4, shift-click on the "R" in the scratch logo and select "turn fill screen off". Then the normal scratch pane will shrink showing whitish behind it. click on that to bring the "world" menu up.
If you want to "minimize" the scratch pane, right-click once on it and on the left, there will be a yellow button that has an "O" on it. click that once and you will see a little grey bar. to "maximize it, click on the "O" on that green bar.
Hope this helps!
-Jakey22
Offline
Bluestribute wrote:
joeyman wrote:
??????? I'm confused, couldn't you just use the
[blocks]<hide>[/blocks]
block?
But the code is pretty impressive, too!What this is doing is copying a sprite. I looked at it. It gives 2 new blocks: Clone and Delete
And the reason you delete it is to save RAM so the project doesn't get too slow.
Offline
AmoebaMan wrote:
this is the key to making a well-functioning tower defense game in Scratch, which i am already working on.
You might want to use a modified version of the clone/delete blocks in Panther, because these will not work in Presentation Mode.
This is because they return if they cannot find a "ScratchFrameMorph" which is their ancestor, and they can't find it in presentation mode because their ScratchFrame has a nil owner, or is deleted. Use the code
(sFrame _ self ownerThatIsA: ScratchFrameMorph) ifNil: [(sFrame _ (self ownerThatIsA: OffScreenWorldMorph) frame) ifNil: [^ self]].
instead.
Last edited by nXIII (2010-06-10 14:08:41)
Offline
jmarie wrote:
[blocks]<move( )steps in( )secs>[/blocks] I need this block for hard programming scripts :)
ue this instead:
[glide (t) secs to x: ((x position) + ([sin] of (direction) * (n))) y: ((y position) + ([cos] of (direction) * (n)))]
t being the time, and n being the number of steps.
Last edited by nXIII (2010-06-23 16:35:50)
Offline
nXIII wrote:
jmarie wrote:
[blocks]<move( )steps in( )secs>[/blocks] I need this block for hard programming scripts
ue this instead:
[glide (t) secs to x: ((x position) + ([sin] of (direction) * (n))) y: ((y position) + ([cos] of (direction) * (n)))]
t being the time, and n being the number of steps.
I like this block! I made it in BYOB. Now I should make it as a real block. (I'm not making a mod if you're wondering)
EDIT: I think a cool block would be a 'clone sprite and add script [__]' or something like that.
Last edited by ScratchReallyROCKS (2010-06-23 18:24:07)
Offline
i used panther, but i guess this is better cuz you can share it
Offline
The amazing power of the human mind. It can think to create this. My mind can be stronger then this. I can create a version where you can upload sprite creating. Purley amazing. I'm not going to share my secrets anytime soon, though. Don't want people taking claim. But, to see the basics of the ability of my mind, go to my project Scratch Memory. It is the only project that can let you "Save" without codes. It is purley amazing.
Offline
Necropost? It's from 2008.
I remember seeing this and trying it out years ago.
Offline
ihaveamac wrote:
Necropost? It's from 2008.
I remember seeing this and trying it out years ago.
Sort of a half-necro post... There breaks of about 3/4 months between posts from scanning the dates the posts were posted.
Offline
ChrisCrouch wrote:
Hacking Scratch for dynamic sprites
I (like a lot of people) wanted to find a way to create and delete sprites in a script. After a bit of searching, it seems that it's not possible in Scratch at the moment.
I looked to see if you had posted something about a delete sprite block, i found nothing, pardon me if i missed the post informing us but, i have found out away to make a block that deletes the sprite:
Code: none, it already exists in the code
Block code:
('delete sprite' #- #undoableDeleteSprite)
I'm not sure if this has been found already, but i found this when looking through the code about a month ago.
If I am necroposting, sorry but scratch does have the capability to delete a sprite through blocks/scripts. The block only deletes the sprite it's under in (it's scripts), and do not use it on the stage this makes the any sprite plus the stage become a Morph item and cannot be used and/or moved, you must close scratch to use the entire thing over again.
The code for the creation of the block as I said I found it a month ago, so I forgot what class it was under.
Please tell me if this has already been found, I would like to know.
Last edited by Ask_Pinkamena (2012-10-14 17:33:26)
Offline