Search found 11 matches

by ema
Fri Jan 27, 2006 12:17 am
Forum: PSP Lua Player Development
Topic: Evaluate function?
Replies: 5
Views: 2396

hi,

Code: Select all

expression = "5+6-2"

script = "return " .. expression -- convert to LUA script
func, err = loadstring(script)
if err then
  -- syntax error
else
  result = func()    -- now result == 9
end

will work.
by ema
Sun Jan 22, 2006 1:12 am
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

PSP Lua picked up TTLDE and mirrored it.
You can download TTLDE from there.

http://psplua.com/modules/mydownloads/

and how about this?
http://www.geocities.com/lua_ema/
by ema
Sat Jan 21, 2006 6:23 pm
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

I've released new version.
OSK selector became a plugin and can add OSK services easily.

For example, I added game-like OSK.
In this OSK, characters are selected by D-pad and
inputted by X button. (Backspace is Square, Enter is Triangle)
not necessary to hold R button.

Thank you for using.

ema
by ema
Sat Jan 21, 2006 5:26 pm
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

is there any way for me to easily use your functions? something like: in_text = ttlde:getInput() or something similar? if there isn't, what advice would you give me for creating one? For your purpose, my "TwinTail lesson" is helpful. The most important part is line...
by ema
Wed Jan 11, 2006 11:03 am
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

You are right. I know twintail is not for everyone. This is optimized for speed and not comfortable. so now I'm adding OSK selector to TTLDE. ------- hold R + up-down : select input method(defaulted to last selection) release R : decide method and enter OSK service ------- from the next version, I m...
by ema
Sat Dec 24, 2005 1:44 pm
Forum: PSP Lua Player Development
Topic: Lua Player version 0.15
Replies: 18
Views: 11174

LuaPlayer is a great work! I'm enjoying more than playing any games :) Now, I have a suggestion for 3D services. How about dividing vertex prepareing from Gum.drawArray? I've added a small user data for storing prepared vertices, drawing 3D objects became extremely faster. (it could draw over 12000 ...
by ema
Thu Dec 22, 2005 3:03 am
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

Thank you for using! I'm very interested in character input method on PSP. I do believe that it could be a bit faster with less simultaneous button holds. Have you tried another mapping? (R trigger+Select to switch.) Most common letters are mapped to one-stroke area. If you've tested the mapping and...
by ema
Wed Dec 21, 2005 2:50 am
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

I optimized font handling and TTLDE became faster than 1.6.
Rest of CPU power was assigned to handling skin.

Now planning:
ClearType for PSP (just modify ascii.png)
by ema
Fri Dec 16, 2005 3:53 am
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

I wrote service for font caching, so editor became faster. TrueType fonts will be supported on 1.8 or later. the number i got at running the benchmark is 66-67, but your page shows the double. Why? Win-based Emu? Yes. I took some screenshots with LuaPlayer windows version. I did not find the "B...
by ema
Wed Dec 14, 2005 2:40 am
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

Keyword-highlighting makes editor slow.

Currently bottleneck is Editor:Draw() in "editctrl.lc".
Do you have any ideas for optimizing?
by ema
Wed Dec 07, 2005 3:20 am
Forum: PSP Lua Player Development
Topic: TTLDE V2.1 - Text editor written by LUA
Replies: 43
Views: 24414

TTLDE V2.1 - Text editor written by LUA

TwinTail LDE Version 2.1
is a text editor for LUA scripts written by LUA.

Changes:
- Added OSK selector
- Added 'Select and Decide' style OSK (beta)
- Modified file selector

download available at:
http://geocities.com/lua_ema/

screenshot
Image