Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

RedEchidna

Members
  • Posts

    158
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by RedEchidna

  1. For the lniks, if the number of links is one less than a power of 2, you could set the middle link to the average position of the ends(I'm sure you know how to do that), and then place the other links at the average positions of multiple links and/or ends. Simple, really. (I'd guess you've got that already.) For swinging movement, use counters with decimal values for the positions, and another for the speed. Use these calculations for the counters: (Assuming you named the counters after what they represent) Set BallX to BallX + (Cos(Angle between ball and POR(0=right, turning to the right) + 90) * Value(BallSpeed)) Set BallY to BallY + (Sin(Angle between ball and POR(0=right, turning to the right) + 90) * Value(BallSpeed)) Or use path movement.I'm not sure. Does that help (any)?
  2. Okay. Set the device to either "Waveaudio" or "mciqtz.drv". (I recommend the first.) Now, in the events, tell the MCI object, at whatever time you want the MP3 to start playing, to "Open themp3.mp3" and then to "Play themp3.mp3". If you want it to repeat, then instead of "Play themp3.mp3", use "Play themp3.mp3 repeat". The MP3 has to be in the same folder as the game. (I believe.) When you are done with the MP3, use "close themp3.mp3". If this doesn't work, then let me know.
  3. My best guess would be to use the Mixer object and make the volue of the SW synth(for MIDIs) or Wave(for MP3s, but also affects sound affects) volume gradually decrease when something happens. But I'm thinking you actually want to fade between two different tunes. Unless they're one as an MP3, and the other a MIDI, this wouldn't work.
  4. What? Anyways, if it's, by chance, what I think it is, you just add 22.5 to the equation to find the angle. That's probably it.
  5. Sorry. I just thought that because of this quote.
  6. It's just a thought, but try using just one counter, and redo the switch leaders events. Like instead of; [LIST]If "Sonic leader" = 1 [/LIST]+Upon pressing "B" [INDENT]Set "Sonic Leader" to 0 Set "Knux Leader" to 1[/INDENT] [/CODE] And so on, try; [CODE][LIST]Upon pressing "B" [/LIST][INDENT]Sub 1 to "Leader"[/INDENT] [/CODE] [CODE][LIST]Upon pressing "Y" [/LIST][INDENT]Add 1 to "Leader"[/INDENT] [/CODE] [CODE][LIST]If "Leader" = 3 [/LIST][INDENT]Sub 3 to "Leader"[/INDENT] [/CODE] [CODE][LIST]If "Leader" = -1 [/LIST][INDENT]Add 3 to "Leader"[/INDENT] [/CODE]
  7. And for some reason, I actually thought that I would've been proved wrong. Oh, well.
  8. I was at that SAGE. If you mean that game Dobermann was making, he was originally making it in 3D, sorta like Sonic Robo Blast 2, but then he ran into a problem with it and decided to make it more like Sonic Xtreme, the cancelled Sega Saturn game. He did have a 404 on the URL, but if you want to get the newer version, then vist http://dobermannsoftware.com.
  9. You could try using the MCI Object. MMF should come with an example that shows how to use it. It works with MP3 files, you just have to make it play them. It even gets you the time into and duration of the file, for making it loop or a sound test sort of thing where it shows the time into the file. You don't need any DLL files or anything, and you can play from or to a position. It will also work with WAV and MIDI files, and it could work with any music file(Though this is not guaranteed). Try it and see.
×
×
  • Create New...