Adding enemies into construct 2

Making enemies wasn’t too hard but adding them to the game took time.

With the same as Noah I had to give the bear the platform behavior so he walks on the ground and not falls forever, I had to give the blocks to the side of him variables so he doesn’t fall off the side and that he flips round and walks the other way when on contact with it.

I also made it so if the player jumps on top of the bear then the bear dies and he jumps off of it and if the bear walks into Noah then Noah flashes.

And in the future I will like to add a health system as that will make the game a lot better.

enemiecode bear

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s