Search found 107 matches
- Wed Sep 16, 2020 12:52 pm
- Forum: General
- Topic: Love 2d showing black screen
- Replies: 4
- Views: 6253
Re: Love 2d showing black screen
Honestly I don't see anything wrong. What about this very little example? It should draw red and blue rectangle with white text. function love.draw() love.graphics.setColor(1, 0, 0) love.graphics.rectangle("fill", 10, 10, 20, 20) love.graphics.setColor(1, 1, 1) love.graphics.print("In...
- Sun Sep 13, 2020 4:33 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1005548
Re: Avatars: OBEY!
Animated OBEY! The first of its kind probably.
- Sun Sep 13, 2020 4:05 pm
- Forum: Support and Development
- Topic: Accessing device camera?
- Replies: 2
- Views: 6419
Re: Accessing device camera?
These kind of thing entriely depends on platform. In mobile, if user didn't grant you Camera permission then there's nothing you can do.
- Thu Sep 10, 2020 3:42 pm
- Forum: General
- Topic: export video from love2d
- Replies: 7
- Views: 29002
Re: export video from love2d
Gotta promote my internal-use library: use ls2x . local ls2x = require("ls2x") local ffi = require("ffi") local function supply(imageData) ls2x.libav.supplyEncoder(ffi.cast("uint8_t*", imageData:getFFIPointer())) end function love.load() ls2x.libav.startEncodingSession(...
- Mon Sep 07, 2020 4:19 am
- Forum: Support and Development
- Topic: No such file or directory
- Replies: 9
- Views: 9371
Re: No such file or directory
The short is: 1. Using "./" means relative path, which relative to current working directory (usually where love.exe reside) 2. You shouldn't mix Lua "io" and LOVE "love.filesystem". Use Lua "io" if you want to open file anywhere (which leads to portability is...
- Sat Aug 29, 2020 10:48 am
- Forum: Support and Development
- Topic: quit("restart") message passing
- Replies: 5
- Views: 4871
Re: quit("restart") message passing
Note: It's not possible in 11.3 without using temporary file. The naming channel method I described is fixed in 11.3.
For command-line altering, no.
For command-line altering, no.
- Fri Aug 14, 2020 4:01 pm
- Forum: Support and Development
- Topic: quit("restart") message passing
- Replies: 5
- Views: 4871
Re: quit("restart") message passing
It's sort of possible in pre-11.3 by exploiting bug in named Channel s but it's patched out. However, the development branch which is supposedly to be next major version of LOVE already have love.event.restart(somevalue) and there will be love.restart variable that contain the previously passed value.
- Thu Aug 13, 2020 11:02 am
- Forum: Support and Development
- Topic: Saving the state of a random seed generator
- Replies: 8
- Views: 3423
Re: Saving the state of a random seed generator
If we're gonna change the RNG algorithm in next major release (slime said if he's gonna rework the LOVE RNG, he'll use PCG), maybe we'll allow user to select the RNG algorithm and "pcg" is default (in this case) and "xorshift" to use the older RNG.
- Tue Aug 11, 2020 11:08 am
- Forum: General
- Topic: Integrated Developement Environment
- Replies: 7
- Views: 6871
Re: Integrated Developement Environment
I wonder if you can make the source code available to public.
- Tue Aug 11, 2020 11:06 am
- Forum: Support and Development
- Topic: [Android] Status bar becomes visible when t.window.usedpiscale = false
- Replies: 3
- Views: 2475
Re: [Android] Status bar becomes visible when t.window.usedpiscale = false
It's some kind of race condition. The problem with status bar obscuring the view is supposedly be fixed in https://github.com/love2d/love-android/ ... 1ed593e261
For pgimeno's case, if you have video explaining your issue better, I may able to look it up.
For pgimeno's case, if you have video explaining your issue better, I may able to look it up.