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

#1 2010-12-20 13:15:56

TheScratcherOf2012
Scratcher
Registered: 2010-11-30
Posts: 11

A Powder Game on Scratch???

Link to powder game: http://dan-ball.jp/en/javagame/dust/

Hello everybody. I am trying to make a powder game for Scratch. I've had so many ideas for scripts, but only one of them turned out to be possible. When you click somewhere, a stream of particles falls from the pointer, wherever it goes. But here's a question: can you make one? I have, but it sucks because it's only water. Scratch obviously doesn't have any processing power for a thousand particles, so I've reduced my game's to just 75. If you think you've got a good entry, post it. Even forty particles is good. The particles should react with each other in some way. My idea is that each particle's costume should be changed to match the player's desired element, each costume a different color. Then, you could use the  [blocks]<touching color[/blocks] block to make different chemical reactions.

So post any good ideas you have. Good luck!

Offline

 

#2 2010-12-20 13:29:48

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: A Powder Game on Scratch???

Not going to happen in Scratch. The processing power for the powder game (which I love) is just not going to be squeezed out of scratch. You could try it in Panther which has clone blocks you might find very useful, but again, I can't see it managing to work at a reasonable speed past say 100 clone particals.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3 2010-12-20 13:31:37

kimmy123
Scratcher
Registered: 2008-05-20
Posts: 1000+

Re: A Powder Game on Scratch???

sparks wrote:

Not going to happen in Scratch. The processing power for the powder game (which I love) is just not going to be squeezed out of scratch. You could try it in Panther which has clone blocks you might find very useful, but again, I can't see it managing to work at a reasonable speed past say 100 clone particals.

I tried to make it on panther but it wouldn't work.


http://i.imgur.com/Mg3TPIE.pnghttp://i.imgur.com/rgyzXV5.pnghttp://i.imgur.com/685FKVd.pnghttp://24.media.tumblr.com/8678e33865664f328e1654109679cb92/tumblr_mm1qu3jGD71s8caito3_r1_250.gif

Offline

 

#4 2010-12-20 13:37:46

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: A Powder Game on Scratch???

yeah, you'd have to be very clever in your coding if you wanted it to work even slightly... I don't see it happening. If you want to make it, learn javascript  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#5 2010-12-20 19:36:39

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: A Powder Game on Scratch???

This reminds me of the Sand Game mods that are out there. Like wxSand. But if you have a list and each color is a different element ( what we call it in the Sand Game ) you could have a sprite check for collisions and if Water ( blue ) touches Plant ( green ) turn to Plant. Let me see if I can think something up later. Good luck on it.  smile

Offline

 

#6 2010-12-24 14:04:19

TheScratcherOf2012
Scratcher
Registered: 2010-11-30
Posts: 11

Re: A Powder Game on Scratch???

Well you guys are right... if only stamps for sprites had scripts

Offline

 

#7 2010-12-24 14:51:52

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: A Powder Game on Scratch???

TheScratcherOf2012 wrote:

Well you guys are right... if only stamps for sprites had scripts

I think you mean clones. You can make a clone block using the smalltalk code

self duplicateNoAttatch

and delete them using

self undoableDelete

smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#8 2010-12-30 20:30:58

pieclip
Scratcher
Registered: 2007-09-19
Posts: 50

Re: A Powder Game on Scratch???

Sorry for the bump, but I just want to say that I'm going to try this. I think it's possible.

Also, The Powder Game was written in Java, not Javascript... They are different.

Offline

 

#9 2010-12-30 20:34:51

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

Re: A Powder Game on Scratch???

pieclip wrote:

Sorry for the bump, but I just want to say that I'm going to try this. I think it's possible.

Also, The Powder Game was written in Java, not Javascript... They are different.

It'll be pretty hard - you'd need a sprite for every single speck of powder! Anyways, good luck.  smile

Offline

 

#10 2010-12-30 20:43:29

kimmy123
Scratcher
Registered: 2008-05-20
Posts: 1000+

Re: A Powder Game on Scratch???

coolstuff wrote:

pieclip wrote:

Sorry for the bump, but I just want to say that I'm going to try this. I think it's possible.

Also, The Powder Game was written in Java, not Javascript... They are different.

It'll be pretty hard - you'd need a sprite for every single speck of powder! Anyways, good luck.  smile

He could use the stamp block and use 1 or 5 sprites.


http://i.imgur.com/Mg3TPIE.pnghttp://i.imgur.com/rgyzXV5.pnghttp://i.imgur.com/685FKVd.pnghttp://24.media.tumblr.com/8678e33865664f328e1654109679cb92/tumblr_mm1qu3jGD71s8caito3_r1_250.gif

Offline

 

#11 2010-12-30 20:54:13

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

Re: A Powder Game on Scratch???

kimmy123 wrote:

coolstuff wrote:

pieclip wrote:

Sorry for the bump, but I just want to say that I'm going to try this. I think it's possible.

Also, The Powder Game was written in Java, not Javascript... They are different.

It'll be pretty hard - you'd need a sprite for every single speck of powder! Anyways, good luck.  smile

He could use the stamp block and use 1 or 5 sprites.

Still, it'd take forever to render all the sand. Regardless, good luck! I'd be blown away if I saw anything like this.  smile

Offline

 

#12 2010-12-30 21:00:22

kimmy123
Scratcher
Registered: 2008-05-20
Posts: 1000+

Re: A Powder Game on Scratch???

Maybe some people (including me) could do a collab and make a mini powder game project  big_smile
the elements could be: Wall or metal, powder, and water, and player.


http://i.imgur.com/Mg3TPIE.pnghttp://i.imgur.com/rgyzXV5.pnghttp://i.imgur.com/685FKVd.pnghttp://24.media.tumblr.com/8678e33865664f328e1654109679cb92/tumblr_mm1qu3jGD71s8caito3_r1_250.gif

Offline

 

#13 2010-12-30 21:05:09

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

Re: A Powder Game on Scratch???

kimmy123 wrote:

Maybe some people (including me) could do a collab and make a mini powder game project  big_smile
the elements could be: Wall or metal, powder, and water, and player.

That would definitely be fascinating! I'm curious to see what you come up with, but unfortunately my schedule is a touch busy at the moment to be a part of this.  smile

Offline

 

#14 2010-12-30 21:05:33

kimmy123
Scratcher
Registered: 2008-05-20
Posts: 1000+

Re: A Powder Game on Scratch???

coolstuff wrote:

kimmy123 wrote:

Maybe some people (including me) could do a collab and make a mini powder game project  big_smile
the elements could be: Wall or metal, powder, and water, and player.

That would definitely be fascinating! I'm curious to see what you come up with, but unfortunately my schedule is a touch busy at the moment to be a part of this.  smile

I wasn't asking you  tongue


http://i.imgur.com/Mg3TPIE.pnghttp://i.imgur.com/rgyzXV5.pnghttp://i.imgur.com/685FKVd.pnghttp://24.media.tumblr.com/8678e33865664f328e1654109679cb92/tumblr_mm1qu3jGD71s8caito3_r1_250.gif

Offline

 

#15 2010-12-30 21:08:16

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

Re: A Powder Game on Scratch???

kimmy123 wrote:

coolstuff wrote:

kimmy123 wrote:

Maybe some people (including me) could do a collab and make a mini powder game project  big_smile
the elements could be: Wall or metal, powder, and water, and player.

That would definitely be fascinating! I'm curious to see what you come up with, but unfortunately my schedule is a touch busy at the moment to be a part of this.  smile

I wasn't asking you  tongue

I know, I was just expressing my interest in the project while still saying that I didn't want to be a part of it.  tongue

Offline

 

#16 2010-12-31 06:20:02

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: A Powder Game on Scratch???

This sounds facinating, and I think a mini version of it with less particals would be fascinating. I will help out now and then if I see a problem I think I can solve here  smile  (assuming I'm included in the people you were asking  tongue )


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#17 2010-12-31 21:56:42

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: A Powder Game on Scratch???

If only stamping were faster, I can only get a smooth movement of 2. But with clones, that wouldn't work to well, cause you'd need to know so many things of each sprite. But moving through each particle would be easier to code. Just check for collisions, and if the collision does anything. This would be so easy if only Scratch were faster. I think they should recode it in some C language, or code it in ASM. Then you'd need to worry about it being to fast  tongue  Any other ideas for speeding this up?

My current try to it: http://scratch.mit.edu/projects/Magnie/1511272

Offline

 

#18 2011-01-01 02:43:45

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: A Powder Game on Scratch???

Clones in Panther could work well, long with stamping...


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#19 2011-01-01 18:32:20

Alpha2357
New Scratcher
Registered: 2010-12-16
Posts: 1

Re: A Powder Game on Scratch???

I also have pondered on making a falling sands game like powder game but due to the lack of a clone block in Scratch have been unable. I read that in Scratch 2.0 there will be clone. The absence of the block has also made making some games/simulations very hard(Wanted to make a chain reaction simulation but after making about 40 sprites of which most were nearly identical, I gave up).

Offline

 

Board footer