Search found 21 matches

by AndreyMust19
Tue Mar 29, 2016 5:00 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 224
Views: 509790

Re: Love.js - A Direct Emscripten Port

Hello.

I made a web-build with this port, but i have stuck in "Downloading..." screen, with spinning circle progress bar.
Before that i have successful runs sometimes almost empty project, but is loading too long.

What a problem?

Link for test-build
by AndreyMust19
Tue Dec 16, 2014 3:11 pm
Forum: Support and Development
Topic: How to rename dir / move file?
Replies: 20
Views: 11592

Re: How to rename dir / move file?

Yes,

Code: Select all

os.rename(love.filesystem.getSaveDirectory()..'/'..'hello', love.filesystem.getSaveDirectory()..'/'..'hello2')
is working. Left check that on Windows.
In any case i have

Code: Select all

love.system.getOS()
by AndreyMust19
Tue Dec 16, 2014 4:28 am
Forum: Support and Development
Topic: How to rename dir / move file?
Replies: 20
Views: 11592

Re: How to rename dir / move file?

slime
os.rename
Thx, i try it. I think need close all opened files in that directory before?
by AndreyMust19
Sun Dec 14, 2014 8:20 am
Forum: Support and Development
Topic: How to rename dir / move file?
Replies: 20
Views: 11592

How to rename dir / move file?

Not exist this functions in API. Just creating new directory and recursive recreating all files and directories, then delete old folder?
by AndreyMust19
Sun Oct 12, 2014 7:32 pm
Forum: Support and Development
Topic: Love2d GLSL Shaders
Replies: 51
Views: 27937

Re: Love2d GLSL Shaders

I need pixel shader for that effect. Yes, is about 2d lighting.
All "lighting engines" for Love2D what i found - using CPU for calculating shapes and creating stencil, and GPU - only for drawing. I think, may use shaders for calculation of shapes?
by AndreyMust19
Sat Oct 11, 2014 3:30 pm
Forum: Support and Development
Topic: Love2d GLSL Shaders
Replies: 51
Views: 27937

Re: Love2d GLSL Shaders

Hello again!

How with shader transform from:
Image
to this:
Image

I think, need drawing of image down? How it make at GLSL?
by AndreyMust19
Sat Sep 20, 2014 10:23 am
Forum: Support and Development
Topic: Separation of draw-loop and update-loop threads. Possible?
Replies: 6
Views: 3266

Separation of draw-loop and update-loop threads. Possible?

If us running in same thread, then drawing may slows updating and reversal. Love2d have threads, but is isolated threads, no shared environment, with exchanging by messages. Is possible separate loops to updating and drawing same objects from different threads, to optimal execution on multi-core sys...
by AndreyMust19
Sun Aug 03, 2014 11:45 am
Forum: Games and Creations
Topic: SpaceDestroyer
Replies: 1
Views: 2363

SpaceDestroyer

Hello all lovers! It's modest top-down shooter in space, like Asteroids on Atari: * Loop-cycled screen * Meteors, spaceships and comets * Random-generated background * English and Russian language Screenshots http://dl.dropboxusercontent.com/u/24912219/Love2D/SpaceDestroyer/pre-release/new_screen01....
by AndreyMust19
Mon Jul 28, 2014 5:41 pm
Forum: Support and Development
Topic: Love2d GLSL Shaders
Replies: 51
Views: 27937

Re: Love2d GLSL Shaders

Thx all for helping. Anyway game almost ready.
by AndreyMust19
Sun Jul 27, 2014 8:38 am
Forum: Support and Development
Topic: Love2d GLSL Shaders
Replies: 51
Views: 27937

Re: Love2d GLSL Shaders

Create new project. Draw-code: if settings.effect ~= 0 then love.graphics.setPixelEffect(effects[settings.effect]) end love.graphics.draw(image); love.graphics.setColor(255,255,255,255) love.graphics.rectangle('fill',0,0,200,100) love.graphics.setPixelEffect() NO SHADER http://sd.uploads.ru/pPeNc.pn...