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

#1 2010-04-01 15:58:23

qwertypower
Scratcher
Registered: 2010-02-24
Posts: 100+

Resist block

I think there should be a "resist" block the helps in the development of platform
games. A simple resist script would look like this:

when flag clicked
                forever
                     if
                       touching []
                                 resist


http://img690.imageshack.us/img690/8586/x1eo8x.png  http://img690.imageshack.us/img690/9164/logozrv.png
http://img693.imageshack.us/img693/8186/image843.png      http://img411.imageshack.us/img411/406/bobs.png      http://img535.imageshack.us/img535/2898/firegrob.png     Add zip the cybug, bob the sea urchin, and firegrob to your sig!

Offline

 

#2 2010-04-01 18:19:10

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Resist block

And it does?


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#3 2010-04-02 02:01:05

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Resist block

Would it work like the [if on edge, bounce] block?
If so, that's an interesting idea...  smile


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#4 2010-04-02 10:50:46

qwertypower
Scratcher
Registered: 2010-02-24
Posts: 100+

Re: Resist block

No. It would stop you from falling through things


http://img690.imageshack.us/img690/8586/x1eo8x.png  http://img690.imageshack.us/img690/9164/logozrv.png
http://img693.imageshack.us/img693/8186/image843.png      http://img411.imageshack.us/img411/406/bobs.png      http://img535.imageshack.us/img535/2898/firegrob.png     Add zip the cybug, bob the sea urchin, and firegrob to your sig!

Offline

 

#5 2010-04-02 15:32:26

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Resist block

You can already do that . . .

You have to keep things helpful for every type of project, this is only games, and even then, only gravitated games.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#6 2010-04-03 17:56:47

qwertypower
Scratcher
Registered: 2010-02-24
Posts: 100+

Re: Resist block

soupoftomato wrote:

You can already do that . . .

You have to keep things helpful for every type of project, this is only games, and even then, only gravitated games.

Well that takes a longer script in this it would be much simpler


http://img690.imageshack.us/img690/8586/x1eo8x.png  http://img690.imageshack.us/img690/9164/logozrv.png
http://img693.imageshack.us/img693/8186/image843.png      http://img411.imageshack.us/img411/406/bobs.png      http://img535.imageshack.us/img535/2898/firegrob.png     Add zip the cybug, bob the sea urchin, and firegrob to your sig!

Offline

 

#7 2010-04-05 13:26:15

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Resist block

qwertypower wrote:

soupoftomato wrote:

You can already do that . . .

You have to keep things helpful for every type of project, this is only games, and even then, only gravitated games.

Well that takes a longer script in this it would be much simpler

But scratch is meant to teach programming basics.
If it's obvious that you can make something from other blocks, and isn't a common function there's no point. You wouldn't learn HOW to do it.
And besides, you might need to change some settings too...


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#8 2010-04-26 15:46:08

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Resist block

If you download BYOB, then you could make a resist block, but the wouldn't put this in scratch.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#9 2012-01-04 09:47:46

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Resist block

What exactly would the Resist do?


6418,

Offline

 

#10 2012-01-04 11:52:42

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: Resist block

Just do this,

When flag clickled
Forever
If touching ___
Change y by 2.
--
Still only 4 lines.


http://blocks.scratchr.org/API.php?user=KrIsMa&action=onlineStatus&online=http://i49.tinypic.com/2pzic0m.png&offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

Board footer