Search found 174 matches

by Alexar
Wed Aug 31, 2016 1:53 am
Forum: Games and Creations
Topic: Lovely Physics Sandbox
Replies: 23
Views: 12640

Re: Lovely Physics Sandbox

Did you notice that, sometimes the objects go missing if GC is on. not completely deleted, but remains the base class, but the class inherited. for example, a revolute joint, witch has a motor, after gc, the type of the joint remains revolute, but the function setMotorSpeed is gone. that's why? in m...
by Alexar
Mon Aug 29, 2016 12:47 am
Forum: General
Topic: Generate a vector outline from an image?
Replies: 8
Views: 8570

Re: Generate a vector outline from an image?

function math.convexHull(verts) local v={} local rt={} local lastK=0 local lastX=0 local lastY=0 local lastRad=0 local v_c=#verts/2 for i=1,v_c do v[i]={} v[i].x=verts[i*2-2] v[i].y=verts[i*2-1] end local maxY=-1/0 local oK=0 for k,v in pairs(v) do if v.y>maxY then maxY=v.y oK=k end end lastK=oK la...
by Alexar
Fri Aug 26, 2016 1:55 am
Forum: Libraries and Tools
Topic: love.ulydev.com - share and play your games online!
Replies: 40
Views: 24211

Re: love.ulydev.com - share and play your games online!

SCRIPT5022: could not load memory initializer love.js.mem
love.js (24,12887)
so...what that means?
by Alexar
Thu Aug 18, 2016 1:26 am
Forum: Games and Creations
Topic: Lovely Physics Sandbox
Replies: 23
Views: 12640

Re: Lovely Physics Sandbox

hey~~ glad to see that~~ I just tested you .love, it seems that the fps is a little low ? or the movement is not very smooth.
and here is something new
by Alexar
Thu Aug 11, 2016 12:33 am
Forum: Libraries and Tools
Topic: [Update 3] CloveX - powerfull game editor and engine for LÖVE
Replies: 17
Views: 22889

Re: [Update 1] CloveX - powerfull game editor/engine for LÖVE

AntonioModer wrote: I found powerful UI library:
With a suitable GUI, I think we could implant an editor like Defold editor. (http://www.defold.com). If anyone interested in this, I think we can work together.
by Alexar
Fri Jun 17, 2016 1:28 am
Forum: Support and Development
Topic: blendMode-multiply
Replies: 4
Views: 1768

Re: blendMode-multiply

Tanner wrote: I used GIMP to remove the alpha channel and then set the newly added white background back to alpha and I think that has resulted in more like what you want.
Thank you. This really fixed that. I just used WinRAR to zip the png and then unzip it later. the error occurred. I don't know why. :x
by Alexar
Fri Jun 17, 2016 12:52 am
Forum: Support and Development
Topic: blendMode-multiply
Replies: 4
Views: 1768

Re: blendMode-multiply

pgimeno wrote:Can you post a .love that includes a test image and a sample program? And maybe state more clearly the result you want to obtain?
oh, I forgot to upload this:
test.love
(3.15 KiB) Downloaded 92 times
and here is the correct effect:
effect.png
effect.png (48.64 KiB) Viewed 1716 times
by Alexar
Thu Jun 16, 2016 8:25 am
Forum: Support and Development
Topic: blendMode-multiply
Replies: 4
Views: 1768

blendMode-multiply

Hi All,
I used an image as shadow with blend mode - multiply. but it doesn't seem to be right as below:
test.png
test.png (11.65 KiB) Viewed 1768 times
the forth is multiply. 1. alpha 2. screen 3. replace 4.multiply

Where did I make mistake? please help me , thank you~
by Alexar
Thu Jun 02, 2016 9:38 am
Forum: Support and Development
Topic: how to avoid collision missing in hardoncollider
Replies: 2
Views: 2323

Re: how to avoid collision missing in hardoncollider

Can you upload a .love that shows the error? http://www.filedropper.com/main_14 here is the .love file. containing the game that I am working on. the logic of player is in file cls/player.lua. I used 3 rectangles as aabb. and rule for collision is foot blocks foot; foot-- head no gravity. body for ...
by Alexar
Tue May 31, 2016 3:35 pm
Forum: Support and Development
Topic: how to avoid collision missing in hardoncollider
Replies: 2
Views: 2323

how to avoid collision missing in hardoncollider

I used hardoncollider in my platfomer. issue appeared when the object moves fast and it will go through the walls. also when two shapes for example two rectangles collide with only one side as the attachment refers. hardoncollider will not test any collision. so how can i fix this? please help me! 1...