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

#1 2012-12-03 11:38:58

AmitDigga
New Scratcher
Registered: 2011-04-21
Posts: 18

help me with this

i want to make a heart beat graph going all smoothly to left continuously ..with its y position controlled by mouse y...

Offline

 

#2 2012-12-03 11:50:33

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: help me with this

I'll help, but I'm not sure what you want

Offline

 

#3 2012-12-04 07:02:26

AmitDigga
New Scratcher
Registered: 2011-04-21
Posts: 18

Re: help me with this

http://www.google.co.in/imgres?imgurl=http://static5.depositphotos.com/1025794/471/v/950/depositphotos_4717153-Green-heart-beat.-Ekg-graph.-EPS-8.jpg&imgrefurl=http://depositphotos.com/4717153/stock-illustration-Green-heart-beat.-Ekg-graph.-EPS-8.html&h=768&w=1024&sz=129&tbnid=8fHpyX8fzRCrNM:&tbnh=94&tbnw=125&prev=/search%3Fq%3Dheart%2Bbeat%2Bgraph%2Bvideo%26tbm%3Disch%26tbo%3Du&zoom=1&q=heart+beat+graph+video&usg=__YLf94-4byVcI6YRd8-_M9MI57EE=&docid=J9cJaD6jGI4JkM&hl=en&sa=X&ei=pOW9UJWSH8iWiQe6hIGwCw&ved=0CEEQ9QEwBQ&dur=2169



like that green line in the middle with the condition of...with pen tool and whole background or the line should be moving to the left like change x by -2 forever

Offline

 

#4 2012-12-04 07:30:43

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: help me with this

AmitDigga wrote:

(link to image)



like that green line in the middle with the condition of...with pen tool and whole background or the line should be moving to the left like change x by -2 forever

Made it a url.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#5 2012-12-04 07:43:41

Llamalover
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: help me with this

I'd create one script controlling the x position ("change x by -2") and another one to control the y position that keeps looping to make it look like a regular heartbeat, if that's what you're trying to make.


Be nice, I'm an old lady  wink

Offline

 

#6 2012-12-06 04:56:04

AmitDigga
New Scratcher
Registered: 2011-04-21
Posts: 18

Re: help me with this

but the main point is that i dont want to move my sprite from left to right that is my sprite will remain stationary but the background will be moving from right to left...did anyone able to understand ???can any one help me out??

Offline

 

#7 2012-12-06 09:17:53

Llamalover
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: help me with this

I think the easiest way to do that would be with an animation (using costumes) rather than a script.


Be nice, I'm an old lady  wink

Offline

 

#8 2012-12-06 09:23:21

Smozzick
Scratcher
Registered: 2011-10-23
Posts: 100+

Re: help me with this

Ah I think I see what you mean... you want to draw onto the background and then have what you draw continuously go left...

This type of thing?

Link to Project

Last edited by Smozzick (2012-12-06 09:29:01)


http://i50.tinypic.com/ded8m.png

Offline

 

Board footer