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

#76 2012-10-03 21:21:24

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

mentagab wrote:

I have no idea how to stop the game if you lose 3 points.
please help me!!!!!

Try using this:

stop all


http://i46.tinypic.com/35ismmc.png

Offline

 

#77 2012-10-04 01:05:47

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

ErnieParke wrote:

mentagab wrote:

I have no idea how to stop the game if you lose 3 points.
please help me!!!!!

Try using this:

stop all

Another problem solved.

Offline

 

#78 2012-10-04 04:50:40

Martiscratch
Scratcher
Registered: 2012-05-04
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

Martiscratch wrote:

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


http://signaturecraft.us/signatures/eJw1yDEOgCAMBdC9p_gnICphdnA18QwoNZIAJRTD9Z184-uP74gKjxIvxi3tzaii3ZA-PjPijdgxvBpjcCYeeOtKW2Ou3OhIAbuUIOUvpdnNtDhH1tL0AQVCHgk~.png

Offline

 

#79 2012-10-04 17:00:04

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: Scripts Workshop: Give and get help with scripts

Lets see how good you guys are...
Advanced Battleship AI

Thanks!

Offline

 

#80 2012-10-04 17:04:48

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

LiquidMetal wrote:

Lets see how good you guys are...
Advanced Battleship AI

Thanks!

...we don't make games.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#81 2012-10-04 17:52:30

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

Firedrake969 wrote:

LiquidMetal wrote:

Lets see how good you guys are...
Advanced Battleship AI

Thanks!

...we don't make games.

If you look at the bottom of the topic, you'll find a massive script and that's what LiquidMetal needs help with, not with ideas for a game.


http://i46.tinypic.com/35ismmc.png

Offline

 

#82 2012-10-05 03:25:58

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

If we don't post our questions in here doesn't that defeat the purpose?


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#83 2012-10-05 03:49:14

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

I have a question for the SW Team, do you know how to make a raycaster script(s) which is not from the wiki?
an example would help
i really don't expect an imediate answer or (scratchblocks) so yeah, thats all... Thanx in advance... smile


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#84 2012-10-05 10:08:21

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

http://i50.tinypic.com/e6unpg.jpg
like that but where in the my stuff folder?


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#85 2012-10-05 13:35:20

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

Jodymoses wrote:

http://i50.tinypic.com/e6unpg.jpg
like that but where in the my stuff folder?

To make a sig you need to go to profile (at the top of the forums page) then personalty and there should be a text box. This uses the same code as the forums.

Offline

 

#86 2012-10-06 05:42:58

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

Oh...now i look like an idiot, but since i am one (for now) is a 'sig'  a sigment?


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#87 2012-10-06 08:15:04

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

It means signiture


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#88 2012-10-06 10:48:08

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

Jodymoses wrote:

Oh...now i look like an idiot, but since i am one (for now) is a 'sig'  a sigment?

You don't look like an idiot for asking how to make a sig. I had to!

Sig = Signature

Offline

 

#89 2012-10-06 12:46:46

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

Kk


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#90 2012-10-06 13:09:29

iPhone63
Scratcher
Registered: 2010-12-15
Posts: 87

Re: Scripts Workshop: Give and get help with scripts

Hey! I have a question! I'm making an OS. I wan't to limit the movement of a minimized window so it can't go over a certain height or below another. I've tried something like this:

if (<touching mouse-pointer> and <mouse down?>)
  repeat until (<not <mouse down?>> or < x-position < -120)
    goto [mouse-pointer v]

But when I drag the window to below -120, it will become stuck there....FOREVER!
Any kind of help will be appreciated!

(and btw, sorry I didn't use scratchblocks, tried it and it didn't work well....)


http://mag.racked.eu/image/6000/Pssssssssssssssssss/mca.png

Offline

 

#91 2012-10-06 13:15:10

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

iPhone63 wrote:

Hey! I have a question! I'm making an OS. I wan't to limit the movement of a minimized window so it can't go over a certain height or below another. I've tried something like this:

if (<touching mouse-pointer> and <mouse down?>)
  repeat until (<not <mouse down?>> or < x-position < -120)
    goto [mouse-pointer v]

But when I drag the window to below -120, it will become stuck there....FOREVER!
Any kind of help will be appreciated!

(and btw, sorry I didn't use scratchblocks, tried it and it didn't work well....)

Here's the script that I would use:

