theres the code i use, its not that rgeat but it worksmusic = Sound.load("music.wav")
musicplaying = true
while true do
if musicplaying == true then
musiclay()
musicplaying = false
end
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.
theres the code i use, its not that rgeat but it worksmusic = Sound.load("music.wav")
musicplaying = true
while true do
if musicplaying == true then
musiclay()
musicplaying = false
end
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks