Results 1 to 3 of 3

Thread: I need help PLEASE

                  
   
  1. #1

    Default I need help PLEASE

    I want to make a pong game and also want to implement some music. can anyone like give me the code to this so i can study it. im trying to make my first lua app. i decided to do Pong. any other suggestions???? i dont know too much about lua yet...

    things i learned:
    - If ONE LETTER is not correct or has proper punctuation, the whole program wont work.

    - how to load an image.
    - how to print text and arrange them to the screen.
    - set color information.
    - how to organize code with ----> -- (title or text) <-------

    is this enough info to make something simple like a pong game??? or should i start with something smaller. Please hand me suggestions.

  2. #2
    Wii User shiftybill's Avatar
    Join Date
    Nov 2005
    Location
    The dark side of the moon
    Posts
    221
    Rep Power
    68

    Default

    music = Sound.load("music.wav")
    musicplaying = true

    while true do

    if musicplaying == true then
    musiclay()
    musicplaying = false
    end
    theres the code i use, its not that rgeat but it works

  3. #3

    Default

    There is already a Pong game.
    It does not mean that you don't have to do one but I think that all information you need are included in the script of the already existing one.

    Here the link to it:
    http://forums.ps2dev.org/viewtopic.php?t=3382

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •