First Spear Posted July 23, 2016 Share Posted July 23, 2016 Not quite as polished as "Course 2", but now any programmer that needs a base for the first level of their platformer (or other frenetic game), here it is. Enjoy. As it turns out, it is hard to create content with just two voices, saving the other 1 and the sound channel for game effects, and still have something that can be looped as a background tune. PlatformerCourse1.bas platformercourse1.rom Mode 0,1,0,1,0WaitBorder 1,0Scroll 4,4,0For borderNew=0 to 200 Step 20 : Poke $200+borderNew, $2000: Poke $213+borderNew, $2000 : Next borderNewWaitWaitPrint At 21 Color 7 , "Platformer"Print At 41 Color 7 , "Course 1"Print At 141 Color 5 , "Restart: Top side"Print At 161 Color 6 , "Exit: bottom side"ecsCheck = peek($4000)Poke $4000 , ecsCheck + 1If Peek($4000) = ecsCheck + 1 thenPrint At 61 Color 4 , "(PSG+ECS) "ElsePrint At 61 Color 4 , "(PSG only)"End IfWaitPlay SimpleWaitPlay MyMusicWaitGoto PlayLoopPlayLoop:WaitIf Cont.B0 Then Wait : Play Off : Wait : Play MyMusicIf Cont.B1 Then Goto ExitThisIf Cont.B2 Then Goto ExitThisWaitGoto PlayLoopExitThis:WaitPrint At 213 Color (Rand and 7) , "Bye."For spinWait = 0 to 5WaitNextPlay OffMyMusic:Data 5Music G5#X , A3ZMusic S , SMusic A5 , A3Music - , SMusic - , C4#Music - , SMusic - , D4Music - , E4Music - , SMusic - , E4Music - , D4Music F5# , SMusic S , C4#Music E5 , SMusic S , A3Music G5# , SMusic S , A3Music A5 , SMusic - , C4#Music - , SMusic - , D4Music - , E4Music - , SMusic - , E4Music C6 , D4Music S , SMusic S , SMusic S , SMusic C6 , A3Music S , SMusic G5# , A3Music S , SMusic A5 , C4#Music - , SMusic - , D4Music - , E4Music - , SMusic - , E4Music - , D4Music - , SMusic - , C4#Music F5# , SMusic S , A3Music E5 , SMusic S , A3Music G5# , SMusic S , C4#Music A5 , SMusic - , D4Music - , G4Music - , SMusic - , G4Music - , F4#Music - , SMusic C6 , E4Music S , SMusic G5# , D3Music S , SMusic E5 , D3Music S , SMusic D6 , F3#Music S , SMusic E6 , G3Music S , A3Music F6# , SMusic S , A3Music E6 , G3Music S , SMusic D6 , F3#Music S , SMusic S , D3Music S , SMusic D6 , D3Music S , SMusic E6 , F3#Music S , SMusic F6# , G3Music S , A3Music E6 , SMusic S , A3Music D6 , G3Music S , SMusic S , F3#Music S , SMusic G6# , E3Music S , SMusic G6# , E3Music S , SMusic G6 , G3#Music S , SMusic G6# , A3Music S , B3Music - , SMusic - , B3Music G6 , A3Music S , SMusic G6# , G3#Music S , SMusic B6 , E3Music S , SMusic - , SMusic - , SMusic - , -Music - , -Music F6# , -Music S , -Music E6 , -Music S , -Music C6 , -Music S , -Music B5 , -Music S , -Music S , -Music S , -Music G5# , A3Music S , SMusic A5 , A3Music - , SMusic - , C4#Music - , SMusic - , D4Music - , E4Music - , SMusic - , E4Music - , D4Music F5# , SMusic S , C4#Music E5 , SMusic S , A3Music G5# , SMusic S , A3Music A5 , SMusic - , C4#Music - , SMusic - , D4Music - , E4Music - , SMusic - , E4Music C6 , D4Music S , SMusic S , SMusic S , SMusic C6 , A3Music S , SMusic G5# , A3Music S , SMusic A5 , C4#Music - , SMusic - , D4Music - , E4Music - , SMusic - , E4Music - , D4Music - , SMusic - , C4#Music F5# , SMusic S , A3Music E5 , SMusic S , A3Music G5# , SMusic S , C4#Music A5 , SMusic - , D4Music - , G4Music - , SMusic - , G4Music - , F4#Music - , SMusic C6 , E4Music S , SMusic G5# , D3Music S , SMusic E5 , D3Music S , SMusic D6 , F3#Music S , SMusic E6 , G3Music S , A3Music F6# , SMusic S , A3Music E6 , G3Music S , SMusic D6 , F3#Music S , SMusic S , D3Music S , SMusic D6 , D3Music S , SMusic E6 , F3#Music S , SMusic F6# , G3Music S , A3Music E6 , SMusic S , A3Music D6 , G3Music S , SMusic S , F3#Music S , SMusic G6# , E3Music S , SMusic G6# , E3Music S , SMusic G6 , G3#Music S , SMusic G6# , A3Music S , B3Music - , SMusic - , B3Music G6 , A3Music S , SMusic G6# , G3#Music S , SMusic B6 , E3Music S , SMusic - , SMusic - , SMusic - , -Music - , -Music F6# , -Music S , -Music E6 , -Music S , -Music C6 , -Music S , -Music B5 , -Music S , -Music S , -Music S , -Music Repeat Quote Link to comment Share on other sites More sharing options...
fsuinnc Posted July 24, 2016 Share Posted July 24, 2016 (Sort of general question) Is there an easy way to post audio clips of songs and sounds similar to the way animated GIFs are posted? Quote Link to comment Share on other sites More sharing options...
nanochess Posted July 24, 2016 Share Posted July 24, 2016 (Sort of general question) Is there an easy way to post audio clips of songs and sounds similar to the way animated GIFs are posted?With the new version of JZINTV (creates AVI files with ZMBV codec) and using VLC player to scale video x2 is possible to create very easily clips for Youtube. 1 Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted July 26, 2016 Share Posted July 26, 2016 (edited) (Sort of general question) Is there an easy way to post audio clips of songs and sounds similar to the way animated GIFs are posted? You go to "More Reply Options" (down the page/thread, on your right). You attach file using "Choose Files..." (below, on your left). You can "Add to Post" if you want link to appear in your reply instead of just below (place cursor at the desired position). At least mp3 and wav are allowed. If you have mp3 uploaded on a server, you can use the Special BBCode (third icon above Reply window) and select Media. This is what you could get (if your browser allow for Adobe Flash Player). http://sometimes.planet-99.net/pic/crash.mp3 Edited July 26, 2016 by sometimes99er 3 Quote Link to comment Share on other sites More sharing options...
fsuinnc Posted July 26, 2016 Share Posted July 26, 2016 You go to "More Reply Options" (down the page/thread, on your right). You attach file using "Choose Files..." (below, on your left). You can "Add to Post" if you want link to appear in your reply instead of just below (place cursor at the desired position). fanfare.wav At least mp3 and wav are allowed. If you have mp3 uploaded on a server, you can use the Special BBCode (third icon above Reply window) and select Media. This is what you could get (if your browser allow for Adobe Flash Player). http://sometimes.planet-99.net/pic/crash.mp3 Thanks. This is all helpful. Quote Link to comment Share on other sites More sharing options...
+Tarzilla Posted July 26, 2016 Share Posted July 26, 2016 With the new version of JZINTV (creates AVI files with ZMBV codec) and using VLC player to scale video x2 is possible to create very easily clips for Youtube. ...or after saving the avi with the newest jzintv, pull the avi into Virtualdub (with the ZMBV codec installed) and Save the audio out as a Wav file. Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted July 26, 2016 Share Posted July 26, 2016 If all you want is the sound, start jzintv with the -F<wave filename> command line parameter e.g. jzintv -FSound.wav .... Which will record all sounds to Sound.wav Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.