Search found 10 matches
- Fri Dec 23, 2005 10:40 am
- Forum: PSP Lua Player Development
- Topic: problem with for statement and tables
- Replies: 1
- Views: 1285
problem with for statement and tables
i have two tables, one holding my images(tiles) and one holding the layout of the tiles. i am using a for statement so i dont have many lines of code. when i use this code, i get an "attempt to index field '?' (a nil value)" error on the blit line. if i replace the y in layout[y] for a num...
- Sat Nov 26, 2005 6:03 pm
- Forum: PSP Lua Player Development
- Topic: IR Question
- Replies: 6
- Views: 4565
Re: IR Question
As it is already implemented I have to provide some nice Lua API for it, only and copy and paste the implementations. Do you have some ideas how the Lua functions for SIRCS and general IR should look like?[/quote] i honestly have no idea how they should look, im new to the whole IR thing. since i do...
- Sat Nov 26, 2005 3:16 pm
- Forum: PSP Lua Player Development
- Topic: IR Question
- Replies: 6
- Views: 4565
what if i made a program to count the number of milliseconds between inputs, and output every x milliseconds. it really wouldnt matter what character is outputted, just so it lights up the LED. that could work theoretically, right? EDIT: I made a program to do this and i counted 17 milliseconds betw...
- Sat Nov 26, 2005 2:17 pm
- Forum: PSP Lua Player Development
- Topic: IR Question
- Replies: 6
- Views: 4565
IR Question
i love the new ir function, i was playing around with it and its pretty neat. i was wondering tho, can i read the command that a button on my tv remote is sending, and send that command to do stuff with my tv. i know its just a pulse rate on the LED and not really a command, but is there a way to do...
- Sat Nov 19, 2005 12:07 pm
- Forum: PSP Lua Player Development
- Topic: Alpha Blit
- Replies: 3
- Views: 2425
- Thu Nov 17, 2005 4:20 am
- Forum: PSP Lua Player Development
- Topic: Alpha Blit
- Replies: 3
- Views: 2425
Alpha Blit
is there a way to blit using alphatransparency. i mean if i had a fully opaque image and i wanted to blit it at 50% transparency. is this possible without making a function to redraw the image pixel by pixel?
- Thu Oct 27, 2005 4:58 am
- Forum: PSP Lua Player Development
- Topic: Check if pixel is transparent
- Replies: 7
- Views: 3575
- Wed Oct 26, 2005 10:41 am
- Forum: PSP Lua Player Development
- Topic: w00t, GTA: LCS uses Lua!
- Replies: 7
- Views: 3903
- Wed Oct 26, 2005 10:23 am
- Forum: PSP Lua Player Development
- Topic: w00t, GTA: LCS uses Lua!
- Replies: 7
- Views: 3903
hmmm... why would a big game developer use a high end language for their games? lua is a great language, but it cant compare to c or c++ in game programming. its like using visual basic to make a direct x game. it just shouldnt b done. can anyone that has LCS confirm that this is truely lua code. if...
- Wed Oct 26, 2005 10:16 am
- Forum: PSP Lua Player Development
- Topic: Check if pixel is transparent
- Replies: 7
- Views: 3575
Check if pixel is transparent
Is there a way to check if a pixel in an image is transparent? When I use the img:pixel, the transparent pixels register as white for me. thanks.