Search found 728 matches
- Wed Jul 26, 2006 5:36 pm
- Forum: PSP Lua Player Development
- Topic: table instances
- Replies: 10
- Views: 5434
Re: table instances
then, Row[2][1] becomes 15 too. That's really annoying. Anyone knows a way to avoid this? You can copy the table: function copyTable(old) local new = {} table.foreach(old, function (item) table.insert(new, item) end) ...
- Fri Jul 21, 2006 5:34 am
- Forum: PSP Lua Player Development
- Topic: Can't compile 0.20
- Replies: 2
- Views: 2436
Re: Can't compile 0.20
Try to update the Lua library.
- Mon Jul 10, 2006 9:34 pm
- Forum: PSP Lua Player Development
- Topic: LuaPlayer "bug".
- Replies: 8
- Views: 5019
Take a look at the serial port example in Lua Player for a full terminal simulation with newline and scrolling.
- Wed Jul 05, 2006 12:36 pm
- Forum: PSP Lua Player Development
- Topic: Benefits of LUA Player?
- Replies: 8
- Views: 5334
You won't find the silver bullet, which solves all problems. Of course, you can do anything in C++ or C and there are GCs for C, too, like the Boehm GC. And you are right, you can't implement a fast image rotate function in Lua, because it is too slow for single pixel manipulating low-level tasks li...
- Tue Jul 04, 2006 11:30 pm
- Forum: PSP Lua Player Development
- Topic: Benefits of LUA Player?
- Replies: 8
- Views: 5334
I don't consider garbage collection a plus in particular Do you have a reaons, why you don't consider it as a plus? E.g. Java is very successful and one reason may be that it has a GC and the programmer doesn't have to take care when to release memory. A GC can be even faster than manual memory man...
- Tue Jul 04, 2006 11:22 pm
- Forum: PSP Lua Player Development
- Topic: Sound Playing
- Replies: 2
- Views: 2510
Re: Sound Playing
When you are calling "yourSound=Sound.load(...)" and then "yourSound.play()", you'll get a Voice object, on which you have to call playing: sound = Sound.load("test"); voice = sound:play(); while voice:playing(&...
- Thu Jun 22, 2006 10:49 pm
- Forum: General Discussion
- Topic: ABUSERS OF OOPO.NET DOWNLOAD ACCESS
- Replies: 14
- Views: 11585
- Sat Jun 17, 2006 11:32 pm
- Forum: PS2 Development
- Topic: PS2 Lua Player
- Replies: 26
- Views: 97922
Re: PS2 Lua Player ?
Now that we have a recent (5.1) and functional lua interpreter running on the PS2 (still have few minor issues but they will be corrected in the next few days), it would be great to see coming a PS2 Lua player ! This is a good idea. Having reviewed a bit the PSP player, I noticed that there is no a...
- Sat Jun 10, 2006 3:20 am
- Forum: PSP Lua Player Development
- Topic: File Functions
- Replies: 13
- Views: 6118
- Fri Jun 09, 2006 5:11 am
- Forum: PSP Lua Player Development
- Topic: v0.20 Bugs
- Replies: 4
- Views: 2805
- Fri Jun 09, 2006 3:33 am
- Forum: PSP Lua Player Development
- Topic: File Functions
- Replies: 13
- Views: 6118
- Thu Jun 08, 2006 11:58 pm
- Forum: PSP Lua Player Development
- Topic: v0.20 Bugs
- Replies: 4
- Views: 2805
Re: v0.20 Bugs
I didn't tried it, but looks like you are copying the wrong screen. There are 2 screens: the visible screen and the backbuffer. Copying from screen to image uses the backbuffer. Let me know, if you have still the error when copying the backbuffer, then I'll check it on my PSP.
- Tue Jun 06, 2006 3:40 am
- Forum: PSP Lua Player Development
- Topic: Lua Player v0.20 Image.load issues
- Replies: 2
- Views: 2280
Re: Lua Player v0.20 Image.load issues
But then the real problem came up. For some reason a regular Image = Image.load("filename.png") displays (random?) Image.load: Error loading image errors. Do I need to load all my graphics with the new Image.loadFromMemory function or is the soft having trouble with the resolution of my ....
- Mon Jun 05, 2006 5:39 pm
- Forum: PSP Lua Player Development
- Topic: [LuaPlayer 0.20] - 3D issue?
- Replies: 2
- Views: 2227
Re: [LuaPlayer 0.20] - 3D issue?
See the release note: "it's pure Lua 5.1: no binary operators". Use "+" instead of "|", like in my cube example shipped with the 0.20 release of Lua Player.
- Mon Jun 05, 2006 7:55 am
- Forum: PSP Lua Player Development
- Topic: Load Image from Array of Bytes
- Replies: 7
- Views: 4068
Re: Load Image from Array of Bytes
Yes, see http://forums.ps2dev.org/viewtopic.php?t=5885 . Maybe this will be useful later when integrating physfs, too, which will allow packing all files of a game in one zip file.puffo83 wrote:Creating an image from array of bytes is a new features of new Lua Player 0.20??
Really???
- Sun Jun 04, 2006 10:34 pm
- Forum: PSP Lua Player Development
- Topic: LongtoIp problem
- Replies: 21
- Views: 7740
I mean than luaplayer 0.20 doesn't work with eloader 0.97 Then it would be a good idea to ask the author to enhance eloader 0.97. Maybe the module loading is not supported. A solution might be this thread: http://forums.ps2dev.org/viewtopic.php?t=5663 But I want to concentrate more on Lua Player co...
- Sun Jun 04, 2006 9:57 pm
- Forum: PSP Lua Player Development
- Topic: LongtoIp problem
- Replies: 21
- Views: 7740
- Sun Jun 04, 2006 8:13 pm
- Forum: PSP Lua Player Development
- Topic: LongtoIp problem
- Replies: 21
- Views: 7740
I don't know, because currently I have only a 1.0 and 1.5 PSP, but you can try it, Lua Player 0.20 is released: http://forums.ps2dev.org/viewtopic.php?t=5885aserto wrote:Will Luaplayer 0.20 work on eloader 0.97?
- Sun Jun 04, 2006 4:26 am
- Forum: PSP Lua Player Development
- Topic: Load Image from Array of Bytes
- Replies: 7
- Views: 4068
Re: Load Image from Array of Bytes
Yes, see the release notes of Lua Player 0.20.puffo83 wrote:Exist a way to load a jpeg Image from Array of Bytes?
- Sun Jun 04, 2006 4:25 am
- Forum: PSP Lua Player Development
- Topic: LongtoIp problem
- Replies: 21
- Views: 7740
Re: LongtoIp problem
In Lua Player 0.20 I've integrated Lua 5.1 with double as number type, to avoid such problems. Now it should work.aserto wrote:this function converts a number like this: 4294967295 to 255.255.255.255
i tested it on lua5.1 and works. But in luaplayer doesn't work... I don't know what to do
- Sun Jun 04, 2006 4:23 am
- Forum: PSP Lua Player Development
- Topic: File Functions
- Replies: 13
- Views: 6118
Re: File Functions
I've added a System.rename function for Lua Player 0.20.mallchin wrote:I see LuaPlayer has updated to 0.19, but does anyone have an updated list of functions?
I can't see any mention of the requests I've made, anyone managed to move/rename files?
- Sun Jun 04, 2006 4:22 am
- Forum: General Discussion
- Topic: Lua Player version 0.20
- Replies: 0
- Views: 3456
Lua Player version 0.20
On http://www.luaplayer.org you can get the new version 0.20. It is updated to Lua 5.1, there are some bugfixes and a new function for loading images from memory. I'll try to add pspgl the next week. The changelog: v0.20 ========== updated for gcc 4.1 and Lua 5.1. Some things you need to change for ...
- Sun Jun 04, 2006 12:12 am
- Forum: PSP Lua Player Development
- Topic: More Truetype errors
- Replies: 2
- Views: 2342
Re: More Truetype errors
Hi, I have this problems: 1 - if I create an new image, and whant to put some text in it as: _font = Font.load('somefont.ttf') _font:setPixelSizes(0,30) fileImage = Image.createEmpty(480,272) fileImage:fontPrint(_font , 0, 0, 'Hello', Color.new(0,0,2555)) the text not render, it seems to need a: fi...
- Sat Jun 03, 2006 9:22 am
- Forum: PSP Lua Player Development
- Topic: Flip and screen.waitVblankStart
- Replies: 9
- Views: 6570
from reading some of the documentation it suggested that the waitVblankStart() should come before the flip (I see a lot of programs that use it this way). But from what you guys are saying it should always come after the flip, it that correct ? As romero126 said: You don't need it for your example....
- Sat Jun 03, 2006 8:05 am
- Forum: PSP Lua Player Development
- Topic: Flip and screen.waitVblankStart
- Replies: 9
- Views: 6570
Re: Flip and screen.waitVblankStart
I've tested this code: screen:print(10,10,"test",Color.new(255,255,255)) screen.flip() screen.waitVblankStart() pad = Controls.read() while not pad:start() do pad = Controls.read...
- Wed May 24, 2006 12:30 am
- Forum: PSP Lua Player Development
- Topic: Luamines is here! -- UPDATED 0.03 AVAILABLE NOW!
- Replies: 8
- Views: 8013
Re: New Screen shots for v0.03
Please ignore me, if you have painted the pictures yourself, but do you have the permission from the painters who draw it, to use it in your game?
- Mon May 22, 2006 8:16 pm
- Forum: PSP Lua Player Development
- Topic: image sizes
- Replies: 8
- Views: 4132
Lua can handle bigger images than 512x512. I myself use 1000x1000 images. There is one catch it has to be in JPG format. Also it shouldn't be to big a filesize (ok so two catches). The biggest i use is 58 kB. I haven't tested the limits, but maybe Shine can tell us? Maybe this is possible, but then...
- Mon May 22, 2006 8:11 pm
- Forum: PSP Lua Player Development
- Topic: Free Scrolling engine code for you guys
- Replies: 7
- Views: 5685
Re: Free Scrolling engine code for you guys
Let me know if the link goes down. It's being hosted at megaupload. If anyone wants to mirror, go ahead. This is really cool! I don't update my gallery, but this is an exception, I've mirrored it on my server and added it to the top of the unmaintained Lua Player gallery . BTW: works without proble...
- Mon May 08, 2006 9:26 pm
- Forum: PSP Lua Player Development
- Topic: searching for core developers
- Replies: 1
- Views: 4102
Re: searching for core developers
Ok, as I wrote, you should post to this thread, if you are working on a task to avoid duplicate work.
Currently I'm working on the pspgl integration. It is a bit more work than I thought, but I hope to release a new version this weekend.
Currently I'm working on the pspgl integration. It is a bit more work than I thought, but I hope to release a new version this weekend.
- Sun May 07, 2006 8:12 am
- Forum: PSP Development
- Topic: Font Help
- Replies: 1
- Views: 1380