Search found 38 matches

by liyonglove2d
Sun Apr 05, 2015 2:52 pm
Forum: Support and Development
Topic: Demo is here, and I want your help!!
Replies: 4
Views: 3564

Demo is here, and I want your help!!

moved to : http://love2d.org/forums/viewtopic.php?f=5&t=79990 The Great Miner is the game I'm working on, and here's a snap: game.png .LOVE FILE (I cannot upload the file by 'Upload attachment', so...) http://pan.baidu.com/s/1i35pVqX http://pan.baidu.com/s/1mgqqGVA <-- fix some known bugs I'm h...
by liyonglove2d
Sun Apr 05, 2015 2:10 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 406
Views: 353390

Re: Löve Frames - A GUI Library

schmirsich wrote:Your website and subsequently the documentation seems to be offline. I presume you are still continuing the project?
Hope this to be fixed soon ;) doc is really important~
by liyonglove2d
Sat Apr 04, 2015 1:23 pm
Forum: Support and Development
Topic: How to scale a particle system?
Replies: 3
Views: 1099

Re: How to scale a particle system?

Thanks, both good ideas.
by liyonglove2d
Sat Apr 04, 2015 6:19 am
Forum: Support and Development
Topic: How to scale a particle system?
Replies: 3
Views: 1099

How to scale a particle system?

Snap of the game:
fire.png
fire.png (111.77 KiB) Viewed 1099 times
The campfire is simulated by a particle system, and I want the flame size to decrease over time. But I don't know how to scale the particle system.
I know how to achieve this by canvas. But I'm wondering whether there's a direct way.

THANKS~ :)
by liyonglove2d
Thu Apr 02, 2015 3:06 am
Forum: Games and Creations
Topic: Somebody helps me out with the performance problem?
Replies: 20
Views: 9960

Re: Somebody helps me out with the performance problem?

Hi there, it's me again. liyonglove2d, if you accept, two advices: 1. If you ever plan to translate your game onto other languages, or give that chance to others, you'd better organize all text messages in separate files as variables. This way people who will translate your game will not have to de...
by liyonglove2d
Wed Apr 01, 2015 3:50 pm
Forum: Support and Development
Topic: Terrain transition problem, HELP!
Replies: 9
Views: 2686

Re: Terrain transition problem, HELP!

Another bug is fixed at the same time....
by liyonglove2d
Wed Apr 01, 2015 3:32 pm
Forum: Support and Development
Topic: Terrain transition problem, HELP!
Replies: 9
Views: 2686

Re: Terrain transition problem, HELP!

That's so great, arampl! Thank u very much!
by liyonglove2d
Wed Apr 01, 2015 1:42 pm
Forum: Support and Development
Topic: Terrain transition problem, HELP!
Replies: 9
Views: 2686

Re: Terrain transition problem, HELP!

data_main/com/world_component/grids.lua genCanvas() generates a canvas during initialization or when any tile in the canvas is updated. drawGridLazy() draws all the visible canvases to another canvas. the hierarchy to draw the ground: ondraw() drawGridLazy() getCanvas() genCanvas() [draw canvases he...
by liyonglove2d
Wed Apr 01, 2015 1:16 pm
Forum: Support and Development
Topic: Terrain transition problem, HELP!
Replies: 9
Views: 2686

Re: Terrain transition problem, HELP!

function t:draw() canvas:clear(<framebuffer background color>) --for example canvas:clear(0, 100, 0) canvas:renderTo(function() img:draw(0, 0) end) love.graphics.draw(canvas, 100, 20) img:draw(150, 20) end When you do canvas:clear() you set background color of canvas to 0,0,0,0 then blend image wit...
by liyonglove2d
Wed Apr 01, 2015 11:46 am
Forum: Support and Development
Topic: Terrain transition problem, HELP!
Replies: 9
Views: 2686

Re: Terrain transition problem, HELP!

To find the reason, I write a little program, and I get similar phenomenon. Who can explain this to me :death: Hehe.png Here's the code snippet function t:draw() canvas:clear() canvas:renderTo(function() img:draw(0, 0) end) love.graphics.draw(canvas, 100, 20) img:draw(150, 20) end WHY??