Search found 4 matches
- Thu Oct 08, 2020 10:17 pm
- Forum: Games and Creations
- Topic: Timer for actions
- Replies: 1
- Views: 3497
Timer for actions
Hello, guys. I am trying to animate a death animation and here is what I am currently doing: when a collision is detected, I remove the dying element from the table I inserted it before, and when I do it, I'd like it to change it's image to a death one, and then be removed from the table. My problem...
- Thu Oct 08, 2020 4:26 pm
- Forum: Games and Creations
- Topic: Collisions and images
- Replies: 8
- Views: 9258
Re: Collisions and images
While I'm further studying your code. Let me give you some helpful tips: --- In your Bullet(x, y) function init:draw() .... --- You shouldn't do this. The adjustment you made "init.x + 25" is only VISUAL. You won't see where the bullet REALLY is. love.graphics.rectangle("fill", ...
- Thu Oct 08, 2020 12:00 pm
- Forum: Games and Creations
- Topic: Collisions and images
- Replies: 8
- Views: 9258
- Wed Oct 07, 2020 6:03 pm
- Forum: Games and Creations
- Topic: Collisions and images
- Replies: 8
- Views: 9258
Collisions and images
Hello guys. I am currently recreating "Space Invaders" but I find myself in trouble with collisions. My aliens are Quads with Images and my bullets are rectangles. I tried using their x and y coordinates along with their width and height to measure if my bullets were inside the alien, but ...