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

#1 2008-07-17 16:23:20

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Please implement Flip block

I'm working on a game where the main character has like 60 scripts over 8 different levels. Most of the time, the sprite will be pointing left/right, but it occured to me that it would be nice to give him some rotation while underwater. Unfortunately, this involves splitting the sprite into two: one that can rotate and one that can't. Then all the blocks sensing the character in the swimming levels will have to be changed. I'm just wondering if something like Jens' Flip will be introduced in 1.3, or if there will be a block that allows you to dynamically select the rotation type. Please? I'm going to lose sleep over this!


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#2 2008-07-17 16:24:23

Cyclone103
Scratcher
Registered: 2008-03-20
Posts: 500+

Re: Please implement Flip block

I hope they put that in too!


All your base are belong to us

Offline

 

#3 2008-07-17 16:26:04

alien99
Scratcher
Registered: 2008-06-23
Posts: 44

Re: Please implement Flip block

Mee too  tongue . the flip block would be nice


This is Terminator68's testing account

Offline

 

#4 2008-07-17 16:31:47

Cyclone103
Scratcher
Registered: 2008-03-20
Posts: 500+

Re: Please implement Flip block

of course, you could just squeak-hack and make it yourself lol


All your base are belong to us

Offline

 

#5 2008-07-17 19:35:26

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Please implement Flip block

fullmoon wrote:

I'm working on a game where the main character has like 60 scripts over 8 different levels. Most of the time, the sprite will be pointing left/right, but it occured to me that it would be nice to give him some rotation while underwater. Unfortunately, this involves splitting the sprite into two: one that can rotate and one that can't. Then all the blocks sensing the character in the swimming levels will have to be changed. I'm just wondering if something like Jens' Flip will be introduced in 1.3, or if there will be a block that allows you to dynamically select the rotation type. Please? I'm going to lose sleep over this!

Would it help to make the character out of two sprites?  One invisible sprite that handles the motion and another visible sprite that follows the motion of the the first sprite.  That way, the visible sprite could act like a Left/Right most of the time (using left and right costumes), but could also be a Rotating sprite when you needed it to be one.  Hopefully that is clear enough!


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#6 2008-07-18 16:06:25

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Please implement Flip block

Paddle2See wrote:

fullmoon wrote:

I'm working on a game where the main character has like 60 scripts over 8 different levels. Most of the time, the sprite will be pointing left/right, but it occured to me that it would be nice to give him some rotation while underwater. Unfortunately, this involves splitting the sprite into two: one that can rotate and one that can't. Then all the blocks sensing the character in the swimming levels will have to be changed. I'm just wondering if something like Jens' Flip will be introduced in 1.3, or if there will be a block that allows you to dynamically select the rotation type. Please? I'm going to lose sleep over this!

Would it help to make the character out of two sprites?  One invisible sprite that handles the motion and another visible sprite that follows the motion of the the first sprite.  That way, the visible sprite could act like a Left/Right most of the time (using left and right costumes), but could also be a Rotating sprite when you needed it to be one.  Hopefully that is clear enough!

The problem isn't getting the sprite to move correctly, but when it's pointing left, it's upside down, so you can't have the character face backwards. I would just make another costume that points left, but there are 54 (I didn't make that very clear, sorry). I ended up just splitting him up into two sprites, one that rotates and one that doesn't, which was easier than I thought it would be.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#7 2008-07-18 16:09:01

Cyclone103
Scratcher
Registered: 2008-03-20
Posts: 500+

Re: Please implement Flip block

fullmoon wrote:

Paddle2See wrote:

fullmoon wrote:

I'm working on a game where the main character has like 60 scripts over 8 different levels. Most of the time, the sprite will be pointing left/right, but it occured to me that it would be nice to give him some rotation while underwater. Unfortunately, this involves splitting the sprite into two: one that can rotate and one that can't. Then all the blocks sensing the character in the swimming levels will have to be changed. I'm just wondering if something like Jens' Flip will be introduced in 1.3, or if there will be a block that allows you to dynamically select the rotation type. Please? I'm going to lose sleep over this!

Would it help to make the character out of two sprites?  One invisible sprite that handles the motion and another visible sprite that follows the motion of the the first sprite.  That way, the visible sprite could act like a Left/Right most of the time (using left and right costumes), but could also be a Rotating sprite when you needed it to be one.  Hopefully that is clear enough!

The problem isn't getting the sprite to move correctly, but when it's pointing left, it's upside down, so you can't have the character face backwards. I would just make another costume that points left, but there are 54 (I didn't make that very clear, sorry). I ended up just splitting him up into two sprites, one that rotates and one that doesn't, which was easier than I thought it would be.

That works!


All your base are belong to us

Offline

 

#8 2008-07-18 16:22:49

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Please implement Flip block

Cyclone103 wrote:

fullmoon wrote:

Paddle2See wrote:


Would it help to make the character out of two sprites?  One invisible sprite that handles the motion and another visible sprite that follows the motion of the the first sprite.  That way, the visible sprite could act like a Left/Right most of the time (using left and right costumes), but could also be a Rotating sprite when you needed it to be one.  Hopefully that is clear enough!

The problem isn't getting the sprite to move correctly, but when it's pointing left, it's upside down, so you can't have the character face backwards. I would just make another costume that points left, but there are 54 (I didn't make that very clear, sorry). I ended up just splitting him up into two sprites, one that rotates and one that doesn't, which was easier than I thought it would be.

That works!

Yeah, used it in the Blizzard's Run update. It's a good touch.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

Board footer