Search found 67 matches

by IceQB
Sun Sep 07, 2014 3:47 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412303

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

I noticed that my shader works properly with rendered single image, but when i put it to the game then doing strange things like on screenshot.
Shader changes sprites, not that what is rendered.
by IceQB
Sun Sep 07, 2014 12:59 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412303

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

Hi all. Im writing my first lighting shader but it doesnt work properly. Where i made mistake? position_x = 0.5 --if i try to use player.x value then screes goes black position_y = 0.5 extern float position_x; extern float position_y; vec4 effect( vec4 color, Image texture, vec2 texture_coords, vec2...
by IceQB
Thu Aug 28, 2014 12:36 am
Forum: Libraries and Tools
Topic: Table editor - numTable 1.5
Replies: 18
Views: 11320

Re: Table editor - numTable 1.3

We cant use '0' as a tile value because i dont consider this (generally I dont use '0' as tile value), changing this should take a while and i will consider this in the future versions, same as using signs (!,@,#,$,%,^,& etc.) but most important is performance and fps. Error is probably caused b...
by IceQB
Mon Aug 25, 2014 9:46 pm
Forum: Support and Development
Topic: 2D lighting.
Replies: 2
Views: 1954

2D lighting.

Hi all, i try to make tile based lighting without shaders (shaders would be good choice but i dont use something what i dont understand). So i have code: function shadow_update(dt) local mouse = love.mouse local mx,my = mouse.getPosition() for y = 1, #map do local xy = map[y] for x = 1, #xy do local...
by IceQB
Mon Aug 25, 2014 4:01 pm
Forum: Libraries and Tools
Topic: Table editor - numTable 1.5
Replies: 18
Views: 11320

Re: Table editor - numTable 1.3

My fault, I packed the .love file wrong.
by IceQB
Mon Aug 25, 2014 1:42 am
Forum: Libraries and Tools
Topic: Table editor - numTable 1.5
Replies: 18
Views: 11320

Table editor - numTable 1.5

numTable 1.5 is table editor with 9 output formats. Ctrl = move the camera Ctrl+N = New Ctrl+S = Save Ctrl+D = Open containing folder Alt - Color Picker Left mouse button = Modifying a single cell Right mouse button = Fast cell modifying Mouse wheel = Select tile number Version 1.5: -fixes a lot of ...
by IceQB
Sun Aug 24, 2014 11:40 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412303

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

Thanks Robin, It is it what I was looking for.
by IceQB
Sat Aug 23, 2014 8:10 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412303

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

I have little question, how to make something work only for all numbers more from n?
For example:

Code: Select all

egg = {1,2.3.4,5}
n = 2

--egg 3,4 and 5 do /something/
by IceQB
Fri Aug 22, 2014 2:17 pm
Forum: Support and Development
Topic: Where i must put this in code?
Replies: 2
Views: 1872

Re: Where i must put this in code?

Thanks, now everything works!
by IceQB
Fri Aug 22, 2014 1:45 pm
Forum: Support and Development
Topic: Where i must put this in code?
Replies: 2
Views: 1872

Where i must put this in code?

HI all First time I have weird problem like that. so i have code if item[1] == used then min_items = min_items + 1 eq_selected = eq_selected + 1 item_pos = item_pos - 200 end Problem is that, if i put this in update then commands repeats in infinity, but when i put this in load its not work... soo w...