Although PGE has new file commands, the old ones are still in there and, according to me, just as good. So you can still use that. screen:print cannot be used in PGE. You need to load a font and use that.
http://pge.luaplayer.org/index.php?opti ... &Itemid=31
Search found 123 matches
- Fri Jun 12, 2009 8:50 pm
- Forum: PSP Lua Player Development
- Topic: From LUA to PGE-LUA, I have an little problem...
- Replies: 2
- Views: 9047
- Fri Jun 12, 2009 8:47 pm
- Forum: PSP Lua Player Development
- Topic: How to connect to wlan in luaplayer with wlan security?
- Replies: 1
- Views: 6724
- Sat Jun 14, 2008 7:34 pm
- Forum: PSP Development
- Topic: [NOOB] what is * after datatype
- Replies: 7
- Views: 2989
ok, I will
Good advise. I will do that after this is de-mystified: I thought I'd edit the timer program to use a proper timer instead of Vblanks to set the value of the counter (now timer) I looked through the source and found pspsystimer.h in the kernel dir. I used the functions inside that file. This is the ...
- Sat Jun 14, 2008 6:50 pm
- Forum: PSP Development
- Topic: [NOOB] what is * after datatype
- Replies: 7
- Views: 2989
[NOOB] what is * after datatype
I am very new to C for PSP, but have quite some experience with lua. In the image tutorial on psp-programming this datatype was used: Image* ourImage; What's that * doing there? Also, these forums don't seem to have any structure. (all C related stuff goes in the same place). Is there a subsection f...
- Sun Dec 09, 2007 1:46 am
- Forum: PSP Lua Player Development
- Topic: Access Point Scanning
- Replies: 3
- Views: 35663
Re: Access Point Scanning
And also, what are the functions for showing each access point's signal strength and encryption (wep, none, etc.)? Wow, this forum is still alive? I thought everyone would be at the official one. Anyway, I'll have to disappoint you. The things you name cannot be read out with luaplayer. the functio...
- Sun Aug 19, 2007 12:16 am
- Forum: PSP Lua Player Development
- Topic: lua or C++?
- Replies: 10
- Views: 12619
sorry
Yeah, my remark was kinda stupid
- Sun Aug 19, 2007 12:14 am
- Forum: PSP Lua Player Development
- Topic: new official luaplayer discussion forum
- Replies: 1
- Views: 23752
new official luaplayer discussion forum
I'd like to draw your attention to the reworked website at www.luaplayer.org Since InsertWittyName took over from Shine, a lot is going on there, including a new forum. So to concentrate all the knowledge/help/tutorials onto one place, I suggest that everyone goes there and signs up. Saves the hassl...
- Sun Aug 05, 2007 8:09 pm
- Forum: PSP Lua Player Development
- Topic: Galactic Breakout error - HELP
- Replies: 1
- Views: 4057
hasty version 1.1
I put out version 1.1 very hastily to get the deadline for the competition. This left me no time to properly test it. I already know that ultraballs now travel through metal blocks and that level 6 of the second planet is corrupted, crashing the psp when you play it. To correct this, I will bring ou...
- Mon Jun 11, 2007 6:46 am
- Forum: PSP Lua Player Development
- Topic: lua or C++?
- Replies: 10
- Views: 12619
- Fri Jun 08, 2007 4:36 pm
- Forum: PSP Lua Player Development
- Topic: lua or C++?
- Replies: 10
- Views: 12619
C vs C++
Is there any difference / advantage between c and c++?
- Thu Jun 07, 2007 8:00 pm
- Forum: PSP Lua Player Development
- Topic: lua or C++?
- Replies: 10
- Views: 12619
thnx romero, threads is another very tempting advantage of C++. I don't really understand what you're saying about video. I've never seen video being used in homebrew ever. Still, when I finish Galactic Breakout, I will take a big brake out of programming, do some other stuff, and when I'm ready to ...
- Wed Jun 06, 2007 5:33 am
- Forum: PSP Lua Player Development
- Topic: lua or C++?
- Replies: 10
- Views: 12619
lua or C++?
You might expect this question from a noob, but in my case; I've coded lua for a very long time and would profile myself as an 'addvanced' lua coder. I'm thinking about switching to c++ for the obvious speed and memory advantages. But is C++ really worth the effort to learn coding all over again? (I...
- Fri May 11, 2007 6:36 pm
- Forum: PSP Lua Player Development
- Topic: 0.20 wlan over secured connection
- Replies: 6
- Views: 8373
Hallelujah!
Man! you're awesome, cools (and alatnet)! The connection + 1 method worked. But how do I know it will work for everyone? For the unsecured connection I needed to use connection (+ 0). I tried the neighbours' unsecured network and it worked too. But still I'm not sure. I'll pass a testversion to my f...
- Wed May 09, 2007 1:38 am
- Forum: PSP Lua Player Development
- Topic: Wlan useConnectionConfig hang
- Replies: 1
- Views: 3536
- Wed May 09, 2007 1:30 am
- Forum: PSP Lua Player Development
- Topic: 0.20 wlan over secured connection
- Replies: 6
- Views: 8373
not working after all
It seems WEP isn't working after all. I tried without WEP and it worked fine. Then I enabled WEP and deleted the connection profile from my psp. After creating a new profile with WEP I tried again. It didn't work. There was still one profile so that shouldn't be a problem. My connect code loiks like...
- Sat Apr 14, 2007 6:22 pm
- Forum: PSP Lua Player Development
- Topic: waiting for button input
- Replies: 5
- Views: 6537
- Thu Apr 12, 2007 8:43 pm
- Forum: PSP Lua Player Development
- Topic: waiting for button input
- Replies: 5
- Views: 6537
waiting for button input
Ever since I know lua I have been using this code to wait till a button is pressed, only to find out that it doesn't work! pad = nil while pad == nil do System.sleep(100) pad = Controls.read() end If I add a print("hello") to my code after end my screen is f...
- Tue Apr 10, 2007 6:07 pm
- Forum: PSP Lua Player Development
- Topic: mp3 mod + mikmod
- Replies: 1
- Views: 3827
- Tue Apr 10, 2007 5:49 pm
- Forum: PSP Lua Player Development
- Topic: mp3 mod + mikmod
- Replies: 1
- Views: 3827
mp3 mod + mikmod
Mp3 mod plays mp3's at a good volume -maybe a little bit loud- but mikmod plays wav files waay to soft. The result is BGM with sfx that are unhearable. I use commands like Sound.load("./music/sfx_destroy_brick.wav") to load my wavs, and I call SoundSystem.SFXVolume(128) to set the volume t...
- Fri Mar 30, 2007 6:23 am
- Forum: PSP Lua Player Development
- Topic: Eboot Question
- Replies: 1
- Views: 3557
you can tell wich script to load first by editing the system.lua file in the system folder. You tipically don't want to create your own eboot but just edit the luaplayer eboot to display another program name and icon on your psp. Programs that do that are for example pbpbrew. Make sure to load the F...
- Fri Mar 30, 2007 4:43 am
- Forum: PSP Lua Player Development
- Topic: finding | in string
- Replies: 1
- Views: 3527
finding | in string
Hey All, I want to make a function that searches for | (pipe symbol) and returns each string between the mathes. I'm not very good with string.find or string.gmatch. I read the documentation but I still don't understand. What I want is: str = "hello there,|How are you all?|Nice day isn't it?&qu...
- Tue Mar 27, 2007 6:44 pm
- Forum: PSP Lua Player Development
- Topic: Problems with adding a function to Image
- Replies: 1
- Views: 3296
screen is a special type of image; and it has it's own functions like screen.flip() and screen:waitVblankstart(). That's why you have to specify the function for both Image and screen. I think that when you restart luaplayer by pressing the start button or something like that the screen set of funct...
- Thu Mar 22, 2007 2:38 am
- Forum: PSP Lua Player Development
- Topic: fillrect transparancy and screen as image
- Replies: 2
- Views: 3887
- Sun Mar 18, 2007 11:46 pm
- Forum: PSP Lua Player Development
- Topic: Proper care of images?
- Replies: 1
- Views: 3083
It's always a good idea to set your images to nil when you are done using them. Depending on the luaplayer you are using there is is 9(luaplayer 0.20) to 20mb (luaplayer mod and sub 0.18 versions) of free memory left. When you are creating images, keep in mind that values greater than 480X272 are li...
- Sun Mar 18, 2007 12:00 am
- Forum: PSP Lua Player Development
- Topic: fillrect transparancy and screen as image
- Replies: 2
- Views: 3887
fillrect transparancy and screen as image
One thing that really disappoints me about luaplayer is drawing transparancy. When I do fillrect with a color that has the a(lpha) set to 125 it just blits an opaque rectangle, although I want a 50% transparant rectangle. One solution is using a 50% transparant png image. But this is of course a was...
- Wed Mar 14, 2007 8:05 pm
- Forum: PSP Lua Player Development
- Topic: LuaPlayer(Windows) multiplay with LuaPlayer(PSP)
- Replies: 1
- Views: 3693
- Tue Feb 20, 2007 2:21 am
- Forum: PSP Lua Player Development
- Topic: 0.20 wlan over secured connection
- Replies: 6
- Views: 8373
- Mon Feb 19, 2007 7:45 pm
- Forum: PSP Lua Player Development
- Topic: 0.20 wlan over secured connection
- Replies: 6
- Views: 8373
0.20 wlan over secured connection
I tested a bit with the wlan test script in luaplayer 0.20 . It seems to not connect to WEP encrypted connections. Is this true? (if so;I think there should be a note in the luaplayer function wiki). Also: my connection doesn't show up in the available network connections list; but the test works fi...
- Mon Feb 12, 2007 11:41 pm
- Forum: PSP Lua Player Development
- Topic: Font:getTextSize : howto?
- Replies: 1
- Views: 3716
I already found out myself: I forgot the quotation marks. Should be
for the height, you probably need ["height"]
Code: Select all
ActFont:getTextSize(BonusTXT[LastB+1])["width"]
- Mon Feb 12, 2007 7:22 pm
- Forum: PSP Lua Player Development
- Topic: Font:getTextSize : howto?
- Replies: 1
- Views: 3716
Font:getTextSize : howto?
It seems to return a table. I thought this would be a table with two values: x an y size. But when I do this: print(ActFont:getTextSize(BonusTXT[LastB+1])[1]) the result is nil. When I try this: print(ActFont:get...