Skip to main content
Commonmark migration
Source Link

#Edit:

Edit:

[![enter image description here][1]][1] [1]: https://i.sstatic.net/0cruw.pngenter image description here

#Edit:

[![enter image description here][1]][1] [1]: https://i.sstatic.net/0cruw.png

Edit:

enter image description here

added 312 characters in body
Source Link

I was able to modify the code to make the collisions happen closer to the enemies but they still aren't very precise. I had been scaling the entities by the widths and heights so I decided to reduce the scaling factor. The problem now is that the bullets are taking out two enemies before they are destroyed.

Full Code for reference

Full Code for reference

I was able to modify the code to make the collisions happen closer to the enemies but they still aren't very precise. I had been scaling the entities by the widths and heights so I decided to reduce the scaling factor. The problem now is that the bullets are taking out two enemies before they are destroyed.

Full Code for reference

added 140 characters in body
Source Link

Full Code for reference

The image below shows the instance in which the collision is being detected between the bullet and the enemy

The image below shows the instance in which the collision is being detected between the bullet and the enemy

Full Code for reference

The image below shows the instance in which the collision is being detected between the bullet and the enemy

added 206 characters in body
Source Link
Loading
Source Link
Loading