Lua Player TODOs

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Zenurb
Posts: 106
Joined: Fri Sep 30, 2005 8:33 am
Location: United Kingdom
Contact:

Lua Player TODOs

Post by Zenurb »

Is there anywhere where I can find future features for Lua Player? I looked at the functions documentation and it seems pretty limited and was wondering if there was going to be any improvements in the near future / what is planned.
Proud Dvorak User
US 1.5 PSP (Original)
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

with those functions you can do quite a lot;
note: default functions for lua are also supportet (eg. math library!)
greets
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Re: Lua Player TODOs

Post by Shine »

Zenurb wrote:Is there anywhere where I can find future features for Lua Player? I looked at the functions documentation and it seems pretty limited and was wondering if there was going to be any improvements in the near future / what is planned.
There is no central place for future features, but the Lua Player core development thread lists some of it. I would like to have theses features:

- OpenGL
- 2D vector graphics library for image scaling, roatating, vector drawing etc.
- PhysicsFS filesystem
- Windows/Mac/Linux port with full support of all Lua Player functions

Currently I'm working on the OpenGL support and Laurens is working on the PhysicsFS filesystem. OpenGL delays a bit, because there are still major problems with the pspgl library, so when I have some time, perhaps I'll implement the 2D vector graphics lib first. My test with libart was that it is too slow (http://forums.ps2dev.org/viewtopic.php?t=3245), I'll try Cairo or perhaps the eyeGT lib, but I prefer open source libs.
Sprak
Posts: 7
Joined: Tue Sep 27, 2005 7:26 pm
Location: Stockholm, Sweden
Contact:

Post by Sprak »

Ooh. 2D vector graphics would be really really sweet to have!
MikeHaggar
Posts: 116
Joined: Mon Jul 18, 2005 2:20 am

Post by MikeHaggar »

Not to nag or anything, but how bout that sound.beep(), are you going to add something like that?
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

haggar, this can be easily implemented by playing a beep.wav file...
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Post by Shine »

MikeHaggar wrote:Not to nag or anything, but how bout that sound.beep(), are you going to add something like that?
I asked Nevyn to to it, because he has done all the mikmod integration, I hope he hasn't forgot it :-) It would be a general feature to play sound from selfmade Lua arrays.
nevyn
Posts: 136
Joined: Sun Jul 31, 2005 5:05 pm
Location: Sweden
Contact:

Post by nevyn »

I'm really busy nowadays, I haven't had time to write a single line of PSP code in quite a while :( My personal todo list when I finally get time again is:
- Fix the Sound.load bug (crash on invalid filename)
- Fix sound loops not working properly (being cut >32 voices)
- Playing sounds generated from a lua table
- The Mac version of LuaPlayer
- A new, great Lowser that I've been thinking about for a long time (inspiration from Columns view in Mac OS X)
- A LuaPlayer library for cooperative multitasking, clipping regions (windows), cursor, "mouse" and keyboard events, and stuff like that.
- Perhaps implement a more competent sound library, or at least re-port mikmodlib to mac and win.
- Prepare the presentation for EuroOSCON :P (which has an actual deadline :O )
Zenurb
Posts: 106
Joined: Fri Sep 30, 2005 8:33 am
Location: United Kingdom
Contact:

Re: Lua Player TODOs

Post by Zenurb »

LuMo wrote:with those functions you can do quite a lot;
note: default functions for lua are also supportet (eg. math library!)
greets
I was only looking at the PSP spesific stuff I think.
Shine wrote:
Zenurb wrote:Is there anywhere where I can find future features for Lua Player? I looked at the functions documentation and it seems pretty limited and was wondering if there was going to be any improvements in the near future / what is planned.
There is no central place for future features, but the Lua Player core development thread lists some of it. I would like to have theses features:

- OpenGL
- 2D vector graphics library for image scaling, roatating, vector drawing etc.
- PhysicsFS filesystem
- Windows/Mac/Linux port with full support of all Lua Player functions

Currently I'm working on the OpenGL support and Laurens is working on the PhysicsFS filesystem. OpenGL delays a bit, because there are still major problems with the pspgl library, so when I have some time, perhaps I'll implement the 2D vector graphics lib first. My test with libart was that it is too slow (http://forums.ps2dev.org/viewtopic.php?t=3245), I'll try Cairo or perhaps the eyeGT lib, but I prefer open source libs.
OpenGL support sounds amazing, But yes I am hoping for a good version of windows / linux Lua Player to be released soon (in SDL perhaps?)

It would be good if you guys could give us some updates regularly how everything is going, do you have a developer blog or something? =D
Proud Dvorak User
US 1.5 PSP (Original)
Koba
Posts: 59
Joined: Thu Sep 29, 2005 10:57 am

Post by Koba »

OpenGL would be my dream for LUA, all the semi transparent PNG's could have a perpose too! keep up the good work shine and nevyn, this is an incredible start to a godly programming language!
Zenurb
Posts: 106
Joined: Fri Sep 30, 2005 8:33 am
Location: United Kingdom
Contact:

Post by Zenurb »

OpenGL and some good MP3 / Mpeg support Is what I'm really looking forward to.
Proud Dvorak User
US 1.5 PSP (Original)
Koba
Posts: 59
Joined: Thu Sep 29, 2005 10:57 am

Post by Koba »

oh, i just thought of some good stuff, Image removing (might already be possible) like clickbutton.remove(), another is labels, this would be much better than screen:print() because you could create text in a label, and remove the label from the screen with ease, or change the text in a label. thats my want list (and the stuff in my post above ;))
nevyn
Posts: 136
Joined: Sun Jul 31, 2005 5:05 pm
Location: Sweden
Contact:

Post by nevyn »

Removing images from the drawn canvas? can't do that.
Removing images from memory? already done by garbage collection.

Images with labels? Easilly implemented as a new class in Lua.
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

hmm i think he did not mean images with labels
thinking of java and delphi
they got label objects
which hold some data like
x,y, font, text aso...
but also this can be implemented using lua (easier than in c++)

greets
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Zenurb
Posts: 106
Joined: Fri Sep 30, 2005 8:33 am
Location: United Kingdom
Contact:

Post by Zenurb »

Removing images from the drawn canvas is impossible, it's already written to the PSP screen. (I assume)

What you can do is stop the image from being blit on the next screen.flip()
Proud Dvorak User
US 1.5 PSP (Original)
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Re: Lua Player TODOs

Post by Shine »

Zenurb wrote:Is there anywhere where I can find future features for Lua Player?
I've collected all feature requests and known bugs at http://wiki.ps2dev.org/psp:lua_player:todos
Zenurb
Posts: 106
Joined: Fri Sep 30, 2005 8:33 am
Location: United Kingdom
Contact:

Re: Lua Player TODOs

Post by Zenurb »

Shine wrote:
Zenurb wrote:Is there anywhere where I can find future features for Lua Player?
I've collected all feature requests and known bugs at http://wiki.ps2dev.org/psp:lua_player:todos
<3
Proud Dvorak User
US 1.5 PSP (Original)
sou1
Posts: 3
Joined: Fri Sep 02, 2005 4:16 am

Post by sou1 »

I would like to have a way to change the clock speed of the PSP (e.g. 333MHz)
I would also like to be able to use stereo WAVs.
MasterQ
Posts: 7
Joined: Sat Oct 01, 2005 10:05 am

Post by MasterQ »

sou1 wrote:I would like to have a way to change the clock speed of the PSP (e.g. 333MHz)
I would also like to be able to use stereo WAVs.
it has already been stated that they will not put a clock speed changer in it because they want all Lua programs to be safe. They also won't add a boot EBOOT function either
Post Reply