Search found 67 matches

by IceQB
Tue Aug 19, 2014 1:25 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412209

Re: "Questions that don't deserve their own thread" thread

I have othert question, why do all tiles change color at the same time(not only this in radius and point)? l = {} l.vis = 255 l.radius = 5 l.point = l.point function getDistance(x1,y1, x2,y2) local distx = x1 - x2 local disty = y1 - y2 local squared = (distx * distx) + (disty * disty) return math.sq...
by IceQB
Tue Aug 19, 2014 1:06 pm
Forum: Support and Development
Topic: Please help with the zombie spawning ;-;
Replies: 4
Views: 3264

Re: Please help with the zombie spawning ;-;

Maybe you dont draw zombie? Code looks good.
by IceQB
Mon Aug 18, 2014 10:17 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412209

Re: "Questions that don't deserve their own thread" thread

Problem is this: http://images69.fotosik.pl/94/e907f97295d63d0egen.png Code with images: local light = {} table.insert(light, {200, 200}) table.insert(light, {400,400}) local function myStencil() local circleradius = 100 love.graphics.setColor(255, 255, 255, 235) for i, xy in pairs(light) do -- love...
by IceQB
Mon Aug 18, 2014 2:41 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412209

Re: "Questions that don't deserve their own thread" thread

Hi I making simple "shadow". local light = {} table.insert(light, {200, 200}) table.insert(light, {400,400}) local function myStencil() local circleradius = 100 love.graphics.setColor(255, 255, 255, 235) for i, xy in pairs(light) do love.graphics.circle("fill", xy[1], xy[2], circ...
by IceQB
Sun Aug 03, 2014 3:11 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412209

Re: "Questions that don't deserve their own thread" thread

Code: Select all

cam_speed_minus = 17 - cam_speed_minus
Thanks, its very simple!
by IceQB
Sun Aug 03, 2014 3:00 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412209

Re: "Questions that don't deserve their own thread" thread

Hi guys. I have a very, very long code: if cam_speed_minus >= 16 then cam_speed_minus = 1 elseif cam_speed_minus >= 15 then cam_speed_minus = 2 elseif cam_speed_minus >= 14 then cam_speed_minus = 3 elseif cam_speed_minus >= 13 then cam_speed_minus = 4 elseif cam_speed_minus >= 12 then cam_speed_minu...
by IceQB
Tue Jun 17, 2014 9:33 pm
Forum: Support and Development
Topic: I/O check directory
Replies: 1
Views: 1224

I/O check directory

Hi I try check exist of directory called "Output" but program always give me this same boolean (true). I checked different ways to do that but always is the same effect. It should work, i dont know why it doesn't work in Love2D. if io.open('/Output', 'r') ~= true then print('Directory not ...
by IceQB
Thu May 29, 2014 7:54 pm
Forum: Support and Development
Topic: Windows menu bar
Replies: 2
Views: 1657

Re: Windows menu bar

Thanks for reply : )
by IceQB
Thu May 29, 2014 4:56 pm
Forum: Support and Development
Topic: Windows menu bar
Replies: 2
Views: 1657

Windows menu bar

It is possible in Love2D to make windows menu bar?
Image
by IceQB
Sun May 25, 2014 7:08 pm
Forum: Support and Development
Topic: Editing Tables
Replies: 11
Views: 4112

Re: Editing Tables

My program almost works but have one bug and i dont know where I made a mistake. Bug is beetween Update amd Draw. I think loop stuck in draw in for k = 1, k do for v = 1, v do if valuenew == 1 then value2[v] = selvalue value[tilex[k]] = value2[v] end end end And thanks HugoBDesigner! *control: arrow...