This site requires JavaScript, please enable it in your browser!
Greenfoot back
Brantgarron
Brantgarron wrote ...

2017/12/1

How do I make enemies not spawn within a given range of my main character

1
2
Super_Hippo Super_Hippo

2017/12/3

#
You forgot the else in the code danpost gave you.
danpost danpost

2017/12/3

#
Brantgarron wrote...
I commented out some things instead of deleting....but I did add the new code
Replace the addedToWorld method with that which I most recently posted.
Brantgarron Brantgarron

2017/12/3

#
Thanks for all the help....I got it to work after switching some of my world class around and incorporating the code you provided.
You need to login to post a reply.
1
2