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

#1 2010-10-26 22:15:02

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

I need help!

I am currently making a project that involves two 3D sprite (stamp, change y by 1, stamp...) but each time I press the flag, only one appears, and it is not always the same one.
I know i did the scripts right, and already tried it on other projects.

Is there any way to see both of the sprites?

<stamp>
<change y by( 1 )>
<stamp>

Offline

 

#2 2010-10-26 22:49:35

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: I need help!

Are they hidden in the beginning?


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#3 2010-10-26 23:22:29

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

Re: I need help!

no

Offline

 

#4 2010-10-27 04:39:21

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: I need help!

Could you upload the project? You have only really told us a tiny bit of a single script and we can not do much with that information.

Offline

 

#5 2010-10-27 09:18:57

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: I need help!

I see the problem. You shouldn't have a clear block in both scripts.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#6 2010-10-27 10:44:47

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: I need help!

Hardmath123 wrote:

I see the problem. You shouldn't have a clear block in both scripts.

From what he has told us he does not, although you might be correct wouldnt that just make them sometimes disappear half way through stamping? Not just not appear at all.

Offline

 

#7 2010-10-27 11:12:43

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

Re: I need help!

i made a simple project as an example

Offline

 

#8 2010-10-27 11:22:53

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

Re: I need help!

http://scratch.mit.edu/projects/piguillaud/1378792

script is for both:

<when green flag clicked>
<point in direction( 90 )>
<hide>
<forever>
<clear>
<stamp>
<change y by(1)>
<stamp>
<change y by(1)>
<stamp>
<go to x sad 0)y sad 0)>

Offline

 

#9 2010-10-27 13:59:00

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

Re: I need help!

yes , take out clear from both of them
and everytime you clear also broadcast "something"
and have a script saying
when i recieve : "something" :
clear

Offline

 

#10 2010-10-27 20:27:45

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

Re: I need help!

sorry to say, but when i do it, both disapear, so it does not work

Offline

 

#11 2010-10-27 20:50:42

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: I need help!

Fixed. Here's the project: http://scratch.mit.edu/projects/Harakou/1379746
(Tell me when you've downloaded it, so I can delete it from my projects)
The problem was just that the sprites' stamping wasn't in sync, so one would clear before the other could fully draw. So I just made a little workaround that made it not clear until both sprites had fully stamped.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#12 2010-10-28 00:29:11

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

Re: I need help!

downloaded

Offline

 

#13 2010-10-28 00:52:40

Sunrise-Moon
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: I need help!

Harakou wrote:

Fixed. Here's the project: http://scratch.mit.edu/projects/Harakou/1379746
(Tell me when you've downloaded it, so I can delete it from my projects)
The problem was just that the sprites' stamping wasn't in sync, so one would clear before the other could fully draw. So I just made a little workaround that made it not clear until both sprites had fully stamped.

You should create a "test" account for helping others. That way, you don't have to delete the help projects from your account.


http://i1067.photobucket.com/albums/u427/HulKDzN/RebornBlade.png

Offline

 

#14 2010-10-28 12:51:13

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

Re: I need help!

this is the project i made: http://scratch.mit.edu/projects/piguillaud/1380833

harakou, thank you for the help, but it does not work if the sprite moves and rotate.

To make both move, and to see both of them, I had to take screenshots of the 3D and make a new sprite with them.

Thanks for the help everybody!

Offline

 

Board footer