repeat until <done?>
 if <(mouse x) > (120)>
  set x to (120)
 else
  if <(mouse x) < (-120)>
   set x to (-120)
  else
   set x to (mouse x)
  end
 end
 if <(mouse y) > (120)>
   set y to (120)
  else
   if <(mouse y) < (-120)>
    set y to (-120)
   else
    set y to (mouse y)
   end
  end
end

Last edited by ErnieParke (2012-10-06 13:17:31)


http://i46.tinypic.com/35ismmc.png

Offline

 

#92 2012-10-06 15:07:20

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

If you put a pic in that profile thingy today, then tomorrow you put a different pic in, will you have two pictures or will the first one be deleted?
sad   smile  =/


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#93 2012-10-06 15:33:22

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

Jodymoses wrote:

If you put a pic in that profile thingy today, then tomorrow you put a different pic in, will you have two pictures or will the first one be deleted?
sad   smile  =/

I'm pretty sure that the first one will be replaced with the second one.


http://i46.tinypic.com/35ismmc.png

Offline

 

#94 2012-10-06 19:35:18

yoshidude56
Scratcher
Registered: 2010-01-12
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

Can I join this?


http://i46.tinypic.com/2ut2ir4.png

Offline

 

#95 2012-10-07 02:16:01

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

yoshidude56 wrote:

Can I join this?

Yes. Welcome.

Offline

 

#96 2012-10-07 08:04:17

iPhone63
Scratcher
Registered: 2010-12-15
Posts: 87

Re: Scripts Workshop: Give and get help with scripts

ErnieParke wrote:

iPhone63 wrote:

Hey! I have a question! I'm making an OS. I wan't to limit the movement of a minimized window so it can't go over a certain height or below another. I've tried something like this:

if (<touching mouse-pointer> and <mouse down?>)
  repeat until (<not <mouse down?>> or < x-position < -120)
    goto [mouse-pointer v]

But when I drag the window to below -120, it will become stuck there....FOREVER!
Any kind of help will be appreciated!

(and btw, sorry I didn't use scratchblocks, tried it and it didn't work well....)

Here's the script that I would use:

repeat until <done?>
 if <(mouse x) > (120)>
  set x to (120)
 else
  if <(mouse x) < (-120)>
   set x to (-120)
  else
   set x to (mouse x)
  end
 end
 if <(mouse y) > (120)>
   set y to (120)
  else
   if <(mouse y) < (-120)>
    set y to (-120)
   else
    set y to (mouse y)
   end
  end
end

OMG!!!! It worked  big_smile  big_smile  Thank you sooo much!


http://mag.racked.eu/image/6000/Pssssssssssssssssss/mca.png

Offline

 

#97 2012-10-07 09:26:00

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

iPhone63 wrote:

ErnieParke wrote:

iPhone63 wrote:

Hey! I have a question! I'm making an OS. I wan't to limit the movement of a minimized window so it can't go over a certain height or below another. I've tried something like this:

if (<touching mouse-pointer> and <mouse down?>)
  repeat until (<not <mouse down?>> or < x-position < -120)
    goto [mouse-pointer v]

But when I drag the window to below -120, it will become stuck there....FOREVER!
Any kind of help will be appreciated!

(and btw, sorry I didn't use scratchblocks, tried it and it didn't work well....)

Here's the script that I would use:

repeat until <done?>
 if <(mouse x) > (120)>
  set x to (120)
 else
  if <(mouse x) < (-120)>
   set x to (-120)
  else
   set x to (mouse x)
  end
 end
 if <(mouse y) > (120)>
   set y to (120)
  else
   if <(mouse y) < (-120)>
    set y to (-120)
   else
    set y to (mouse y)
   end
  end
end

OMG!!!! It worked  big_smile  big_smile  Thank you sooo much!

Your welcome!


http://i46.tinypic.com/35ismmc.png

Offline

 

#98 2012-10-07 10:21:25

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

I am going to make another account pretty soon so, uhhm... Are you going to replace my current name or just add my new account?


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#99 2012-10-07 10:53:53

Ideas
Scratcher
Registered: 2012-10-07
Posts: 100+

Re: Scripts Workshop: Give and get help with scripts

May I Join?


http://img685.imageshack.us/img685/2010/screenshot20121110at132.pngI think that you must CLICK above

Offline

 

#100 2012-10-07 12:56:09

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: Scripts Workshop: Give and get help with scripts

Jodymoses wrote:

I am going to make another account pretty soon so, uhhm... Are you going to replace my current name or just add my new account?

Which would you want me to do?

Offline

 

Board footer