Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 [source]3 Different Music things for 3 dif places in a game
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
DanShadow




PostPosted: Fri Jan 23, 2004 10:29 am   Post subject: [source]3 Different Music things for 3 dif places in a game

Check these out, I made em, th eyre cool:
code:

var hp, maxhp : int := 30
var musik : string := "normal"

proc music
    if musik = "normal" then
        play ("zxervwanaIvhaeexsihtwmandrdnigihaz")
    elsif musik = "fight" then
        play ("6cpc+6cpc+6cpc+6cpc+6cpc+6cpc+")
    elsif musik = "cemetery" then
        play (">2fdjsqew<eijlkufjzlkaztrzeijlf")
    end if
end music

loop
    locate (1, 1)
    put "HP: ", hp, "/", maxhp
    put "Music In Condition: ", musik
    music
    hp := hp - 1
    if hp = 25 then
        musik := "fight"
    elsif hp < 20 then
        musik := "cemetery"
    end if
end loop
Sponsor
Sponsor
Sponsor
sponsor
shorthair




PostPosted: Fri Jan 23, 2004 10:44 am   Post subject: (No subject)

Well its alright , but what are you trying to acomplish , is HP HIT POWER ?
shorthair




PostPosted: Fri Jan 23, 2004 10:46 am   Post subject: (No subject)

IT NEVER ENDS , im at -30 hp
DanShadow




PostPosted: Fri Jan 23, 2004 10:50 am   Post subject: (No subject)

nah...I just used HP as a counter...it means nothing. I just thought the musik was kinda neat....sounds like one of the olden *golden* games Smile
shorthair




PostPosted: Fri Jan 23, 2004 10:53 am   Post subject: (No subject)

I see where your goin with that , well in that perspective , its pretty cool
jonos




PostPosted: Mon Jan 26, 2004 11:35 am   Post subject: (No subject)

does the music change for what position you're in for a game (like in zelda ocarina of time). that's pretty cool.
DanShadow




PostPosted: Mon Jan 26, 2004 2:37 pm   Post subject: (No subject)

yep, it does. and tx Very Happy
sport




PostPosted: Mon Jan 26, 2004 5:59 pm   Post subject: (No subject)

All that's left is to make the game
Sponsor
Sponsor
Sponsor
sponsor
DanShadow




PostPosted: Mon Jan 26, 2004 9:08 pm   Post subject: (No subject)

lol, there is no game. Im just submitting a few different music kinda files if anyone wants to use them. Ya know, being helpful. Very Happy
sport




PostPosted: Mon Jan 26, 2004 9:41 pm   Post subject: (No subject)

I mean the music by itself is kinda useless it needs a game to with it.
DanShadow




PostPosted: Mon Jan 26, 2004 10:00 pm   Post subject: (No subject)

are you messed...lol. Make your own game, and if you want you can use the music in your game. Understand? The submission was the music..not a game. Rolling Eyes
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 11 Posts ]
Jump to:   


Style:  
Search: