Search found 75 matches

by utunnels
Fri Feb 10, 2012 6:05 am
Forum: Support and Development
Topic: Enemy behavior in a 2.5D environment discussion...
Replies: 9
Views: 1004

Re: Enemy behavior in a 2.5D environment discussion...

So, you need to design a path finding logic? I mean, if an enemy in another room hears you, but there are some sort of walls/doors between you. If so, perhaps you'll need to abstract the map into grids, or using some way points? I never successfully coded such thing, but I'm always curious how peopl...
by utunnels
Fri Feb 10, 2012 5:02 am
Forum: Support and Development
Topic: Enemy behavior in a 2.5D environment discussion...
Replies: 9
Views: 1004

Re: Enemy behavior in a 2.5D environment discussion...

I thought you were talking about 2.5D like those beat'em-up games. Instead of using ray every where, how about setup some tiles? I mean, the tiles don't have to be visible, they are used to cauculate the area where the enemy can here the target. For example, you can use some sort of simple flooding ...
by utunnels
Fri Feb 10, 2012 1:28 am
Forum: Support and Development
Topic: Finding out whats been deprecated in love 0.8.0
Replies: 12
Views: 2221

Re: Finding out whats been deprecated in love 0.8.0

Neither newFramebuffer in 0.7.2 nor newCanvas in 0.8.0 works.
by utunnels
Fri Feb 10, 2012 12:36 am
Forum: Support and Development
Topic: Finding out whats been deprecated in love 0.8.0
Replies: 12
Views: 2221

Re: Finding out whats been deprecated in love 0.8.0

It is my office PC so I'm not really panic. Actually it doesn't run those pixel effect demos (I only tried a few of them).
:P Although I think I should avoid canvas or pixel effect in my project unless I hit a situation that I must use them.
by utunnels
Thu Feb 09, 2012 2:21 am
Forum: Support and Development
Topic: Finding out whats been deprecated in love 0.8.0
Replies: 12
Views: 2221

Re: Finding out whats been deprecated in love 0.8.0

No, it doesn't work. ------ Edit* Video Card Vendor: Intel Renderer: Intel Bear Lake B OpenGL Version: 1.4.0 - Build 8.14.10.1930 GLU Version: 1.2.2.0 Microsoft Corporation Current pixel format: 6 Pixel Formats supported by this video card ------------------------------------------ # Type Flags Buf ...
by utunnels
Thu Feb 09, 2012 1:46 am
Forum: Support and Development
Topic: Finding out whats been deprecated in love 0.8.0
Replies: 12
Views: 2221

Re: Finding out whats been deprecated in love 0.8.0

Error: main.lua:28: Cannot create canvas: Not supported by your OpenGL implementation. stack traceback: [C]: in function 'newCanvas' main.lua:28: in function 'load' [string "boot.lua"]:375: in function <[string "boot.lua"]:373> [C]: in function 'xpcall' Here's the line: canvas = love.graphics.newCa...
by utunnels
Thu Feb 09, 2012 1:32 am
Forum: Support and Development
Topic: Can someone helps me with blend mode?
Replies: 3
Views: 1467

Re: Can someone helps me with blend mode?

With A = 1 - sA, this is equivalent to the "premultiplied" blend mode coming in LÖVE 0.8. The premultiplied blend equation is: R = srcR + (1 - srcA) * dstR There is no (easy) other way to set A to a custom value. Not exactly, the original equation (you may notice, I'm trying to port something) is b...
by utunnels
Thu Feb 09, 2012 12:10 am
Forum: Support and Development
Topic: love.timer.getFPS() isn't working fine (I think)
Replies: 6
Views: 894

Re: love.timer.getFPS() isn't working fine (I think)

The fps changed between 150 and 160, occasionally it dropped to around 60, when I tested a minute ago. But sometimes the game lagged a lot (as I saw the the character 'jumped' a lot). I think it has something to do with my PC.
by utunnels
Wed Feb 08, 2012 7:47 am
Forum: Support and Development
Topic: Can someone helps me with blend mode?
Replies: 3
Views: 1467

Can someone helps me with blend mode?

I need some special blend effects, but I'm not sure how to write. 1. Additive with alpha It works like this: R = MIN(dR + sR*A, 255) G = MIN(dG + sG*A, 255) B = MIN(dB + sB*A, 255) In which A is a custom alpha factor. 2. Color additive I don't know how to call this. Basically it uses additive blend ...
by utunnels
Wed Feb 08, 2012 6:07 am
Forum: Support and Development
Topic: Share a Shader!
Replies: 321
Views: 158861

Re: Share a Shader!

Intel (R) G33/G31 Express Chipset Family