Discuss Scratch

X126
Scratcher
100+ posts

how do i program enemies

how do i
amylaser
Scratcher
500+ posts

how do i program enemies

You'll need to give us some more details before we can actually help you ^.^'' As in, how do you want the enemies to behave? Do they deal damage, follow the player, shoot projectiles? Can they jump or swim? Do they move along predetermined routes or do they follow the player? The scripting will be different depending on your answer…
DraGoBoom
Scratcher
58 posts

how do i program enemies

This post has been deleted.

Last edited by DraGoBoom (Sept. 9, 2016 16:21:50)

X126
Scratcher
100+ posts

how do i program enemies

amylaser wrote:

You'll need to give us some more details before we can actually help you ^.^'' As in, how do you want the enemies to behave? Do they deal damage, follow the player, shoot projectiles? Can they jump or swim? Do they move along predetermined routes or do they follow the player? The scripting will be different depending on your answer…
so they are basically zombies who move forward and you shoot them they do take damage
The-Nick-of-Time
Scratcher
100+ posts

how do i program enemies

whenIreceiveStart GamesetEnemy Healthto10repeatuntilEnemy Health=0changexby15wait0.1secshidestopother scripts in this spritewhenIreceiveStart gameforeveriftouchingLaser/bullet/arrow?thensetEnemy healthto0

Last edited by The-Nick-of-Time (Sept. 9, 2016 18:18:31)

WolfCat67
Scratcher
1000+ posts

how do i program enemies

The-Nick-of-Time wrote:

whenIreceiveStart GamesetEnemy Healthto10repeatuntilEnemyHealth=0changexby15wait0.1secshidestopother scripts in this spritewhenIreceiveStart GameforeveriftouchingLaser/bullet/arrow?thensetEnemy Healthto0
Fixed a couple of things for you so that they match the Scratch Blocks more closely.
asivi
Scratcher
1000+ posts

how do i program enemies

I'll suggest to remove the wait block and move shorter steps.
whenIreceiveStart GamesetEnemy Healthto10repeatuntilEnemyHealth=0changexby5hidestopother scripts in this spritewhenIreceiveStart GameforeveriftouchingLaser/bullet/arrow?thensetEnemy Healthto0

The-Nick-of-Time
Scratcher
100+ posts

how do i program enemies

WolfCat67 wrote:

The-Nick-of-Time wrote:

whenIreceiveStart GamesetEnemy Healthto10repeatuntilEnemyHealth=0changexby15wait0.1secshidestopother scripts in this spritewhenIreceiveStart GameforeveriftouchingLaser/bullet/arrow?thensetEnemy Healthto0
Fixed a couple of things for you so that they match the Scratch Blocks more closely.



Thanks, I'm not very good with forum Scratchblocks.
karmanvan
Scratcher
7 posts

how do i program enemies

amylaser wrote:

You'll need to give us some more details before we can actually help you ^.^'' As in, how do you want the enemies to behave? Do they deal damage, follow the player, shoot projectiles? Can they jump or swim? Do they move along predetermined routes or do they follow the player? The scripting will be different depending on your answer…
How do I program an enemy that can deal damage, follow the player, shoot projectiles, and jump and swim?
PizzaAddict4Life
Scratcher
1000+ posts

how do i program enemies

karmanvan wrote:

amylaser wrote:

You'll need to give us some more details before we can actually help you ^.^'' As in, how do you want the enemies to behave? Do they deal damage, follow the player, shoot projectiles? Can they jump or swim? Do they move along predetermined routes or do they follow the player? The scripting will be different depending on your answer…
How do I program an enemy that can deal damage, follow the player, shoot projectiles, and jump and swim?

Please create a new topic instead of posting on an existing one if you have a question
karmanvan
Scratcher
7 posts

how do i program enemies

PizzaAddict4Life wrote:

karmanvan wrote:

amylaser wrote:

You'll need to give us some more details before we can actually help you ^.^'' As in, how do you want the enemies to behave? Do they deal damage, follow the player, shoot projectiles? Can they jump or swim? Do they move along predetermined routes or do they follow the player? The scripting will be different depending on your answer…
How do I program an enemy that can deal damage, follow the player, shoot projectiles, and jump and swim?

Please create a new topic instead of posting on an existing one if you have a question

Ok sorry I had never used the forum before
Wyan100
Scratcher
1000+ posts

how do i program enemies

I accidentally posted this reply when the page malfunctioned

Last edited by Wyan100 (June 18, 2020 01:11:35)

karmanvan
Scratcher
7 posts

how do i program enemies

PizzaAddict4Life wrote:

karmanvan wrote:

amylaser wrote:

You'll need to give us some more details before we can actually help you ^.^'' As in, how do you want the enemies to behave? Do they deal damage, follow the player, shoot projectiles? Can they jump or swim? Do they move along predetermined routes or do they follow the player? The scripting will be different depending on your answer…
How do I program an enemy that can deal damage, follow the player, shoot projectiles, and jump and swim?

Please create a new topic instead of posting on an existing one if you have a question

https://scratch.mit.edu/discuss/topic/415213/
MRMCC00l
Scratcher
2 posts

how do i program enemies

my enemy is like a mega-man boss. kinda dumb but can jump, fight and move. if you can help me please do!

Powered by DjangoBB