Search found 4 matches

by Creepercats
Wed Jan 01, 2014 11:36 am
Forum: Support and Development
Topic: Bullet code not working.
Replies: 4
Views: 1859

Re: Bullet code not working.

MadByte wrote:Hi,

you shouldn't define the image itself inside the love.draw loop. Instead put it to the "bullet_speed" var and then use love.graphics.draw(img, x, y) inside the draw function.
Thanks for your reply many i get an example i'm not following 100% if you can that would be great thanks :)
by Creepercats
Wed Jan 01, 2014 9:22 am
Forum: Support and Development
Topic: Bullet code not working.
Replies: 4
Views: 1859

Bullet code not working.

Hello i tried to make my character shoot a pic that looks like laser here is the code bullet_speed = 50 bullet ={} function bullet.spawn(x,y,dir) table.insert(bullet,{width = 50, height = 50, x = x, y = y, dir = dir}) end function bullet.draw() for i,v in ipairs(bullet) do love.graphics.newImage(&qu...
by Creepercats
Wed Jan 01, 2014 4:00 am
Forum: Support and Development
Topic: conf.lua not working?
Replies: 4
Views: 3122

Its all good

It's all good guys i fixed it thanks for all the replies :)
by Creepercats
Tue Dec 31, 2013 10:33 am
Forum: Support and Development
Topic: conf.lua not working?
Replies: 4
Views: 3122

conf.lua not working?

So when i tried making my conf.lua and use it wit my main.lua it did nothing

any answers to that


~Creepercats Thanks :)