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

2023/1/24

How do you make an object move along with another object

jeremyneedshelp jeremyneedshelp

2023/1/24

#
I am making a greenfoot game for school called frogger. A very famous game. there is a problem though. I cannot make my frog to move along with the boat that allow the frog to cross the river. i managed to get the frog to go on top of the boat but it wouldnt move at all. it would just get stuck on the boat and it would die. i need help urgently please!!!
danpost danpost

2023/1/24

#
jeremyneedshelp wrote...
I cannot make my frog to move along with the boat that allow the frog to cross the river. i managed to get the frog to go on top of the boat but it wouldnt move at all. it would just get stuck on the boat and it would die.
You need to show your current codes for both the frog and the boat. Also, you can look at other codes that do similar things. For example, my Jump and Run Demo w/Moving Platform scenario has an independently moving actor moving on a platform.
You need to login to post a reply.