Hi.
I'm making a game based in one that I watched in a cell phone of a girl at the subway
My game it's about salad making. I have in a "table" many ingredients, and you have to drag them on a bowl.
How can I do for, when you grab an ingredient from the table, the object on the table don't dissappear? (Infinite vegetables, as in the cartoons )
Offline
PPJB wrote:
Hi.
I'm making a game based in one that I watched in a cell phone of a girl at the subway
My game it's about salad making. I have in a "table" many ingredients, and you have to drag them on a bowl.
How can I do for, when you grab an ingredient from the table, the object on the table don't dissappear? (Infinite vegetables, as in the cartoons )
Well, to do that, all you need to do is stamp you sprite before it starts moving.
I'm guessing that at some time, you'll want to drag that object as well, correct? Then just stamp your object once you're done using it in the bowl, and have it move back to where it was. Then you can use it again, as many times as you want.
Well I hope that this helps! Also, hello PPJB and welcome to Scratch! I wish you a great time here!
With regards,
ErnieParke
Last edited by ErnieParke (2013-04-22 16:22:26)
Offline
PPJB wrote:
Hi.
Thanks. But I want to duplicate the ingredient when I took it of the table, or at least than the ingredient appear again when I let it on the bowl.
I think he means this:
forever if <mouse down?> stamp repeat until <not <mouse down?>> go to [mouse pointer v] end stamp set x to (70)//put the number you want here set y to (50)//put the number you want here endHope that helped!
Last edited by 7734f (2013-04-22 22:29:42)
Offline
7734f wrote:
forever if <mouse down?> stamp repeat until <not <mouse down?>> go to [mouse pointer v] end stamp set x to (70)//put the number you want here set y to (50)//put the number you want here endHope that helped!
~7734f
7734f, thanks. I tried your code, but I want that, when the ingredient reach the bowl, the stamps disappear. How I do it?
Offline
PPJB wrote:
7734f wrote:
forever if <mouse down?> stamp repeat until <not <mouse down?>> go to [mouse pointer v] end stamp set x to (70)//put the number you want here set y to (50)//put the number you want here endHope that helped!
~7734f7734f, thanks. I tried your code, but I want that, when the ingredient reach the bowl, the stamps disappear. How I do it?
Well, I'm not entirely sure why you'd want that, though it'll involve this block:
clear
Offline