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

2021/7/12

How to prevent objects from pushing each other?

BaseEvoli BaseEvoli

2021/7/12

#
We are programming an animal crossing inspired game for a school project, where the goal is to shoot balloons with your slingshot. The problem is, the balloons are pushing each other away and also push the score counter and the health bar with them. If a balloon pushes the health bar and is then shot the game crashes. Also, there are different coloured baloons going in the opposite direction at a certain score, but those also push the already there balloons. It's really weird and we don't know why it's happening. Here is the project, I don't really know how to fix
danpost danpost

2021/7/12

#
BaseEvoli wrote...
Here is the project,
Upload project here providing source codes.
You need to login to post a reply.