this script dosent work as I want it to... I want when you press R the Missa is going to go over the whole screen...u = 0
if pad:r() then U = 1 end
if U > 1 then
Missa=Missa+5
if Missa > 100 then
Missa=Missa+5
end
Search found 9 matches
- Wed Jan 11, 2006 11:02 am
- Forum: PSP Lua Player Development
- Topic: Help
- Replies: 20
- Views: 6895
- Fri Jan 06, 2006 1:34 am
- Forum: PSP Lua Player Development
- Topic: Help
- Replies: 20
- Views: 6895
- Wed Jan 04, 2006 9:41 am
- Forum: PSP Lua Player Development
- Topic: Help
- Replies: 20
- Views: 6895
- Mon Jan 02, 2006 6:24 am
- Forum: PSP Lua Player Development
- Topic: Help
- Replies: 20
- Views: 6895
this is one om my codes x=0 y=0 z=1 xm=1 ym=1 function missile(xm,ym,z) if z==1 then screen:blit(xm,ym+ypointchar,missile) end end function char(x,y,z) if z==1 thne screen:blit(x,y,z,char) end end while true do pad = controles.read() char(x,y,z) ypointchar=y if pad:r() then missile(xm,ym,z) xm=xm+5 ...
- Sun Jan 01, 2006 8:32 am
- Forum: PSP Lua Player Development
- Topic: Help
- Replies: 20
- Views: 6895
- Sun Jan 01, 2006 7:44 am
- Forum: PSP Lua Player Development
- Topic: Help
- Replies: 20
- Views: 6895
- Sun Jan 01, 2006 6:27 am
- Forum: PSP Lua Player Development
- Topic: Help
- Replies: 20
- Views: 6895
Help
How can I do so when I press R the main char fires a missile from the x/y position of the char and if you press it again it fires another one!?
Sry for my bad eng!
Sry for my bad eng!
- Sat Dec 24, 2005 8:43 am
- Forum: PSP Lua Player Development
- Topic: [Help]drawLine
- Replies: 4
- Views: 2249
that I know but wen i try to run my script
it's gives me a error! can someone explan how to setup a full working script!?
Code: Select all
white = Color.new(255,255,255)
image:drawLine(10, 10, 100, 100, white)
- Sat Dec 24, 2005 5:02 am
- Forum: PSP Lua Player Development
- Topic: [Help]drawLine
- Replies: 4
- Views: 2249
[Help]drawLine
How do you write this code "nil image:drawLine(x0, y0, x1, y1, [color = black])"