strawpile wrote:
Great, thanks for the solutions. BTW, where can I find a list of commands used in the scratchblocks code?
I don't know, but you can always look at other scratcher's block code here. That's what I did to learn how to write the code for scratchblocks in the forums.
Offline
@ strawpile and ErnieParke: Would you like to join?
Offline
Can I join?
Offline
JH1010 wrote:
@ strawpile and ErnieParke: Would you like to join?
Okay.
Offline
Cant we have our own pic to show that we are the guys who are part of this group
and under all of our comments it shows that pic. IF Possible how?
Offline
Jodymoses wrote:
Cant we have our own pic to show that we are the guys who are part of this group
and under all of our comments it shows that pic. IF Possible how?
It is possible. First of all, get the code for your picture. Then go to Profile and then Personality. From there, paste in this code into the box that should appear:
[img]image's code here[*img] Note: Replace the "*" with a "/".
Hit "except" and you're done!
Last edited by ErnieParke (2012-09-27 06:44:34)
Offline
Welcome to the team Martiscratch and ErnieParke!
Use this image in your sig!
Offline
did the [img] work?
Offline
I could add A link to here as well..
Offline
Jodymoses wrote:
What is the pictures url and how can we use it?
The image url is http://i50.tinypic.com/e6unpg.jpg and the code is [img]http://i50.tinypic.com/e6unpg.jpg[/img]
(Just don't copy it in the post a reply thingy)
Offline
My [img] is a [url]to here as well! (click it!)
Offline
JH1010 wrote:
Welcome to the team Martiscratch and ErnieParke!
Use this image in your sig!
http://i50.tinypic.com/e6unpg.jpg
I prefer using my own signature because you don't need a specific signature to help someone, though I'll find some other way to incorporate your workshop into my signature.
Offline
ErnieParke wrote:
JH1010 wrote:
Welcome to the team Martiscratch and ErnieParke!
Use this image in your sig!
http://i50.tinypic.com/e6unpg.jpgI prefer using my own signature because you don't need a specific signature to help someone, though I'll find some other way to incorporate your workshop into my signature.
Actually, I've changed my mind. I'll just keep my current signature.
Offline
My easiest solution is
to make a
slingshot sprite
small dot sprite
projectile sprite
...let the slingshot x and y pos. be in the bottom left corner but not touching the edge...
Eg.
when gf clicked set x to (-200)//this can be edited set y to (-150) stop scriptFor the dot add the following script
when gf clicked clear pen down forever if<<mouse down?> and <([x position v] of [slingshot v]) - (mouse x) > (mouse x) - [15]// mouse down? and x position of slingshot - mouse x > mouse x - 15 set [speed v] to (distance to [slingshot v]) x [3]) set x to (mouse x) set y to (mouse y) end clear if<<mouse down?> and <([x position v] of [slingshot v]) - (mouse x) > (mouse x) - [15] //if mouse down? and x position of slingshot - mouse x < mouse x - 15 set [speed v] to (distance to [slingshot v] x [3] set x to (mouse x) set y to (mouse y) end endnow for the projectile
when gf clicked forever set x to ([x position v] of [dot v]) set y to ([y position v] of [dot v]) repeat until <mouse down?> set x to ([x position v] of [dot v]) set y to ([y position v] of [dot v]) point towards [mouse-pointer v] end set [x v] to (speed) x ([sin v] of [direction v] set [y v] to (speed) x ([cos v] of [direction v] broadcast [shoot v] and wait end end
when i recieve [shoot v] repeat until <<<touching [edge v]>> or < (y position) < [-179]// if touching edge or y position < -179 change x by (x) change y by (y) change (y) by [-0.2] set [turn v] to (x) / (y) if < (turn) > [0] point in direction (turn) end else point in direction (turn) + [180] end end
Last edited by Jodymoses (2012-10-05 00:55:21)
Offline
I like to have my own sig so could I just have a [url]?
(I am not changing it till I know if I can)
Offline
Jodymoses wrote:
My easiest solution is
to make a
slingshot sprite
small dot sprite
projectile sprite
...let the slingshot x and y pos. be in the bottom left corner but not touching the edge...
For the dot add the following scriptwhen gf clicked clear pen down forever if<<mouse down?> and<(([x position v] of [slingshot v])) - (mouse x) < set [speed v] to ((distance to [slingshot v]) * [3]) set x to (mouse x) set y to (mouse y) end clear if<<mouse down?> and<(([x position v] of [slingshot v]) - (mouse x)) < set [speed v] to ((distance to [slingshot v]?) * [3]) set x to (mouse x) set y to (mouse y) endnow for the projectilewhen gf clicked forever set x to ([x position v] of (dot)) set y to ([y position v] of (dot)) if <mouse down?> set x to ([x position v] of (dot)) set y to ([y position v] of (dot)) point towards [mouse pointer v] end set [x v] to ((speed) * ([sin v] of (direction))) set [y v] to ((speed) * ([cos v] of (direction))) broadcast [shoot v] and waitwhen i receive [shoot v] repeat until <(touching [edge v]?) or <(y position) < [-179]>> change x by (x) change y by (y) change [y v] by (-0.2) set [turn v] to ((x) / (y)) if < (turn) > (0) > point in direction (turn) else point in direction ((turn) + [180]) end end
I fixed as much as I could.
Last edited by ErnieParke (2012-10-01 15:18:37)
Offline
Hi! I would love to join and help with scripting!
Offline
Could someone please give me a wall detection script? I just can't seem to find any good tutorials. (Also, wall jumping would be nice too if it's not too long or complicated. That basically means for me that I can copy it into my project in less than 30 mins.)
Offline
lizzyhippo wrote:
Hi! I would love to join and help with scripting!
Welcome to the team!
awesomeness321 wrote:
Could someone please give me a wall detection script? I just can't seem to find any good tutorials. (Also, wall jumping would be nice too if it's not too long or complicated. That basically means for me that I can copy it into my project in less than 30 mins.)
Wall detection would have to use the colour sensing blocks. I do not have a clue where to start with wall jumping.
@everyone: I am not forcing you to put the banner in your sig, it is just if you want to and to help advertize this. So if you do not want the banner in your sig you can still be a member.
Last edited by JH1010 (2012-10-02 02:05:09)
Offline
Martiscratch wrote:
I like to have my own sig so could I just have a [url]?
(I am not changing it till I know if I can)
up1
Offline
OMG! Just noticed that there is a 2nd page (I set my posts per page to the maximum which is 75).
Offline