Click on the BBcode link below the "Write your message" box for information about formatting posts.
Offline
NOw, Archmage or someone else,Do you know how to make the Ai go through a bunch of running sprites while moving torwards the player?
Offline
Bobby500 wrote:
NOw, Archmage or someone else,Do you know how to make the Ai go through a bunch of running sprites while moving torwards the player?
Do you mean you want it to play a running animation?
In that case, just make the sprite shift thorough a series of costumes to make up the running animation.
Offline
archmage wrote:
Bobby500 wrote:
NOw, Archmage or someone else,Do you know how to make the Ai go through a bunch of running sprites while moving torwards the player?
Do you mean you want it to play a running animation?
In that case, just make the sprite shift thorough a series of costumes to make up the running animation.
Thanks, I just wasn't sure if it was possible. Now I know.
Offline
here is how to make a scrolling bouns
[blocks] <when green flag clicked>
<set{xVolosity}to(0
<set{yVolosity}to(0
<set{max speed}to(25
<forever>
<if><<<touching[G<or><color[green]is over[black>>
<set{yVolosity}to(15
<if><<<key[right arrow]pressed?><and><(<abs(<{xVolosity}><<><{max speed}> )>>>
<change{xVolosity}by(2
<if> ><<<key[left arrow]pressed?><and><(<abs(<{xVolosity}><<><{max speed}> )>>>
<change{xVolosity}by(-2
<set{xVolosity}to(((<{xVolosity}><*>0.9))
<change{yVolosity}by(-1
<change{scrollX}by(<{xVolosity}>
<change y by(<{yVolosity}> [/blocks]
Offline
I need help. I added the script for movement of AI but nothing happends.
Offline
archmage, your projects and tutorials are awesome. too bad your last scratch project is coming soon.
<when green flag clicked>
<play sound[ taps
Last edited by 16Skittles (2009-10-06 18:03:50)
Offline
how do you make youre guy die plz help
Offline
cod4person wrote:
how do you make youre guy die plz help
I suggest making a variable called "life" (or whatever you want) and put <when green flag clicked><forever if> <( <{ }> <=> 0 )> then make it do whatever you want, like <broadcast[ game over or <stop all> , some thing like that. hope it helped!
Offline
This was very helpful. Oh, and in the following part [blocks]
if < <( y position less than (( y position of player1 + 50 )) )> and touching ground >
change yVelocity by 15 [/blocks] , it says "...of player 1 + 50..." Whereas in the orinal script picture, it says "...of player 1 - 50..." You might confuse some people with this.
Offline
assuming your talking to me, your welcome. if not, chances are ive done something for you, sometime, somewhere, somehow, so your welcome. if not, your welcome in advance.
Offline
I once used one of your AI's and was using it for a game.
IT DIDN'T KNOW ABOUT WALLS.
I forgive you, though, because I decided that the game sucked so much anyways that I never finished it. XD
Offline
I;m Having a dillema myself.... i am making a fighting game which is DEFINATELY going to be amazing if I can pull this off, but everytime i strike the enemy-it glitches between his walking and his reaction from getting hit
(note)- i am using color to color sensing
(note)- His movements are- he moves back and when he moves forward he punches 3 times and these movements are set on repeat
HELP WOULD BE MUCH APPRECIATED!!! AS I HOPE YOU ALL WILL APPRECIATE THIS WHEN I MOVE ON WITH IT! THANKYOU
Offline
PEOPLE!! USE A FINITE STATE MACHINE!! It should look something like this:
<when green flag clicked>
<forever>
<if>
<broadcast[___]and wait c>
<broadcast[___]and wait c>
And it goes on and on...
Offline
You are correct, and for something like this which is meant to be simple I find that it is not a big issue. This focuses on creating the AI player and doesn't mention how to do proper collisions. After a person is experienced I think they would be able to modify this on their own to add whatever sort of collisions they want.
Offline
http://scratch.mit.edu/projects/NNNEEEOOO11/1690921
A crazy game w. an advanced ai...
Ultra hard to make, yet easy to understand and control.
ENJOY!
Offline
how do you make a life bar so that when you hit the other player he loses a certain amount of health?
Offline
can you make one with helping AIs and games that you bump into each other. I know how to make it very hard like this <when green flag clicked> <forever> <if> << <not><touching[player]> >> <glide(<pick random( 0.1 )to( 1 )secs to x <x position of player> )y <y position of player> ) <change{bounce }by( 0.1)
Offline
very cofusing
Offline
Do i have to do the Velocity part...because mine is like a room change scroller
Offline
i put this on my game...but it didnt work
Offline
how do I make a COM attack?
Offline