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

#1 2007-08-11 12:16:02

keithbraafladt
Scratcher
Registered: 2007-03-14
Posts: 25

Maybe a bug, maybe just an obvious programming mistake.

My new project has a sprite with a set xy starting postition. In scratch it works fine, but when I play it in the web site the sprite drifts out of its y and floats up.... I'm just not seeing where I may need to make a change or correction
http://scratch.mit.edu/projects/keithbraafladt/28434
Thanks
Keith

Offline

 

#2 2007-08-11 15:36:19

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: Maybe a bug, maybe just an obvious programming mistake.

How very odd.  I think this may be related to another problem I read about - that of the screen online being fractionally smaller.  As a result, your shark is bouncing off the bottom edge.

Try setting the sharks Y to slightly higher, say -150.

If that doesn't work, you may need to change the "bounce" to something else.

Leave the forever - move 6 steps, remove the bounce.

Add a new forever under a green flag.
Forever
- if ABS(x)>230
- - turn 180 degrees
- - wait until (ABS(X) <230


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#3 2007-08-14 08:32:32

relyt12101
Scratcher
Registered: 2007-05-19
Posts: 500+

Re: Maybe a bug, maybe just an obvious programming mistake.

Ive been looking at it - can't figure it out!!!


http://img392.imageshack.us/img392/2860/pspbanneregg089deiy0.png

Offline

 

#4 2007-08-14 08:48:23

relyt12101
Scratcher
Registered: 2007-05-19
Posts: 500+

Re: Maybe a bug, maybe just an obvious programming mistake.

Its not an obvious mistake.


http://img392.imageshack.us/img392/2860/pspbanneregg089deiy0.png

Offline

 

Board footer