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

#1 2007-06-08 17:41:22

Theadorerex
Scratcher
Registered: 2007-06-08
Posts: 3

new x and y buttons

In the next version there should be buttons that let you have a command like this

IF:x>100 or  x<-100
Broadcast: message


so you could put a height limit on a sprite or something like that

and there should be a way to stop the timer without having to reset it to zero
now i know that you could make a variable called timer, but it would be easier if you could stop the timer

and i love the program overall and i run a website where one of the forums is focused on scratch, and if i get any more suggestions on the site, i'll foreward them through this profile

the URL for my site is: z4.invisionfree.com/stick_shifters

Offline

 

#2 2007-06-08 18:19:08

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: new x and y buttons

You can put a height limit on a sprite...using the exact code that you just posted:

http://scratch.mit.edu/files/scratchboard/xpos.png

And yes, you did find the work-around for the timer, using a variable.

Paulmedwal


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#3 2007-06-12 08:34:10

Theadorerex
Scratcher
Registered: 2007-06-08
Posts: 3

Re: new x and y buttons

I don't have those X and Y buttons in my version...

Perhaps I should download the program again...

Offline

 

#4 2007-06-12 09:30:52

Roberth
Scratcher
Registered: 2007-05-15
Posts: 46

Re: new x and y buttons

Look again.  I don't think you need to download a new version of Scratch (yet).

Those X and Y position "variables" are located in the "motion" group of blocks, not with the rest of the "numbers" or "variables" areas.  And they are only visible on scripts that relate to sprites, not the stage scripts.

Look at the very bottom of the list of blocks on the "motion" section, and you will see "x position", "y position" and "direction" grouped together.  They can be used in the same places as any other variable block.

Offline

 

#5 2007-06-12 12:30:47

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: new x and y buttons

I've often wondered why the values are scatted on the motion, sensing, and variables panes.  It would be simpler to have them all together.

If the variable setting was done with only 2 blocks, then there would be room on the variable pane for all the sensors, x-position, and y-position.  It would be nice to have blocks for sensing costume number, sound playing, pen color, graphic effects settings, ...
also

Offline

 

#6 2007-06-17 17:40:05

Theadorerex
Scratcher
Registered: 2007-06-08
Posts: 3

Re: new x and y buttons

Thank you, I did find the buttons, but they were in a weird place...

I was wondering why we cannot have dynamic .gif files be sprites

I use a freeware animation program called pivot, and the animations can be saved as moving .gif files.

my website has many of these animations, and I want to make a program with a TV, where  the TV is playing something, preferably one of my animations

the program seems to only upload the first frame of the animation

is there an easier way than transferring the anim frame by frame

Offline

 

#7 2007-07-24 23:45:24

natalie
Scratch Team
Registered: 2007-03-07
Posts: 100+

Re: new x and y buttons

You should be able to drag and drop an animated gif into Scratch and have all the frames appear as costumes (of whichever sprite is currently selected).

(You can also highlight a group of images, and drag and drop them into Scratch, and they will all go into the currently selected sprite.)

Offline

 

#8 2007-08-30 20:40:16

dinther
Scratcher
Registered: 2007-08-22
Posts: 19

Re: new x and y buttons

Right on the money Natalie.

There are heap of great useful animated gif's out there that can really bring scratch animations and programs alive.

a MUST HAVE feature


Find out what it is like to steer large ships into the Port of Rotterdam in ShipSim http://scratch.mit.edu/projects/dinther/32891

Offline

 

#9 2007-08-31 17:41:06

Vanslar
Scratcher
Registered: 2007-03-17
Posts: 100+

Re: new x and y buttons

Theadorerex wrote:

In the next version there should be buttons that let you have a command like this

IF:x>100 or  x<-100
Broadcast: message


so you could put a height limit on a sprite or something like that

and there should be a way to stop the timer without having to reset it to zero
now i know that you could make a variable called timer, but it would be easier if you could stop the timer

and i love the program overall and i run a website where one of the forums is focused on scratch, and if i get any more suggestions on the site, i'll foreward them through this profile

the URL for my site is: z4.invisionfree.com/stick_shifters

there are. but right now that kind of stuff(x, y, direction) don't work when youre moving to fast


  I am a royal pain in the butt, I am ~Vanslar~       
      Want better gravity? Go to
Realistic Gravity, By Vanslar 2-D
Want a better way to spend your spare time? CubeField

Offline

 

Board footer