Seite 46 von 342 ErsteErste ... 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 96 146 ... LetzteLetzte
Zeige Ergebnis 1.351 bis 1.380 von 10238

Lua Programming Help Thread

This is a discussion on Lua Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Zitat von MaSt3r_ShAk3 Umm can someone help? It says 'then' expected near '=' (line 38) and the code is Code: ...

  
  1. #1351
    Tha Sigerator
    Points: 26.703, Level: 97
    Level completed: 36%, Points required for next Level: 647
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    New Orleans, LA
    Beiträge
    4.047
    Points
    26.703
    Level
    97
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von MaSt3r_ShAk3
    Umm can someone help? It says 'then' expected near '=' (line 38) and the code is
    Code:
    if life=0 then
    wtf?
    i think it should either be

    Code:
    if life == 0 then
    or
    Code:
    if life = 0 then


    - - - - Somewhere Lurking in THA SHADOWS - - - -

    Check Out My Myspace HERE
    Comment My Qj Wiki

  2. #1352
    Think, Do, Gloat.
    Points: 12.687, Level: 73
    Level completed: 60%, Points required for next Level: 163
    Overall activity: 0%

    Registriert seit
    Nov 2005
    Ort
    England, Norwich
    Beiträge
    1.422
    Points
    12.687
    Level
    73
    Downloads
    0
    Uploads
    0

    Standard

    put another = sign with the = so
    if life==0 then

  3. #1353
    Is in your zone.
    Points: 24.342, Level: 94
    Level completed: 99%, Points required for next Level: 8
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Ort
    Jacksonville, FL
    Beiträge
    3.429
    Points
    24.342
    Level
    94
    Downloads
    0
    Uploads
    0

    Standard

    Yeah nvrmind i edited the post with my new error that is EVILLLL

    --XBL Gamertag: PhenoM904--

  4. #1354
    Tha Sigerator
    Points: 26.703, Level: 97
    Level completed: 36%, Points required for next Level: 647
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    New Orleans, LA
    Beiträge
    4.047
    Points
    26.703
    Level
    97
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von MaSt3r_ShAk3
    NVRMIND but at line 30 i get that retarded "loop in gettable' error. This is the line of the error.
    Code:
    if stick.x>480 then
    Code:
    if stick.x > 480 then
    try wit spaces
    - - - - Somewhere Lurking in THA SHADOWS - - - -

    Check Out My Myspace HERE
    Comment My Qj Wiki

  5. #1355
    Is in your zone.
    Points: 24.342, Level: 94
    Level completed: 99%, Points required for next Level: 8
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Ort
    Jacksonville, FL
    Beiträge
    3.429
    Points
    24.342
    Level
    94
    Downloads
    0
    Uploads
    0

    Standard

    No dice...
    black = Color.new(0, 0, 0)

    life = 1
    coll = 0

    stick = Image.load("stick.png")
    spike = Image.load("spike.png")
    background = Image.load("background.pn g")
    death = Image.load("death.png")

    player = {}
    player[1] = { x=240, y=200, life=1, stick=player[1] }
    Okay look at the bold parts. is this possible? this might be the cause of my problems
    Geändert von Mast3r_Shak3 (04-05-2006 um 02:50 PM Uhr)

    --XBL Gamertag: PhenoM904--

  6. #1356
    QJ Gamer Green
    Points: 5.559, Level: 48
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    506
    Points
    5.559
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    No that is not possible. You say that player[1].stick=player[1]. You cant assign something to itself.
    LUA manual:
    [url]http://www.lua.org/manual/5.0/manual.html[/url]

    LUA Wiki:
    [url]http://wiki.ps2dev.org/psp:lua_player[/url]

  7. #1357
    QJ Gamer Green
    Points: 5.559, Level: 48
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    506
    Points
    5.559
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von cools
    The songs play right after each other without the loop. The loop is there so the songs will play [one after another] 9999 times ( so for a long time ). There is no need to have it pause in game, it needs to be playing as soon as the game starts, but not in the menus.
    Ok i understand, but again, what exactly is your problem? I just dont get your post where you state your problem. Because i think you left out a "t" after the "can", or am i wrong? Please say it again. (maybe im just being really stupid :o )
    LUA manual:
    [url]http://www.lua.org/manual/5.0/manual.html[/url]

    LUA Wiki:
    [url]http://wiki.ps2dev.org/psp:lua_player[/url]

  8. #1358
    Developer
    Points: 8.545, Level: 62
    Level completed: 32%, Points required for next Level: 205
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Beiträge
    472
    Points
    8.545
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Sorry, I forgot to mention it...

    Well whenever i try to play that along the with the game, it only plays the music and doesnt let you play the game.

    It will play along side game if i only tell it to playback one of the music files.

    PSP Monopoly | PSP Tic Tac Toe | PSP eMail and SMS | Drag Mini | Block Dude
    http://www.cools.biaklan.com
    Currently Working on ?????

    Quote of the Week

  9. #1359
    Simon Champion!
    Points: 11.489, Level: 70
    Level completed: 60%, Points required for next Level: 161
    Overall activity: 99,0%

    Registriert seit
    Mar 2006
    Ort
    Calgary, Alberta, Ca
    Beiträge
    537
    Points
    11.489
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Code:
    frame_1 = Image.load("frame_1.png")
    frame_2 = Image.load("frame_2.png")
    frame_3 = Image.load("frame_3.png")
    screen:clear()
    
    while (true) do
    --Put image to memory and flip it to screen
    	screen:blit(0, 0, frame_1)
    	screen.flip()
    --Keep frame showing for 8 milliseconds
    	screen.WaitVblankStart(8)  
    --Clear screen to start over
    	screen:clear()
    
    	screen:blit(0, 0, frame_2)
    	screen.flip()
    	screen.WaitVblankStart(8)  
    	screen:clear()
    
    	screen:blit(0, 0, frame_3)
    	screen.flip()
    	screen.WaitVblankStart(8)  
    	screen:clear()
    end
    I was told to do this buit it says the waitVblank thibg is wrong. help please
    Games I Made:
    Stick Dance
    Stick Dance V2
    50% Done "Smile Quartet"


    MY XBOX.COM GAMER SPOTLIGHT!

  10. #1360
    <img src="images/smilies/psp.gif" border="0" alt="" title="" cl***="inlineimg" /> <img src="images/smilies/Punk.gif" border="0" alt="" title="" cl***=&
    Points: 11.105, Level: 69
    Level completed: 64%, Points required for next Level: 145
    Overall activity: 0%

    Registriert seit
    Jun 2005
    Ort
    Canada
    Beiträge
    1.944
    Points
    11.105
    Level
    69
    Downloads
    0
    Uploads
    0

    Standard

    can you have functions within functions?

  11. #1361
    Quality Haxing Since 1991
    Points: 29.255, Level: 99
    Level completed: 55%, Points required for next Level: 745
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Ort
    Pennsylvania, USA Fi
    Beiträge
    6.206
    Points
    29.255
    Level
    99
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Sousanator
    can you have functions within functions?
    yes you can.
    Zitat Zitat von Noriko
    I would call you gay but I love you.


    Wait ...huh.



  12. #1362
    Simon Champion!
    Points: 11.489, Level: 70
    Level completed: 60%, Points required for next Level: 161
    Overall activity: 99,0%

    Registriert seit
    Mar 2006
    Ort
    Calgary, Alberta, Ca
    Beiträge
    537
    Points
    11.489
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Greenskull
    Code:
    frame_1 = Image.load("frame_1.png")
    frame_2 = Image.load("frame_2.png")
    frame_3 = Image.load("frame_3.png")
    screen:clear()
    
    while (true) do
    --Put image to memory and flip it to screen
    	screen:blit(0, 0, frame_1)
    	screen.flip()
    --Keep frame showing for 8 milliseconds
    	screen.WaitVblankStart(8)  
    --Clear screen to start over
    	screen:clear()
    
    	screen:blit(0, 0, frame_2)
    	screen.flip()
    	screen.WaitVblankStart(8)  
    	screen:clear()
    
    	screen:blit(0, 0, frame_3)
    	screen.flip()
    	screen.WaitVblankStart(8)  
    	screen:clear()
    end
    I was told to do this buit it says the waitVblank thibg is wrong. help please
    yeah. It says something like "attempt to call WaitVblankStart (nil value) help please!

    EDIT: aha! The "w" was capitalized. im good now but how do I make my animation loop over and over until I press X again?
    Geändert von Greenskull (04-05-2006 um 06:16 PM Uhr)
    Games I Made:
    Stick Dance
    Stick Dance V2
    50% Done "Smile Quartet"


    MY XBOX.COM GAMER SPOTLIGHT!

  13. #1363
    Points: 11.498, Level: 70
    Level completed: 62%, Points required for next Level: 152
    Overall activity: 50,0%

    Registriert seit
    Dec 2005
    Ort
    LBC
    Beiträge
    516
    Points
    11.498
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Greenskull
    yeah. It says something like "attempt to call WaitVblankStart (nil value) help please!

    EDIT: aha! The "w" was capitalized. im good now but how do I make my animation loop over and over until I press X again?
    try this:

    Code:
    white = Color.new(255, 255, 255)
    frame_1 = Image.load("frame_1.png")
    frame_2 = Image.load("frame_2.png")
    frame_3 = Image.load("frame_3.png")
    
    showAnimation = true
    timer = Timer.new()
    
    while true do
    	pad = Controls.read()
    	timer:start()
    	screen:clear()
    
    	if showAnimation then
    		if timer:time() >= 0 and timer:time() <= 135 then 
    			screen:blit(0, 0, frame_1)
    		elseif timer:time() > 135 and timer:time() <= 270 then
    			screen:blit(0, 0, frame_2)
    		elseif timer:time() > 270 and timer:time() <= 405 then
    			screen:blit(0, 0, frame_3)
    		elseif timer:time() > 405 then
    			timer:stop()
    			timer:reset()
    		end
    	else
    		screen:print(0, 0, "Paused!", white)
    	end
    
    	if pad:cross() and pad ~= oldpad then
    		if showAnimation then showAnimation = false else showAnimation = true end
    	end
    
    	oldpad = pad
    	screen.flip()
    	screen.waitVblankStart(6)
    end

  14. #1364
    Points: 11.498, Level: 70
    Level completed: 62%, Points required for next Level: 152
    Overall activity: 50,0%

    Registriert seit
    Dec 2005
    Ort
    LBC
    Beiträge
    516
    Points
    11.498
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Grimfate126
    EDIT: how can i make it so that the maht.random(26) doesnt take the same value twice??
    here's the updated version of your deal or no deal script.it should work... it only takes each prize value once. from $0 to $1,000,000. The reason you had so many repeats is you had a couple prize values the same. This also displays the prize value in $0.00 format.
    Angehängte Dateien Angehängte Dateien

  15. #1365
    QJ Gamer Blue
    Points: 4.510, Level: 42
    Level completed: 80%, Points required for next Level: 40
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Ort
    127.0.0.1
    Beiträge
    75
    Points
    4.510
    Level
    42
    Downloads
    0
    Uploads
    0

    Standard

    Code:
          pad = Controls.read()
          oldpad = Controls.read()
          
          if pad:right() and pad ~= oldpad then
             x = x + 10
             oldpad = pad
          elseif pad:left() and pad ~= oldpad then
                 x = x - 10
                 oldpad = pad
          end
          if pad:start() then
             break
          end
    Ok, the blipping stopped, but the highlighter doesn't move at all now. Which is fairly logic, because if right() is pressed, both pad and oldpad would be right(), so the if value would not be true.

  16. #1366
    QJ Gamer Green
    Points: 5.559, Level: 48
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    506
    Points
    5.559
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von cools
    Sorry, I forgot to mention it...

    Well whenever i try to play that along the with the game, it only plays the music and doesnt let you play the game.

    It will play along side game if i only tell it to playback one of the music files.
    Ah yeah thats what i thought. Its because you pause the loop by using the waitVblanck's. So what you have to do is make a timer and if the timer is at a specific value (the length of your music) then you play the other musicfile.
    LUA manual:
    [url]http://www.lua.org/manual/5.0/manual.html[/url]

    LUA Wiki:
    [url]http://wiki.ps2dev.org/psp:lua_player[/url]

  17. #1367
    QJ Gamer Green
    Points: 5.559, Level: 48
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    506
    Points
    5.559
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    @SjaakRake

    I dont know why people use that code, but i know this works:
    Code:
    pad = Controls.read()
    
          if pad:right() and pad ~= oldpad then
             x = x + 10
             oldpad = pad
          elseif pad:left() and pad ~= oldpad then
                 x = x - 10
                 oldpad = pad
          end
          if pad:start() then
             break
          end
    
    oldpad=pad
    With this it puts the value of pad in oldpad after everything is done, so when it does a new loop then it has the value of the last loop and that is what you want.
    LUA manual:
    [url]http://www.lua.org/manual/5.0/manual.html[/url]

    LUA Wiki:
    [url]http://wiki.ps2dev.org/psp:lua_player[/url]

  18. #1368
    QJ Gamer Blue
    Points: 4.510, Level: 42
    Level completed: 80%, Points required for next Level: 40
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Ort
    127.0.0.1
    Beiträge
    75
    Points
    4.510
    Level
    42
    Downloads
    0
    Uploads
    0

    Standard

    Haha, thanks, I'm so damn stupid, pretty logic.
    PS. As you might have guessed, I'm dutch too, if you're interested in contacting me. PM me.

  19. #1369
    Developer
    Points: 8.545, Level: 62
    Level completed: 32%, Points required for next Level: 205
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Beiträge
    472
    Points
    8.545
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Altair
    Ah yeah thats what i thought. Its because you pause the loop by using the waitVblanck's. So what you have to do is make a timer and if the timer is at a specific value (the length of your music) then you play the other musicfile.
    Ok, so it was the screen.waitVblank's that were messing up the code and I only need to change it to a timer. Thanks Altair!

    PSP Monopoly | PSP Tic Tac Toe | PSP eMail and SMS | Drag Mini | Block Dude
    http://www.cools.biaklan.com
    Currently Working on ?????

    Quote of the Week

  20. #1370
    QJ Gamer Green
    Points: 5.559, Level: 48
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    506
    Points
    5.559
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    no problem at all. Im looking forward to playing monopoly on my PSP!
    LUA manual:
    [url]http://www.lua.org/manual/5.0/manual.html[/url]

    LUA Wiki:
    [url]http://wiki.ps2dev.org/psp:lua_player[/url]

  21. #1371
    QJ Gamer Blue
    Points: 4.510, Level: 42
    Level completed: 80%, Points required for next Level: 40
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Ort
    127.0.0.1
    Beiträge
    75
    Points
    4.510
    Level
    42
    Downloads
    0
    Uploads
    0

    Standard

    How would I make a string containing "? Can this be done through the hex value? If yes, how?

    Blegh, I ask too much.

  22. #1372
    is not posting very often
    Points: 33.152, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 99,6%

    Registriert seit
    Feb 2006
    Ort
    omnipresent
    Beiträge
    5.162
    Points
    33.152
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    ok yea well done altair - how retarded of me, soz that was off the top of my head Sjaakrake
    What did we think the world would look like in 2015?

    Zitat Zitat von Abe
    Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
    http://forums.qj.net/501501-post26.html

  23. #1373
    Developer
    Points: 12.360, Level: 72
    Level completed: 78%, Points required for next Level: 90
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Ort
    Isle of Wight
    Beiträge
    491
    Points
    12.360
    Level
    72
    Downloads
    0
    Uploads
    0

    Standard

    How do you compile a LUA app/game to an eboot.pbp so you dont have to run it with Luaplayer? I have Cygwin installed and the psptoolchain installed. What else do I need to do?


    PM me for a sig like this!

    http://dspspforums.com/forums/index.php SIGN UP NOW!

  24. #1374
    Simon Champion!
    Points: 11.489, Level: 70
    Level completed: 60%, Points required for next Level: 161
    Overall activity: 99,0%

    Registriert seit
    Mar 2006
    Ort
    Calgary, Alberta, Ca
    Beiträge
    537
    Points
    11.489
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von califrag
    try this:

    Code:
    white = Color.new(255, 255, 255)
    frame_1 = Image.load("frame_1.png")
    frame_2 = Image.load("frame_2.png")
    frame_3 = Image.load("frame_3.png")
    
    showAnimation = true
    timer = Timer.new()
    
    while true do
    	pad = Controls.read()
    	timer:start()
    	screen:clear()
    
    	if showAnimation then
    		if timer:time() >= 0 and timer:time() <= 135 then 
    			screen:blit(0, 0, frame_1)
    		elseif timer:time() > 135 and timer:time() <= 270 then
    			screen:blit(0, 0, frame_2)
    		elseif timer:time() > 270 and timer:time() <= 405 then
    			screen:blit(0, 0, frame_3)
    		elseif timer:time() > 405 then
    			timer:stop()
    			timer:reset()
    		end
    	else
    		screen:print(0, 0, "Paused!", white)
    	end
    
    	if pad:cross() and pad ~= oldpad then
    		if showAnimation then showAnimation = false else showAnimation = true end
    	end
    
    	oldpad = pad
    	screen.flip()
    	screen.waitVblankStart(6)
    end
    I am very confused about this "oldpad" thing. How do you make it so when you press X it starts and when you press it again it stops etc.?
    Geändert von Greenskull (04-06-2006 um 03:33 PM Uhr)
    Games I Made:
    Stick Dance
    Stick Dance V2
    50% Done "Smile Quartet"


    MY XBOX.COM GAMER SPOTLIGHT!

  25. #1375
    QJ Gamer Green
    Points: 5.559, Level: 48
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    506
    Points
    5.559
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von SjaakRake
    How would I make a string containing "? Can this be done through the hex value? If yes, how?

    Blegh, I ask too much.
    Use this: \"
    This has to be in the quotations of the string itself. So say you want to put "hello" in a variable but with the quotations, you have to do this:
    text="\"hello\""

    [Dutch]Ja dat dacht ik al ja. "Sjaak" kom je niet zo vaak tegen in het buitenland .[/Dutch]
    LUA manual:
    [url]http://www.lua.org/manual/5.0/manual.html[/url]

    LUA Wiki:
    [url]http://wiki.ps2dev.org/psp:lua_player[/url]

  26. #1376
    QJ Gamer Green
    Points: 5.559, Level: 48
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    506
    Points
    5.559
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Glynnder- PSPro
    ok yea well done altair - how retarded of me, soz that was off the top of my head Sjaakrake
    Everybody has its "off"-days (is that how you say it?) and thx
    LUA manual:
    [url]http://www.lua.org/manual/5.0/manual.html[/url]

    LUA Wiki:
    [url]http://wiki.ps2dev.org/psp:lua_player[/url]

  27. #1377
    QJ Gamer Platinum
    Points: 87.718, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 100,0%
    Awards:
    Activity Award

    Registriert seit
    Jan 2006
    Ort
    stevens bumhole
    Beiträge
    10.308
    Points
    87.718
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    hi!

    how do you repeat a sound so when it ends it start at the begining again? please help! thanks! :) btw, its a wav file if that helps.

  28. #1378
    QJ Gamer Platinum
    Points: 87.718, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 100,0%
    Awards:
    Activity Award

    Registriert seit
    Jan 2006
    Ort
    stevens bumhole
    Beiträge
    10.308
    Points
    87.718
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    and how big should the wav file be so the lua player duzent hangs?? thanks

  29. #1379
    QJ Gamer Green
    Points: 5.559, Level: 48
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    506
    Points
    5.559
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    I dont know if there's a limit to the length or size, but i know it needs to be mono sound.
    Here's the command and its argument:
    Code:
    Sound.load(filename, [bool loop])
    So if you want it to loop then you say:
    Code:
    Sound.load(filename, true)
    This site is really usefull: http://wiki.ps2dev.org/psp:lua_player:functions
    LUA manual:
    [url]http://www.lua.org/manual/5.0/manual.html[/url]

    LUA Wiki:
    [url]http://wiki.ps2dev.org/psp:lua_player[/url]

  30. #1380
    QJ Gamer Platinum
    Points: 87.718, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 100,0%
    Awards:
    Activity Award

    Registriert seit
    Jan 2006
    Ort
    stevens bumhole
    Beiträge
    10.308
    Points
    87.718
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    need help again!

    ive made a menu. everything works exept that the intro song repeats it self from the moment it starts! wtf is wrong? help! please! :) here:

    finalizar=1
    while finalizar>0 do

    screen:blit (0,0,menu)

    musiclay()
    Music.volume(128)

    screenrint (420,10,"v 0.1",negro)
    screenrint (421,261,"MADSOUL",Color. new(80,80,math.random (1 , 255)))
    screenrint (420,260,"MADSOUL",Color. new(255,255,math.random (1 , 255)))
    screenrint (120,5,"This is your",rojo)
    screenrint (177,15,"last Score",rojo)
    screenrint (270,10,puntos,Color.new (math.random (1 , 255),math.random (1 , 245),math.random (1 , 255)))

    screen.waitVblankStart()
    screen.flip()

    pad = Controls.read()

    if pad:cross() then
    juego()
    end

    if pad:start() then
    finalizar=0
    end

    end


 

Tags for this Thread

Forumregeln

  • Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
  • Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
  • Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
  • Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
  •  





Alle Zeitangaben in WEZ -8. Es ist jetzt 07:52 AM Uhr.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .