I am using a program called Greenfoot to do my java projects. there is two “actors” in Greenfoot that move around randomly. I would like to make it so that when one actor touches the other, it has a percent of changing the other actor to the same image. How do I accomplish this?
Share
Are you looking for an Object Collision. If yes then please read this:
http://www.greenfoot.org/doc/manual.html#collisions