So I've been having issues getting the bullets to show. Idk I'm going crazy... Any ideas?
Included as a .love and the source.
Bullet Generation
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Bullet Generation
I'm not 100% sure if this is what you have a problem with but as far as I can see you never call createBullets()
adding:
let me create (and draw) them although they still not behave as they should (I believe this is because they slide instead of cross, please check out the bump docs for that)
adding:
Code: Select all
function love.mousepressed()
createBullets() -- actually it creates just one, shouldn't it be renamed to createBullet() ?
end
[Solved] Bullet Generation
Thanks that got it working! Something stupid of course... I see what you mean though it's still messed up, I'm looking into that next. My intended plan is to turn up the bullet speed and have them move at a constant velocity until they hit something, then remove them.
Who is online
Users browsing this forum: No registered users and 207 guests