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

#401 2008-05-08 19:57:08

rhysdejager
Scratcher
Registered: 2008-05-08
Posts: 2

Re: Ask me anything, for i am a Pro Scratcher

is it possible to make a game on LAN with scratch?

Offline

 

#402 2008-05-08 22:13:37

Heybrian-
Scratcher
Registered: 2008-04-30
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

archmage wrote:

Nokomisbroadcasting wrote:

Is it possible to have a button on my project that links to another website?

No, it isn't possible.

Ah, but i noticed if you put the URL in the description, you can click it and go there.


www.bungie.net . Halo 3. World Domination.

Offline

 

#403 2008-05-15 15:30:43

happiman
Scratcher
Registered: 2008-01-26
Posts: 2

Re: Ask me anything, for i am a Pro Scratcher

Can u tell me anything about scratch, like just the program, not scripting? I'm a pretty good scripter.  smile  <when green flag clicked>

Offline

 

#404 2008-05-16 14:09:51

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Ask me anything, for i am a Pro Scratcher

is it possible to make the programn chose a costume by random and if yes how


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#405 2008-05-16 16:04:26

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: Ask me anything, for i am a Pro Scratcher

You can drag a number block into the "switch to costume" block, so you can just say

"Switch to costume (pick random (1)-(20) )"


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#406 2008-05-22 21:19:54

Heybrian-
Scratcher
Registered: 2008-04-30
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

Or how many costumes you have.


www.bungie.net . Halo 3. World Domination.

Offline

 

#407 2008-05-25 19:15:14

dudeling
Scratcher
Registered: 2008-04-10
Posts: 9

Re: Ask me anything, for i am a Pro Scratcher

Does any one have a tutorial for terrain following i dont want an engine i just need to know the script

Offline

 

#408 2008-05-25 20:27:23

Heybrian-
Scratcher
Registered: 2008-04-30
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

Terrain following? Im guessing you mean scrolling. Ok,make a bunch of sprites, then make a variable called scroll x, and then insert this

<when green flag clicked>
<forever>
<if><key[ right ]pressed?>
<change{scroll X  }by( -5
<end>
<if><key[ left ]pressed?>
<change{ scroll X }by( 5
<end>


Then, do this on the first sprite:


<when green flag clicked>
<forever>
<set x to( (( <{ scroll X }> <+> (( 460 <*>0  )) ))
<end>



Then for each sprite after that, where it says 460 times 0, make it go up 1. for example, sprite 1 is 0. sprite 2 is 1. sprite 3 is 2. Ect.  Tell me if thats not what you meant or you dont get it.


www.bungie.net . Halo 3. World Domination.

Offline

 

#409 2008-05-25 21:46:40

dudeling
Scratcher
Registered: 2008-04-10
Posts: 9

Re: Ask me anything, for i am a Pro Scratcher

No sorry thats not what i meant What i mean by "terrain following" is somthing like being able to walk up a hill instead of walking right through it or making a platform that i could jump on to

Last edited by dudeling (2008-05-25 21:47:05)

Offline

 

#410 2008-05-26 11:38:27

Heybrian-
Scratcher
Registered: 2008-04-30
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

dudeling wrote:

No sorry thats not what i meant What i mean by "terrain following" is somthing like being able to walk up a hill instead of walking right through it or making a platform that i could jump on to

Oh. Ok. Jumping takes a long time to code. Try looking at something like my projects where it uses velocity. For walking up a hill, make the surface black, and the bottom green or whatever, (im gonna use green right now) and insert this code:


<when green flag clicked>
<forever if><touching color[ green]
<change y by( 3)
<end>


www.bungie.net . Halo 3. World Domination.

Offline

 

#411 2008-05-26 13:17:14

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: Ask me anything, for i am a Pro Scratcher

dudeling wrote:

No sorry thats not what i meant What i mean by "terrain following" is somthing like being able to walk up a hill instead of walking right through it or making a platform that i could jump on to

Have a look at my "complex jumping demo" which demos a sprite walking on sloped and cureved surfaces and jumping onto platforms.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#412 2008-05-26 17:22:52

dudeling
Scratcher
Registered: 2008-04-10
Posts: 9

Re: Ask me anything, for i am a Pro Scratcher

Thanks man!

Offline

 

#413 2008-05-27 14:41:29

mletreat
Scratcher
Registered: 2008-05-01
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

dudeling wrote:

Does any one have a tutorial for terrain following i dont want an engine i just need to know the script

here is a pretty simple one from riku175...this might give you an idea:

http://scratch.mit.edu/projects/riku175/137794

Offline

 

#414 2008-05-27 15:26:33

chalkmarrow
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

Paddle2See has the most "robust" one I've seen (that is, it seems to handle pretty much any angle without going into some bizarre state):

http://scratch.mit.edu/projects/Paddle2See/171502

Offline

 

#415 2008-05-28 16:58:27

spencer333
Scratcher
Registered: 2008-05-28
Posts: 5

Re: Ask me anything, for i am a Pro Scratcher

I am trying to make a mario vs. bowser game but i ran into a little problem,,,,,
I dont know how i can make mario and bowser attack,,,,,
Please respond soon!!!!!!!!!!!!!!!!1

Offline

 

#416 2008-05-28 21:20:39

Heybrian-
Scratcher
Registered: 2008-04-30
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

lol. "1". back in the oldschool ways. Anyways, find an animation sprite on teh internet, and do

<when green flag clicked>
<forever if><key[ space ]pressed?>
<switch to costume[ attack 1
<wait(0.2  )secs>
<switch to costume[ attack 2
<end>

Now theres animation. Here comes programming.
P2 = mario
P1 = bowser


<when green flag clicked>
<forever if><<  <key[ space ]pressed?><and> <touching[ P2  >>
<change{P1 health  }by( 5


And you do that with mario too. If i didnt explain it enough, tell me.

Last edited by Heybrian- (2008-05-28 21:21:27)


www.bungie.net . Halo 3. World Domination.

Offline

 

#417 2008-05-29 15:49:08

spencer333
Scratcher
Registered: 2008-05-28
Posts: 5

Re: Ask me anything, for i am a Pro Scratcher

Hey thx but could you explain without the <when green flag clicked> things. Thanks

Offline

 

#418 2008-05-29 16:23:24

spencer333
Scratcher
Registered: 2008-05-28
Posts: 5

Re: Ask me anything, for i am a Pro Scratcher

nvm i get it!!

Offline

 

#419 2008-05-29 19:36:30

spencer333
Scratcher
Registered: 2008-05-28
Posts: 5

Re: Ask me anything, for i am a Pro Scratcher

Another couple of questions!
How can i make mario jump?
How can i make a enter screen?
And lastly how can i program bowser to attack by himself?
thanks spencer

Offline

 

#420 2008-05-29 20:15:43

Bobby500
Scratcher
Registered: 2008-04-19
Posts: 1000+

Re: Ask me anything, for i am a Pro Scratcher

Okay, I have made a project that is a copy of that. The link is http://scratch.mit.edu/projects/Bobby500/152612

If you have any more questions ask!

Offline

 

#421 2008-05-30 14:45:22

spencer333
Scratcher
Registered: 2008-05-28
Posts: 5

Re: Ask me anything, for i am a Pro Scratcher

]Another couple of questions!
How can i make mario jump?
How can i make a enter screen?
And lastly how can i program bowser to attack by himself?
thanks spencer

Offline

 

#422 2008-06-03 19:11:41

Robobob
Scratcher
Registered: 2007-06-03
Posts: 7

Re: Ask me anything, for i am a Pro Scratcher

I am making an overhead scrolling game to where my guy is always in the middle but I cant get it to where the ground rotates under my guy.I have tried this but it didn't work.
[blocks]<when[ left key ]key pressed><turn cw( 5 )degrees>[/blocks]      (This is for the ground) If you can help, please tell me. thank you.

Offline

 

#423 2008-06-03 19:41:42

Robobob
Scratcher
Registered: 2007-06-03
Posts: 7

Re: Ask me anything, for i am a Pro Scratcher

I am making an overhead scrolling game to where my guy is always in the middle but I cant get it to where the ground rotates under my guy.I have tried this but it didn't work.
[blocks]<when[ left key ]key pressed><turn cw( 5 )degrees>[/blocks]      (This is for the ground) If you can help, please tell me. thank you.

Offline

 

#424 2008-06-03 21:22:36

Heybrian-
Scratcher
Registered: 2008-04-30
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

Ok. First, at the top wehre it shows your sprite make sure it is on the swirley one.

And also do this



<when green flag clicked>
<forever if><key[ left ]pressed?>
<turn cw( 5 )degrees>
<end>


www.bungie.net . Halo 3. World Domination.

Offline

 

#425 2008-06-04 15:57:24

Robobob
Scratcher
Registered: 2007-06-03
Posts: 7

Re: Ask me anything, for i am a Pro Scratcher

that is not what i need

Offline

 

Board footer