QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Lua Player .20 released!

This is a discussion on Lua Player .20 released! within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Lua Player .20 has been released! new stuff: v0.20 ========== - updated for gcc 4.1 and Lua 5.1. Some things ...

Reply
 
LinkBack Thread Tools
Old 06-03-2006, 06:14 PM   #1

Developer
 
cools's Avatar
 
Join Date: Aug 2005
Posts: 472
Trader Feedback: 0
Default Lua Player .20 released!

Lua Player .20 has been released!

new stuff:
v0.20
==========
- updated for gcc 4.1 and Lua 5.1. Some things you need to change for 5.1:
- change table iteration code:
"for i, value in someTable do" to
"for i, value in ipairs(someTable) do"
(but use "pairs" for tables like "t={foo=bar, foobar=99}"
and "ipairs" for tables like "t={foo, bar}")
- it's pure Lua 5.1: no binary operators and double as number type
(e.g. now you can use one number for storing IP addresses)
- Sound.load doesn't crash any more on invalid filenames
- fixed problems with daylight saving time
- Font:getTextSize fixed. Test case:
proportional = Font.createProportional()
proportional:setPixelSize s(0,8)
test = proportional:getTextSize( 'some text')
assert(test.width == 39)
assert(test.height == 6)
- blit operation from screen to image works now, e.g.:
screenrint(10, 10, "hello", Color.new(255,255,255))
image = Image.createEmpty(480, 272)
image:blit(0, 0, screen, 480, 272, 480, 272, true)
and now you have an "image" with the text "hello"
- TTF font plotting to images now sets the alpha value to opaque, so
you can write e.g. something like this for buffering texts in images:
image = Image.createEmpty(400, 200)
proportional = Font.createProportional()
proportional:setPixelSize s(0, 16)
image:fontPrint(proportio nal, 0, 20, 'Hello', Color.new(0, 255, 0))
screen:blit(0, 0, image)
screen:blit(3, 3, image)
- new function Image.loadFromMemory for loading images from memory:
jpegFile = io.open("test.jpg", "rb")
data = jpegFile:read("*a")
jpegFile:close()
image = Image.loadFromMemory(data )
PNG and JPEG is supported and autodetected
- image-to-image blitting now uses alpha full blending [Callum Bethune]
- System.rename(oldName, newName) for renaming files and directories

get it from www.luaplayer.org
__________________

PSP Monopoly | PSP Tic Tac Toe | PSP eMail and SMS | Drag Mini | Block Dude
http://www.cools.biaklan.com
Currently Working on ?????

Quote of the Week
cools is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2006, 06:22 PM   #2

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

sweet!!! this is gr8! is it compatible with 2.xx?
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2006, 06:31 PM   #3

Developer
 
cools's Avatar
 
Join Date: Aug 2005
Posts: 472
Trader Feedback: 0
Default

its still using prx's so i doubt it...
__________________

PSP Monopoly | PSP Tic Tac Toe | PSP eMail and SMS | Drag Mini | Block Dude
http://www.cools.biaklan.com
Currently Working on ?????

Quote of the Week
cools is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2006, 06:35 PM   #4
 

 
Join Date: Mar 2006
Location: LOLWUT
Posts: 2,625
Trader Feedback: 1
Default

YAY!!! I love luaplayer, (since I code in lua)
PSPduh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2006, 06:35 PM   #5
TheMarioKarters
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Bronx*
sweet!!! this is gr8! is it compatible with 2.xx?
I doubt it.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2006, 06:43 PM   #6

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

Quote:
Originally Posted by TheMarioKarters
I doubt it.
Hey TMK, psphax0r says that your spamming

And I wonder why it is taking the front page soo long....I sent it to them at 7....
__________________
牧来栠摩琠敨映汩獥
PSN: youresam
From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2006, 06:49 PM   #7
TheMarioKarters
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by youresam
Hey TMK, psphax0r says that your spamming

And I wonder why it is taking the front page soo long....I sent it to them at 7....
Wait eh?
What are you talking about?
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2006, 06:56 PM   #8
 
PopcOrn DeVil's Avatar
 
Join Date: Jan 2006
Location: Western Australia
Posts: 1,044
Trader Feedback: 0
Default

It'll be compatible with 2.XX if you get the modchip .
PopcOrn DeVil is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2006, 06:58 PM   #9

OMFG
 
Slasher's Avatar
 
Join Date: Jul 2005
Location: Toronto
Posts: 2,816
Trader Feedback: 0
Default

Quote:
Originally Posted by TheMarioKarters
Wait eh?
What are you talking about?
you proved hax0rs point - just another post to add onto your ridiculously high post count

What youresam said was fairly easy to understand. What was the point of asking "What?" other than to squeeze an extra post in.

Last edited by Slasher; 06-03-2006 at 07:02 PM..
Slasher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2006, 02:16 AM   #10

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

B10tch s1@pp3d mmmmmmmmmmmmmmmmmkay..... .

lol, anyway, i like new LuaPlayers, and since there apps adn games from them are usually open-source, i can see different technques and aspects of coding, but not having a Computer LUAplayer as same version ruins it for me...
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2006, 02:29 AM   #11
Enter Custom Title
 
Join Date: Feb 2006
Location: National Front Disco
Posts: 13,063
Trader Feedback: 0
Default

Cool, I was having trouble with the old one's, maybe this one will work better!
Moose is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2006, 05:15 AM   #12
 
bossmanuk's Avatar
 
Join Date: Oct 2005
Location: England
Posts: 1,970
Trader Feedback: 0
Default

Judging by the changelog, this one should be a lot more stable.

Thanks for bearing with us guys, I'm not sure why this hasn't been front-paged yet. I was away yesterday at a football/soccer match - England v Jamaica. Quite eventful, England won 6-0!

I've put it through now, should be on the front page soon.
__________________
[IMG]http://i26.tinypic.com/minfc3.jpg[/IMG]
bossmanuk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
lua , player , released

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 06:31 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us