Search found 9 matches

by N00b
Wed Jan 11, 2006 11:02 am
Forum: PSP Lua Player Development
Topic: Help
Replies: 20
Views: 6895

okay lets try this again
u = 0

if pad:r() then U = 1 end

if U > 1 then
Missa=Missa+5
if Missa > 100 then
Missa=Missa+5
end
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...
by N00b
Fri Jan 06, 2006 1:34 am
Forum: PSP Lua Player Development
Topic: Help
Replies: 20
Views: 6895

think about it
Yeah... I tryed that and it dident work!

I dont know how to cal a loop I have tryde but I can´t figer it out!
by N00b
Wed Jan 04, 2006 9:41 am
Forum: PSP Lua Player Development
Topic: Help
Replies: 20
Views: 6895

But how can i make it so it go all the way on the screen!?
by N00b
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 ...
by N00b
Sun Jan 01, 2006 8:32 am
Forum: PSP Lua Player Development
Topic: Help
Replies: 20
Views: 6895

I have tryed many diffrent ways of doing this but I havent succseed. Thats why im asking for help on this forum!

i cant find any game using that type of missile function got any tips about any?
by N00b
Sun Jan 01, 2006 7:44 am
Forum: PSP Lua Player Development
Topic: Help
Replies: 20
Views: 6895

can you give me a code example?
by N00b
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!
by N00b
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

Code: Select all

white = Color.new(255,255,255)

image:drawLine(10, 10, 100, 100, white)
it's gives me a error! can someone explan how to setup a full working script!?
by N00b
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])"