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

#1 2013-01-12 16:21:39

ksthor
New Scratcher
Registered: 2013-01-12
Posts: 1

custom sprite not sensing

Guys,

I'm new to scratch and am doing a simple (forever if <touching sprite5>) play sound script. It works when I use the sprites that come with installation.

I took a picture of my son's Ninjago lego character and tried to use that and it doesn't work.

Same exact script, I tried png, gif, etc., but none work. Is there some special setting or format that must be used when using a custom picture or jpg?

Thx, KSTHOR

Offline

 

#2 2013-01-12 17:22:24

PhirripSyrrip
Scratcher
Registered: 2012-02-11
Posts: 100+

Re: custom sprite not sensing

I don't think that there should be. All I can think of is that maybe the new custom sprite has not been labelled "sprite5" or whatever. Sometimes when you want to change one sprite in a project, you change the sprite but at the same time the sprite name changes from (say) "sprite5" to "sprite6". This will affect all "if <touching sprite5>" blocks- they must be updated to say "if <touching sprite6>"

I think that it is most likely to be a small, easy to miss problem of this sort. Maybe you could upload the working and non-working projects so that we can have a look for you.


http://i46.tinypic.com/ao03lk.png

Offline

 

#3 2013-01-14 19:40:13

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: custom sprite not sensing

PhirripSyrrip wrote:

I don't think that there should be. All I can think of is that maybe the new custom sprite has not been labelled "sprite5" or whatever. Sometimes when you want to change one sprite in a project, you change the sprite but at the same time the sprite name changes from (say) "sprite5" to "sprite6". This will affect all "if <touching sprite5>" blocks- they must be updated to say "if <touching sprite6>"

I think that it is most likely to be a small, easy to miss problem of this sort. Maybe you could upload the working and non-working projects so that we can have a look for you.

This could be the problem. Also, make sure that all the blank space around your sprite is erased after you import it - that could cause problems as well.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer