Random Terrain's Profile
Reputation: 259
Excellent
- Active Posts:
- 16,493 (5.07 per day)
- Most Active In:
- Atari 2600 (2110 posts)
- Joined:
- 23-April 01
- Profile Views:
- 23,023
- Last Active:
Today, 12:57 PM- Currently:
- Offline
Latest Visitors
-
Cebus Capucinis 
Yesterday, 5:07 PM -
codyr783 
18 Mar 2010 - 5:18 -
atari2600land 
18 Mar 2010 - 8:39 -
Nateo 
15 Mar 2010 - 9:11 -
Miss 2600 
13 Mar 2010 - 10:49 -
Uncle Duke 
13 Mar 2010 - 4:16 -
rga321 
11 Mar 2010 - 10:21 -
IndusGT 
10 Mar 2010 - 11:08 -
Lendorien 
10 Mar 2010 - 10:32 -
Nathan Strum 
10 Mar 2010 - 11:09
-
In Topic: You Promised Scans and Didn't Deliver!
Posted 20 Mar 2010
Going by other forums on the Internet, I thought a moderator was supposed to be a touchy, biased, cliquey douchebag with a God complex? Where did this neutral, mature stuff come from? -
In Topic: You Promised Scans and Didn't Deliver!
Posted 19 Mar 2010
-
In Topic: You Promised Scans and Didn't Deliver!
Posted 19 Mar 2010
You could always PM the people who forgot. If they're too busy to scan, they're probably too busy to see this thread. Or if they're like me, they probably don't even remember promising anything, so this thread would be useless even if they see it. -
In Topic: Mass Effect 2 Discussion
Posted 19 Mar 2010
Jess Ragan, on Fri Mar 19, 2010 10:57 AM, said:I cheated a bit and went to YouTube for the solution. Turns out you've got to mention a specific artist, music group, and drug to get through it. All the other paths lead to failure. (Also, yeah, I don't have the Paragon or Renegade points to open up some of the conversation choices. That's what I get for being diplomatic, I guess!)
Yeah, that guy standing kind of outside of the club tells you about the music group. Didn't know I could keep the murdery daughter. -
In Topic: Code Snippets & Samples for bB Beginners
Posted 18 Mar 2010
Cliff Friedel, on Thu Mar 18, 2010 12:43 AM, said:Anyone happen to have an example of a sound system subroutine that can be called from a main loop? The only way I can think of doing this would be to have the sound registers, a duration, the voice it belongs to (0 or 1)and then having it do something like
subroutine
if a = 1 then read data : load sound registers for voice
if a=duration variable then turn off audv0 or audv1 : a = 0 : return
a = a + 1
return
This seems like it would work, but I figured I would ask before trying it and wasting time (and bytes). Any other ideas?
Cliff
You mean like the kind of thing that the Music and Sound Editor can create? Right now it creates code using sdata, based on the Music Starter using sdata, but after the next update it will also create code that uses regular data if you want that will look like this:
rem ***************************************************** rem * rem * Music Starter using data rem * rem * Based on code posted in the Ballblazer thread at AtariAge: rem * http://www.atariage.com/forums/index.php?s=&showtopic=130990&view=findpost&p=1615280 rem * rem * Code adapted by Duane Alan Hahn (Random Terrain) rem * rem * Explanation: rem * This has a 256-byte limitation. rem * rem ***************************************************** set smartbranching on rem ***************************************************** rem * Create aliases for variables rem ***************************************************** dim duration=a dim rand16=z rem ***************************************************** rem * Variable descriptions rem ***************************************************** rem * duration - how long each note plays rem * x - data counter rem * rand16 - makes better random numbers rem * Volume off AUDV0=0 AUDV1=0 rem * Initialize duration and data counter duration = 1 : x = 0 rem ***************************************************** rem * rem * Main game loop starts here. rem * rem ***************************************************** MainLoop goto GetMusic GotMusic drawscreen goto MainLoop rem ***************************************************** rem * Music rem ***************************************************** GetMusic rem * Check for end of current note duration = duration - 1 if duration>0 then GotMusic rem * Retrieve channel 0 data temp4 = musicData[x] : x = x + 1 temp5 = musicData[x] : x = x + 1 temp6 = musicData[x] : x = x + 1 rem * Check for end of data if temp4=255 then duration = 1 : x = 0 : goto GotMusic rem * Play channel 0 AUDV0 = temp4 AUDC0 = temp5 AUDF0 = temp6 rem * Retrieve channel 1 data temp4 = musicData[x] : x = x + 1 temp5 = musicData[x] : x = x + 1 temp6 = musicData[x] : x = x + 1 rem * Play channel 1 AUDV1 = temp4 AUDC1 = temp5 AUDF1 = temp6 rem * Set duration duration = musicData[x] : x = x + 1 goto GotMusic rem ***************************************************** rem * Music Data Block rem ***************************************************** rem * Format: rem * v,c,f (channel 0) rem * v,c,f (channel 1) rem * d rem * rem * Explanation: rem * v - volume (0 to 15) rem * c - control [a.k.a. tone, voice, and distortion] (0 to 15) rem * f - frequency (0 to 31) rem * d - duration data musicData 8,12,29 0,0,0 15 2,12,29 0,0,0 8 8,12,19 0,0,0 15 2,12,19 0,0,0 8 8,12,17 0,0,0 15 2,12,17 0,0,0 8 255 end goto GotMusic
My Information
- Member Title:
- Visual batari Basic User
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Custom Status:
- Randomness - Nonlinear - Replay Value
- Gender:
-
- Location:
- North Carolina (USA)
- Interests:
- I have many interests. Visit my web site to see the tip of the iceberg.
Contact Information
- E-mail:
- Private
- Website URL:
-
http://www.randomterrain.com/

Sign In
Register
Help
Send me a message
Find Topics
Find Posts
Display name history

Comments
Random Terrain
24 Dec 2009 - 9:06JacobZu7zu7
24 Dec 2009 - 9:00Random Terrain
18 Oct 2009 - 5:13moycon
18 Oct 2009 - 12:15Random Terrain
11 Oct 2009 - 2:46MausGames
11 Oct 2009 - 2:38Random Terrain
27 Sep 2009 - 5:22Chickybaby
24 Sep 2009 - 4:13Polybius
23 Sep 2009 - 4:27Foxy Cleopatra
24 Aug 2009 - 6:36The #5
29 Jul 2009 - 11:04Random Terrain
21 Apr 2009 - 3:58rpgfaker
21 Apr 2009 - 10:31Random Terrain
02 Nov 2007 - 7:43128bytes
02 Nov 2007 - 1:39