yep, exactly. But also if you want to put multiple vars after eachother.Zitat:
Zitat von EminentJonFrost
Printable View
yep, exactly. But also if you want to put multiple vars after eachother.Zitat:
Zitat von EminentJonFrost
I posted 1 page bellow but i dont think someone will understand it.Code:if pad:up() then
screen:blit(x0, y0, up2)
screen:flip()
screen.waitVblankStart(10 )
screen:clear(black)
screen:blit(x0, y0, up1)
screen:flip()
screen.waitVblankStart(10 )
screen:clear(black)
y0 = y0 - 5.1
end
The thing i want to do is:
make picture up1 and up2 to keep changing after like 1 second (nonstop) if i hold up pad and while i m holding up pad, both pictures move up with out messing up other pictures and the moves.
the thing i dint like the "screen.waitVblankStart(1 0)" is that it will also skip some areas when its going up and it effects other pictures that is placed in the screen.
can someone help?
try that.Zitat:
Zitat von MaSt3r_ShAk3
I saw somewhere in an earlier post that that can make it clear just what is specified.Code:if pad:up() then
screen:blit(x0, y0, up2)
screen:flip()
screen.waitVblankStart(10 )
screen:clear(up2)
screen:blit(x0, y0, up2)
screen:flip()
screen.waitVblankStart(10 )
screen:clear(up1)
y0 = y0 - 5.1
end
doesnt work... it plays a frame real quick n ya...Zitat:
Zitat von EminentJonFrost
oh yea, make the "play_back = false" outside the "while true do" loop.Zitat:
Zitat von MaSt3r_ShAk3
sorry about that. :p
it works! but playback only works once :Argh: :Argh: like i can still draw frames etc. but if i hit triangle after it plays back once it wont work! this is the main problem ive been having!
Zitat:
Zitat von bronxbomber92
the clear gave me a red screen, and dint made the picture away :dry:Code:screen:blit(x0, y0, player1)
screen:blit(300, 100, player2)
if pad:up() then
screen:clear(player2)
end
sry, then i dont know :(
i did something 2 times but forgot instant :icon_mad: :Cry: that false made the picture to dissapear.Zitat:
Zitat von bronxbomber92
when i try to put like
"player1 = false" , it gives me error :dry: