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 ...
-
06-03-2006, 05:14 PM #1
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.:
screen
rint(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
-
06-03-2006, 05:22 PM #2sceKernelExitGame();
- Join Date
- Jan 2006
- Location
- New York
- Posts
- 3,126
- QJ Pts
- 19,955
- Level
- 89
- Downloads
- 0
- Uploads
- 0
sweet!!! this is gr8! is it compatible with 2.xx?
-
06-03-2006, 05:31 PM #3
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
-
06-03-2006, 05:35 PM #4QJ Gamer Gold
- Join Date
- Mar 2006
- Location
- LOLWUT
- Posts
- 2,625
- QJ Pts
- 18,627
- Level
- 86
- Downloads
- 0
- Uploads
- 0
YAY!!! I love luaplayer, (since I code in lua)
-
06-03-2006, 05:35 PM #5TheMarioKartersGuest
I doubt it.
Originally Posted by Bronx*
-
06-03-2006, 05:43 PM #6
Hey TMK, psphax0r says that your spamming
Originally Posted by TheMarioKarters
And I wonder why it is taking the front page soo long....I sent it to them at 7....牧来栠摩琠敨映汩獥
PSN: youresamFrom Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
-
06-03-2006, 05:49 PM #7TheMarioKartersGuest
Wait eh?
Originally Posted by youresam
What are you talking about?
-
06-03-2006, 05:56 PM #8QJ Gamer Bronze
- Join Date
- Jan 2006
- Location
- Western Australia
- Posts
- 1,046
- QJ Pts
- 8,803
- Level
- 63
- Downloads
- 0
- Uploads
- 0
It'll be compatible with 2.XX if you get the modchip :).
-
06-03-2006, 05:58 PM #9
you proved hax0rs point - just another post to add onto your ridiculously high post count
Originally Posted by TheMarioKarters
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 06:02 PM.
-
06-04-2006, 01:16 AM #10words are stones in my <3

- Join Date
- Jul 2005
- Location
- Spokane
- Posts
- 5,008
- QJ Pts
- 35,274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
B10tch [email protected] 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...
...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
06-04-2006, 01:29 AM #11QJ Gamer Platinum
- Join Date
- Feb 2006
- Location
- National Front Disco
- Posts
- 13,057
- QJ Pts
- 66,627
- Level
- 100
- Downloads
- 0
- Uploads
- 0
Cool, I was having trouble with the old one's, maybe this one will work better!
-
06-04-2006, 04:15 AM #12QJ Gamer Silver
- Join Date
- Oct 2005
- Location
- England
- Posts
- 1,970
- QJ Pts
- 10,906
- Level
- 69
- Downloads
- 0
- Uploads
- 0
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.


LinkBack URL
About LinkBacks
Reply With Quote

Unfortunately, these cheaters are ruining many games.
Damn Cheaters Ruining A Game