Search found 2 matches
- Sun May 20, 2018 11:18 pm
- Forum: Support and Development
- Topic: Bullets gain speed and dissapear when another is shot
- Replies: 2
- Views: 2179
Re: Bullets gain speed and dissapear when another is shot
Ah yes! Now its working properly. Although there was something else i had to change. for i,m in ipairs(missiles) do love.graphics.draw(sprites.missile, missile.x, missile.y, nil, nil, nil, sprites.missile:getWidth()/2, sprites.missile:getHeight() /2) end Correct code below for i,m in ipairs(missiles...
- Sun May 20, 2018 9:13 pm
- Forum: Support and Development
- Topic: Bullets gain speed and dissapear when another is shot
- Replies: 2
- Views: 2179
Bullets gain speed and dissapear when another is shot
Hi there! I have just started learning Lua and Love2D and i have been following some tutorials and also trying to do somethings myself (that's why sometimes it goes wrong). I'm doing this simple 2D shooter where a little space ship just shoots missiles. Everything works fine except: - When I shoot t...