Computer Science Canada

Hey, Im new, and My Program has got a problem O.O

Author:  xBalmungx [ Tue Jan 12, 2010 6:22 pm ]
Post subject:  Hey, Im new, and My Program has got a problem O.O

Hey, Im all new to this Turing, and this is my first year doing it...so I have to make this game in Turing and I decided to do a text base game, however, my music only plays when I click X to close the screen -.-. Yea, so I was wondering if I put the music in the wrong place or something....Thanks! And currently Im working on my menu in the game... Very Happy

Author:  xBalmungx [ Tue Jan 12, 2010 6:26 pm ]
Post subject:  Re: Hey, Im new, and My Program has got a problem O.O

oh, and for some reason I cant put the actual music in, and only this picture came with it...im sorta confused... Crying or Very sad but pllease have a go at the code... Very Happy

Author:  xBalmungx [ Tue Jan 12, 2010 6:43 pm ]
Post subject:  Re: Hey, Im new, and My Program has got a problem O.O

I also realized that there is a problem with the text that appears, sometimes it flashes and disappears before anyone can read it....I have alot of problems

Author:  Kharybdis [ Tue Jan 12, 2010 7:30 pm ]
Post subject:  RE:Hey, Im new, and My Program has got a problem O.O

Your program isn't actually loading when you say it's loading... get rid of the delays -_-. Very annoying..
The flickering is because you have a delay, and then a clear screen command.. which clears what you have. So, "Loading Screen..." flashes for 1/4 of a second, the screen is cleared, and another "Loading Screen..." appears. Getting rid of the 'cls' command would help.

Also, put everything (all your files) in a zip file when you're attaching something to the site.

Author:  ProgrammingFun [ Tue Jan 12, 2010 7:52 pm ]
Post subject:  RE:Hey, Im new, and My Program has got a problem O.O

This should be posted in the Turing Help section.
However, you can put music in the beginning of the program.

Author:  xBalmungx [ Tue Jan 12, 2010 7:58 pm ]
Post subject:  Re: Hey, Im new, and My Program has got a problem O.O

Thank you, I will give it a try

Author:  xBalmungx [ Tue Jan 12, 2010 8:02 pm ]
Post subject:  Re: Hey, Im new, and My Program has got a problem O.O

I tried it, =but the music still is not working properly.... Sad

Author:  Kharybdis [ Wed Jan 13, 2010 7:10 am ]
Post subject:  RE:Hey, Im new, and My Program has got a problem O.O

If the music is not playing, but the program doesn't crash, it's because something is wrong with the music itself.

Author:  xBalmungx [ Wed Jan 13, 2010 7:26 am ]
Post subject:  Re: Hey, Im new, and My Program has got a problem O.O

Well, I did use an mp3 file, has that got anything to do with it?

Author:  Turing_Gamer [ Wed Jan 13, 2010 3:34 pm ]
Post subject:  Re: Hey, Im new, and My Program has got a problem O.O

Put the music in a process and put the music inside the process. Then fork the process in your code. See if that makes a difference.
BTW, I couldn't load the file.
Turing:
process PLAYME
    Music.PlayFile ("MyMusic.mp3")
end PLAYME

fork PLAYME

Author:  xBalmungx [ Wed Jan 13, 2010 5:08 pm ]
Post subject:  Re: Hey, Im new, and My Program has got a problem O.O

Thx that works, and i will try to zip it to include all the files, Smile


: