is it possible to make a game on LAN with scratch?
Offline
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.
Offline
is it possible to make the programn chose a costume by random and if yes how
Offline
You can drag a number block into the "switch to costume" block, so you can just say
"Switch to costume (pick random (1)-(20) )"
Offline
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.
Offline
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
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>
Offline
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.
Offline
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
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
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
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)
Offline
Hey thx but could you explain without the <when green flag clicked> things. Thanks
Offline
nvm i get it!!
Offline
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
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
]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
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
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
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>
Offline