I just have a question about sensoring sprites. Like you know how Scratch wiki and alot of people say make a first costume with red green, etc? Well, I just wanted to ask does the sensoring script still work if the costume is not the sensor costume?
Offline
I'm a little confused - I've always used an entirely different sprite as the sensor. If you mean switching back and forth between the sensor and the player sprite, I imagine it would still work as long as you adjusted the scripts to account for the change in costume placement.
Offline
Are you talking about Wall Jumping? You could change the colors...
Offline
scimonster wrote:
Are you talking about Wall Jumping? You could change the colors...
Scimonster no I mean like some people make a costume of a sprite with like blue on top yellow on the left red on right green on bottom. Then they make another costume of the player sprite. And the sensoring stuff still work. So that is my question will that work if I try it?
Offline
Thescratch3 wrote:
scimonster wrote:
Are you talking about Wall Jumping? You could change the colors...
Scimonster no I mean like some people make a costume of a sprite with like blue on top yellow on the left red on right green on bottom. Then they make another costume of the player sprite. And the sensoring stuff still work. So that is my question will that work if I try it?
That kind of sensing needs a LOT of well coordinated scripts... and doesn't work well offline except in presentation mode...
I prefer to use the
move 1 step if touching <> move -1 step
mode
Offline
Thescratch3 wrote:
scimonster wrote:
Are you talking about Wall Jumping? You could change the colors...
Scimonster no I mean like some people make a costume of a sprite with like blue on top yellow on the left red on right green on bottom. Then they make another costume of the player sprite. And the sensoring stuff still work. So that is my question will that work if I try it?
Ah, that. You're much better off making the sensor and the visible costume two entirely different sprites - it makes things much simpler.
Offline
Harakou wrote:
Thescratch3 wrote:
scimonster wrote:
Are you talking about Wall Jumping? You could change the colors...
Scimonster no I mean like some people make a costume of a sprite with like blue on top yellow on the left red on right green on bottom. Then they make another costume of the player sprite. And the sensoring stuff still work. So that is my question will that work if I try it?
Ah, that. You're much better off making the sensor and the visible costume two entirely different sprites - it makes things much simpler.
What Harakou said also works... but I like my way better
Offline
jji7skyline wrote:
Harakou wrote:
Thescratch3 wrote:
Scimonster no I mean like some people make a costume of a sprite with like blue on top yellow on the left red on right green on bottom. Then they make another costume of the player sprite. And the sensoring stuff still work. So that is my question will that work if I try it?Ah, that. You're much better off making the sensor and the visible costume two entirely different sprites - it makes things much simpler.
What Harakou said also works... but I like my way better
![]()
That really only helps with the simplest of games though. It's hardly suitable for a platformer.
Offline
Harakou wrote:
jji7skyline wrote:
Harakou wrote:
Ah, that. You're much better off making the sensor and the visible costume two entirely different sprites - it makes things much simpler.What Harakou said also works... but I like my way better
![]()
That really only helps with the simplest of games though. It's hardly suitable for a platformer.
![]()
I used it on mine...
Of course platformers are not my speciality
Offline
jji7skyline wrote:
Harakou wrote:
jji7skyline wrote:
What Harakou said also works... but I like my way better
![]()
That really only helps with the simplest of games though. It's hardly suitable for a platformer.
![]()
I used it on mine...
![]()
Of course platformers are not my speciality![]()
I'm actually surprised how well that works, given the simplicity of the algorithm. Of course, it results in a jittery look when on the ground, but that's pretty easy to ignore given you spend half the time in the air anyway.
Last edited by Harakou (2011-07-28 00:46:10)
Offline
Harakou wrote:
jji7skyline wrote:
Harakou wrote:
That really only helps with the simplest of games though. It's hardly suitable for a platformer.![]()
I used it on mine...
![]()
Of course platformers are not my speciality![]()
http://s3.amazonaws.com/kym-assets/entr … 1308698386
I'm actually surprised how well that works, given the simplicity of the algorithm. Of course, it results in a jittery look when on the ground, but that's pretty easy to ignore given you spend half the time in the air anyway.![]()
Thanks!
Offline
Harakou wrote:
Thescratch3 wrote:
scimonster wrote:
Are you talking about Wall Jumping? You could change the colors...
Scimonster no I mean like some people make a costume of a sprite with like blue on top yellow on the left red on right green on bottom. Then they make another costume of the player sprite. And the sensoring stuff still work. So that is my question will that work if I try it?
Ah, that. You're much better off making the sensor and the visible costume two entirely different sprites - it makes things much simpler.
Oh like setting the ghost effect on hit tests sprites to 100 and detect? But do you know how to do it as my question asked? (Although your idea is good too!)
Offline
Thescratch3 wrote:
Harakou wrote:
Thescratch3 wrote:
Scimonster no I mean like some people make a costume of a sprite with like blue on top yellow on the left red on right green on bottom. Then they make another costume of the player sprite. And the sensoring stuff still work. So that is my question will that work if I try it?Ah, that. You're much better off making the sensor and the visible costume two entirely different sprites - it makes things much simpler.
Oh like setting the ghost effect on hit tests sprites to 100 and detect? But do you know how to do it as my question asked? (Although your idea is good too!)
Yup, that's what I meant. As for your original question, I'm not really sure, since I've never really tried something like that before and I don't know how it works in practice.
Offline
Thescratch3 wrote:
Harakou wrote:
Thescratch3 wrote:
Scimonster no I mean like some people make a costume of a sprite with like blue on top yellow on the left red on right green on bottom. Then they make another costume of the player sprite. And the sensoring stuff still work. So that is my question will that work if I try it?Ah, that. You're much better off making the sensor and the visible costume two entirely different sprites - it makes things much simpler.
Oh like setting the ghost effect on hit tests sprites to 100 and detect? But do you know how to do it as my question asked? (Although your idea is good too!)
There is a tutorial about that somewhere... look around for it... or check on the Scratch Wiki.
Offline
Harakou wrote:
Thescratch3 wrote:
Harakou wrote:
Ah, that. You're much better off making the sensor and the visible costume two entirely different sprites - it makes things much simpler.Oh like setting the ghost effect on hit tests sprites to 100 and detect? But do you know how to do it as my question asked? (Although your idea is good too!)
Yup, that's what I meant. As for your original question, I'm not really sure, since I've never really tried something like that before and I don't know how it works in practice.
Wait Harakou is your idea like the one in the Scratch Wiki?
Offline
Thescratch3 wrote:
Harakou wrote:
Thescratch3 wrote:
Oh like setting the ghost effect on hit tests sprites to 100 and detect? But do you know how to do it as my question asked? (Although your idea is good too!)Yup, that's what I meant. As for your original question, I'm not really sure, since I've never really tried something like that before and I don't know how it works in practice.
Wait Harakou is your idea like the one in the Scratch Wiki?
This is something like Harakou's idea: http://wiki.scratch.mit.edu/wiki/Scroll … r_Tutorial
Offline
jji7skyline wrote:
Thescratch3 wrote:
Harakou wrote:
Yup, that's what I meant. As for your original question, I'm not really sure, since I've never really tried something like that before and I don't know how it works in practice.Wait Harakou is your idea like the one in the Scratch Wiki?
This is something like Harakou's idea: http://wiki.scratch.mit.edu/wiki/Scroll … r_Tutorial
Yep, that's the pretty standard method for making a platformer in Scratch.
Offline
Harakou wrote:
jji7skyline wrote:
Thescratch3 wrote:
Wait Harakou is your idea like the one in the Scratch Wiki?This is something like Harakou's idea: http://wiki.scratch.mit.edu/wiki/Scroll … r_Tutorial
Yep, that's the pretty standard method for making a platformer in Scratch.
Oh okay. I shall try it out in my new Super Mario Galaxy game!
Offline
jji7skyline wrote:
Thescratch3 wrote:
Harakou wrote:
Yup, that's what I meant. As for your original question, I'm not really sure, since I've never really tried something like that before and I don't know how it works in practice.Wait Harakou is your idea like the one in the Scratch Wiki?
This is something like Harakou's idea: http://wiki.scratch.mit.edu/wiki/Scroll … r_Tutorial
JJ, can you explain how you did your black sprite with colors on different side censoring?
Offline
Thescratch3 wrote:
jji7skyline wrote:
Thescratch3 wrote:
Wait Harakou is your idea like the one in the Scratch Wiki?This is something like Harakou's idea: http://wiki.scratch.mit.edu/wiki/Scroll … r_Tutorial
JJ, can you explain how you did your black sprite with colors on different side censoring?
I didn't use that I think... Ask Harakou, or olivora
Offline
jji7skyline wrote:
Thescratch3 wrote:
jji7skyline wrote:
This is something like Harakou's idea: http://wiki.scratch.mit.edu/wiki/Scroll … r_TutorialJJ, can you explain how you did your black sprite with colors on different side censoring?
I didn't use that I think...
Ask Harakou, or olivora
![]()
I thought you used that with your plat former . Okay I will do that tomorrow.
Offline