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
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.
Offline
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.
Offline
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.
Offline
Well you guys are right... if only stamps for sprites had scripts
Offline
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
Offline
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.
Offline
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.
![]()
He could use the stamp block and use 1 or 5 sprites.
Offline
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.
![]()
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.
Offline
kimmy123 wrote:
Maybe some people (including me) could do a collab and make a mini powder game project
![]()
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.
Offline
coolstuff wrote:
kimmy123 wrote:
Maybe some people (including me) could do a collab and make a mini powder game project
![]()
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.
![]()
I wasn't asking you
Offline
kimmy123 wrote:
coolstuff wrote:
kimmy123 wrote:
Maybe some people (including me) could do a collab and make a mini powder game project
![]()
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.
![]()
I wasn't asking you
![]()
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.
Offline
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
(assuming I'm included in the people you were asking
)
Offline
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
Any other ideas for speeding this up?
My current try to it: http://scratch.mit.edu/projects/Magnie/1511272
Offline
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