Do you mean you will make a script which does what we want it to do?
Offline
Can you make a script that calculates the derivative of an arbitrary formula?
Offline
Well, right now I've got everything down, but I'm really glad to know there's a Scratcher who offers these services. Credit to you for doing this.
Cheers,
3DBlenderRender
Offline
I'd also like one that can detect a collision between polygons and circles and update the rotational and directional velocities accordingly.
Offline
floppy_gunk wrote:
Can you make a script that calculates the derivative of an arbitrary formula?
I can try but what is arbitary?
NEED MORE DETAIL: What do you want it for?
Last edited by muppetds (2011-03-20 09:36:41)
Offline
floppy_gunk wrote:
I'd also like one that can detect a collision between polygons and circles and update the rotational and directional velocities accordingly.
I don't entirelly get it but I think you want something along the lines of this
Polygon
<when green flag clicked>
<forever>
<if><(<distance to[circle <<> 500 )>
<broadcast[ collision time ]and wait c>
<end>
<set{ direction }to( <direction>
<point in direction( <pick random( 1)to(360
<repeat( 10
<move( 10 )steps>
<if on edge, bounce>
<end>
<end>
Circle
<when green flag clicked>
<forever>
<move( 5 )steps>
<if on edge, bounce>
<end>
<when I receive[ Collision time
<point in direction( (( <{ Direction }> <-> 180 ))
Please let me know if this is what you wanted
Last edited by muppetds (2011-03-20 09:59:36)
Offline
Well, not quite. I was thinking more about physics based collisions based on mass, velocity, torque, etc.
But I said it kind of as a joke, and you probably wouldn't know the required physics anyway, so you don't have to it.
I hope I didn't cause any trouble.
By the way, I was joking about the derivative thing too. I don't think it's even possible in Scratch.
Offline
Can you make a a scrolling script like in a scroller game? :3 I will give you tons of credit~
Offline
BlahBlahRatSheep wrote:
Can you make a a scrolling script like in a scroller game? :3 I will give you tons of credit~
Yep I can:
Stage script:
<when green flag clicked>
<set{ Scroll X }to( 30 This determines the starting posistion
<forever>
<if> <key[ Left arrow ]pressed?>
<change{ Scroll X }by( 10
<end>
<if> <key[ Right arrow ]pressed?>
<change{ Scroll X }by( -10
<end>
<end>
Sprite Script:
<when green flag clicked>
<forever>
<set x to( (( <{ Scroll X }> <+> (( 480 <*> 0 This determines how for apart you want your sprite to be )) ))
<if> <( <abs( <x position> <>> 260 )>
<hide>
<else>
<show>
<end>
<end>
Last edited by muppetds (2011-03-21 13:14:39)
Offline
floppy_gunk wrote:
Well, not quite. I was thinking more about physics based collisions based on mass, velocity, torque, etc.
But I said it kind of as a joke, and you probably wouldn't know the required physics anyway, so you don't have to it.
I hope I didn't cause any trouble.
By the way, I was joking about the derivative thing too. I don't think it's even possible in Scratch.
I thought so
Offline
I need a character that jumps and moves around because I cant do this velocity thing, when the character hits the top of a black object it lands but if it hits the bottom of the black object it won`t go throught like this....
if touching color black and not touching bottom of color black, land, if touching bottom, do not go through
Offline
please give me the scripts to solve for x, y, z, and w when there's an equation like:
2x+5y=8z-5w
or something similar to this.
Don't say its impossible or else I would have just wasted my time and I will add you to my ignore list and such.
Offline
sergent310 wrote:
I need a character that jumps and moves around because I cant do this velocity thing, when the character hits the top of a black object it lands but if it hits the bottom of the black object it won`t go throught like this....
if touching color black and not touching bottom of color black, land, if touching bottom, do not go through
Try this:
Moving script:
<when green flag clicked>
<forever>
<if> <key[ Left arrow ]pressed?>
<point in direction( -90
<move( 10 )steps>
<end>
<if> <key[ Right arrow ]pressed?>
<point in direction( 90
<move( 10 )steps>
<end>
<end>
Jump Script:
<when[ Up arrow ]key pressed>
<repeat( 50 )steps>
<point in direction( 0
<move( 10
<when green flag clicked>
<forever>
<if> << <not> <touching color[ Black >>
<repeat until> <touching color[ Black
<point in direction( 180
<move( 10 )steps>
<end>
<if> <key[ Space ]pressed?>
<wait( 4 )secsc>
<end>
<end>
Offline
kayybee wrote:
please give me the scripts to solve for x, y, z, and w when there's an equation like:
2x+5y=8z-5w
or something similar to this.
Don't say its impossible or else I would have just wasted my time and I will add you to my ignore list and such.
Tricky one
Going to take a while to work out
Offline
when gf clicked forever repeat until <(I need a script!) = [746525433473543473547]> say [I need a script for a character to land on black in a background.] for (I need a script!) secs say [I also need a script for a character to go left or right while jumping.] for (I need a script!) secs end go to [Game v] say [Will you give me the scripts, please?] for (I need a script!) secs end
Offline