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

#1 2009-06-15 17:27:45

zackman94
Scratcher
Registered: 2009-06-15
Posts: 61

script idea (well i'm more begging at this point)

personaly i realy need a block like <> bounce so you could bounce off of colors or sprites, i mainly need this for a game, your player can walk backward and forward, but when i try to make a wall, he just plows through when he goes backward, and i already have lots of sprites, so i dont want to add more with add x or add y, because that would require 12 more sprites, see my problem?

Offline

 

#2 2009-06-16 17:45:54

boogawk
Scratcher
Registered: 2009-03-07
Posts: 100+

Re: script idea (well i'm more begging at this point)

I had this problem also. You mean like trying to balance on something, right?
Try this:[blocks]<if><touching color[
or
[blocks]<if><color[  ]is over[ [/blocks]

Last edited by boogawk (2009-06-16 17:46:28)


http://i660.photobucket.com/albums/uu328/boogawk/shadingbanner.jpg

Offline

 

#3 2009-06-16 23:30:16

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: script idea (well i'm more begging at this point)

read the notes in this:
http://scratch.mit.edu/projects/yambanshee/371970
(trig can be replaced with move X steps)

Offline

 

#4 2009-06-17 10:28:32

zackman94
Scratcher
Registered: 2009-06-15
Posts: 61

Re: script idea (well i'm more begging at this point)

yeah, both are good points, but it doesn't help with what I'm doing, i need to make walls on a some houses, for a game, you see it birds eye view, and well, i dont want to make 16 new sprites for walls, thats the problem

Offline

 

#5 2009-06-18 02:23:54

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: script idea (well i'm more begging at this point)

zackman94 wrote:

yeah, both are good points, but it doesn't help with what I'm doing, i need to make walls on a some houses, for a game, you see it birds eye view, and well, i dont want to make 16 new sprites for walls, thats the problem

I'm a bit confused by what you mean, so this may not make any sense: Try having slightly different colors (different colors for each wall, but you can't tell because the colors are so similar).

Last edited by Jonathanpb (2009-06-23 02:00:10)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#6 2009-06-18 02:27:21

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: script idea (well i'm more begging at this point)

It would also be cool, because there is the block 'if on edge, bounce', so why not the 'if touching [sprite here], bounce'. Wouldn't it be cool?
__________________________________________
Even if the internet dies, Scratch shall not.

Last edited by Jonathanpb (2009-06-18 02:29:07)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#7 2009-06-18 05:28:16

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

Re: script idea (well i'm more begging at this point)

If what you are looking for is solid walls, without a lot of sensing sprites, here is a technique you might find useful

http://scratch.mit.edu/projects/Paddle2SeeFixIt/188825

or

http://scratch.mit.edu/projects/Paddle2SeeFixIt/188807


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

Offline

 

#8 2009-06-18 20:40:08

boogawk
Scratcher
Registered: 2009-03-07
Posts: 100+

Re: script idea (well i'm more begging at this point)

Woah! Great example Paddle2See! I should have looked at this project a few months ago when I had this problem.


http://i660.photobucket.com/albums/uu328/boogawk/shadingbanner.jpg

Offline

 

Board footer