Search found 14 matches

by CT_Bolt
Thu Apr 24, 2008 2:08 am
Forum: PSP Development
Topic: OSLib, I need help compiling a sample.
Replies: 3
Views: 1646

Thanks...

Umm ok... thanks...
Update my sdk... huh... yeah... right, right... that would probably work...
How do I update it?

Thanks for the replies.
by CT_Bolt
Wed Apr 23, 2008 5:18 am
Forum: PSP Development
Topic: OSLib, I need help compiling a sample.
Replies: 3
Views: 1646

OSLib, I need help compiling a sample.

Ok, I downloaded Super Patrick II from here: http://oslib.palib.info/samples/ I am sorta new but not really to the whole C/C++ Dev thing. Anyway I have compiled my own C programs using OSLib, under the same settings I'm using now. This is what I get when I try to compile Super Patrick II: psp-gcc -...
by CT_Bolt
Sun Apr 02, 2006 8:07 am
Forum: PSP Lua Player Development
Topic: Alpha Mask
Replies: 7
Views: 3959

Ahh... oh yeah.

Hmm... I see... yes I did overlook that... well thanks for fixing it.
by CT_Bolt
Sat Apr 01, 2006 3:20 am
Forum: PSP Lua Player Development
Topic: Alpha Mask
Replies: 7
Views: 3959

No problem

Well I am happy you can use it... if you have any other problems just post them and I'll be happy to help.
by CT_Bolt
Fri Mar 31, 2006 6:27 am
Forum: PSP Lua Player Development
Topic: Alpha Mask
Replies: 7
Views: 3959

Check it out.

I have made a function for the Image Class that does just that... It makes an alpha mask of the image that calls the function 'AlphaImage' and sets it to anouther image. Use it like this: X = 0 ; Y = 0 ; Color.new(200,0,0,200) MyImagesAlphaMask = MyImage.AlphaImage(X, Y, Colo...
by CT_Bolt
Fri Mar 31, 2006 6:16 am
Forum: PSP Lua Player Development
Topic: Alpha Mask
Replies: 7
Views: 3959

Oops...

My I.E. glitched and sent my post twice.
by CT_Bolt
Wed Mar 29, 2006 1:39 am
Forum: PSP Lua Player Development
Topic: Creating Masks... Alpha Value
Replies: 3
Views: 2285

Well...

With a litle bit of adjustments this actually works pretty well. Here is the function I wrote with the help of Kameku's code: function Image:DrawAlpha(X, Y, MaskColour, BGColour) if MaskColour then if not X then X = 0 end if not Y then Y = 0 end imgAlpha = Image.createEmpty&a...
by CT_Bolt
Mon Mar 27, 2006 5:29 am
Forum: PSP Lua Player Development
Topic: Creating Masks... Alpha Value
Replies: 3
Views: 2285

Creating Masks... Alpha Value

Ok so I know how to blit Alpha Images over top of other images but, only in rectangles. Is there a way to just blit the image to the screen with an Alpha Mask like... it just draws an alpha value over the image only(with transparent parts). This is so I can make just the player have a different tint...
by CT_Bolt
Mon Mar 20, 2006 5:29 am
Forum: PSP Lua Player Development
Topic: Changing variables help!
Replies: 3
Views: 2207

What it means.

oldpad = pad This needs to be near the bottom because that is right before you make pad read the controls agian(when it starts looping again). So that you can compare the controls then to the controls now. If you make oldpad = Controls.read() then it gets the current controls pressed not what was p...
by CT_Bolt
Sun Mar 19, 2006 4:46 pm
Forum: PSP Lua Player Development
Topic: Changing variables help!
Replies: 3
Views: 2207

Code is fixed.

Your code is fixed: I'm not sure what exactly was wrong with it but, The lines with -- *** next to them are the comments I added(next to code I changed). green = Color.new(0,255,0) red = Color.new(255,0,0) blue = Color.new(0,0,150) white = Color.new&am...
by CT_Bolt
Sun Mar 19, 2006 3:59 pm
Forum: PSP Lua Player Development
Topic: My class tutorial... check it out
Replies: 0
Views: 1540

My class tutorial... check it out

My Class Tutorial: Click Here

For those of you who know some things about Lua already. It could also help begginers too.

Using Simulated Classes in Lua can help coding productivity alot... so check it out.
by CT_Bolt
Thu Mar 09, 2006 3:49 am
Forum: PSP Lua Player Development
Topic: I need help
Replies: 6
Views: 3564

Hope this help you...

Is the name of the script file 'Index.Lua'? Is that the only part of the error message? hyperj wrote: i keep getting a no script file found when i boot it up. You mean when you start Lowser? hyperj wrote: is it possible that some one can post a link of a lua player that works? What do you mean "...
by CT_Bolt
Wed Mar 08, 2006 5:34 am
Forum: PSP Lua Player Development
Topic: Assign a function to a Table???
Replies: 2
Views: 1952

Not quite...

Well... I actually knew how to do that(I have pretty good knowledge of Lua now) but, Thank you for replying. The basic difference between what you have showed me and what I mean is I need to use values from 'AScrollCanvas' ( X & Y ) and then change them accordingly (change only the current table...
by CT_Bolt
Wed Mar 08, 2006 3:31 am
Forum: PSP Lua Player Development
Topic: Assign a function to a Table???
Replies: 2
Views: 1952

Assign a function to a Table???

Well... Hello my fellow PSP Lua coders... OK so I know it's posible to create a table with a function, I just don't know exactlly how to do what I need to do, which is: 1. I am creating a ScrollingCanvas table and I want to assign the function 'Move' to the table, to move the picture(canvas) around ...