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

#1 2010-01-31 19:57:05

M4573r
Scratcher
Registered: 2010-01-31
Posts: 12

Can you help?

I posted my project on the site. It isnt finished and I need some advice on the scripts. I also want to know how to create enemies.

Offline

 

#2 2010-01-31 20:11:03

DarkMark3
Scratcher
Registered: 2009-06-18
Posts: 500+

Re: Can you help?

M4573r wrote:

I posted my project on the site. It isnt finished and I need some advice on the scripts. I also want to know how to create enemies.

I can help a lot with making smart enimies

what you need to do is have a variable called[blocks]<{   player block?   }>[/blocks] and [blocks]<{   enemy block?   }>[/blocks] and have variables that have the same set up as those for the attack but if you want to be able to win you need to have a variable called [blocks]<{   defence life   }>[/blocks]

to plan what attack the enemy will use all you need to do is[blocks]<set{   enemy attack number    }to( <pick random( 1  )to(  how ever many attacks the enemy has[/blocks]

with this I am sure you know how to do the rest


http://img841.imageshack.us/img841/7403/vamp3m.gif

Offline

 

Board footer