Search found 15 matches

by padicao2010
Tue Jan 12, 2016 3:26 am
Forum: Libraries and Tools
Topic: LoveCoroutine: a simple tool based on coroutine for LÖVE
Replies: 0
Views: 2217

LoveCoroutine: a simple tool based on coroutine for LÖVE

Recently, I do some practise on lua.coroutine and implement LoveCoroutine . It is a simple tool based on coroutine and targets at implementing a serial of actions in a straightforward and human-readable way. for example: local lc = require("LoveCoroutine")() lc:run(function() A:moveDown() ...
by padicao2010
Thu Jan 07, 2016 1:24 pm
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 82
Views: 112562

Re: [Lib] SUIT - Simple User Interface Toolkit

vrld wrote:Finally, you can also ignore the real mouse completely and simulate mouse movement presses with suit.updateMouse(x,y,button_down).
Function updateMouse needs position (x,y), which may not be calculated comfortably.

I want to tab switch between different UI components.

Have any good idea?
by padicao2010
Mon Jan 04, 2016 2:45 am
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 82
Views: 112562

Re: [Lib] SUIT - Simple User Interface Toolkit

Excellent!

SUIT need 0.10?

How about "Hold Backspace to delete multiple characters"?
by padicao2010
Thu Dec 31, 2015 11:07 am
Forum: Support and Development
Topic: How to show Android keyboard?
Replies: 5
Views: 7430

Re: How to show Android keyboard?

bobbyjones wrote:Love.keyboard.setTextInput iirc
Yes, that is it. Thanks.

It seems only it accepts English keyboard. I can't switch it.
by padicao2010
Thu Dec 31, 2015 8:32 am
Forum: Support and Development
Topic: How to show Android keyboard?
Replies: 5
Views: 7430

How to show Android keyboard?

How to activate the virtual keyboard?

I haven't find the API in wiki. Is is possible?
by padicao2010
Tue Nov 03, 2015 11:37 am
Forum: Libraries and Tools
Topic: push - a resolution-handling library
Replies: 80
Views: 162888

Re: push: a resolution-handling library

From looking at the code, i did not see it even using love.resize anywhere, and even if it would, it would only do a few calculations with push:resize... so i don't see the problem. Here, line 106 function love.resize(w, h) return push:resize(w, h) end Actually, it's not a big problem. I just comme...
by padicao2010
Tue Nov 03, 2015 9:37 am
Forum: Libraries and Tools
Topic: push - a resolution-handling library
Replies: 80
Views: 162888

Re: push: a resolution-handling library

Great!

Two suggestions:
1 Add LICENSE
2 Not change love.resize so roughly
by padicao2010
Sun Nov 01, 2015 3:37 am
Forum: General
Topic: Understanding luajit
Replies: 6
Views: 5152

Re: Understanding luajit

Not compile to a lua file, but compile to Raw bytecode file and can be used as a lua file. raw or any other extension — Raw bytecode file (portable). Named without .lua, OK. .c : A c source file, can be open with text editor. The bytecode is shown as a char *. Maybe used in C. .h : Almost the same a...
by padicao2010
Fri Oct 30, 2015 11:25 am
Forum: General
Topic: Understanding luajit
Replies: 6
Views: 5152

Re: Understanding luajit

Two directories, A and B.

Code: Select all

luajit -b A/some.lua B/some.lua
Following is the same:

Code: Select all

require("some")
Run with different directory. Before

Code: Select all

love A
Now

Code: Select all

love B
by padicao2010
Wed Oct 28, 2015 8:44 am
Forum: Libraries and Tools
Topic: cargo, a small library for managing assets
Replies: 6
Views: 5192

Re: cargo, a small library for managing assets

Does it release unused memory assets? Or it wiil keep all loaded assets in memory until the game exit?