Creating a "Chase" Game

#1

I could use a hint on a code block suggestion. I have a student who is working on a game and wants an “enemy” to chase the player as the player moves around. Is there a code block or a combination of blocks that would help accomplish that? We are working with Computer Science Discoveries and with the Game Lab

#2

Could you share the code for the student’s project or were you asking more generally?

#3

More of a general question. Wondering if there is a way to make an object move toward another object, even if the second object is in motion.

#4

Hi, check out this thread: Can you make a sprite chase another sprite?

It may address what you’re looking for.

Elizabeth

2 Likes