Blodyavenger Wrote:Did that with GIAKEN's dx8 class help
http://www.youtube.com/watch?v=nDp45Rf4a...annel_page
If at all possible, it would look a LOT better if the particles went BEHIND the menu's and such.
Just my opinion, though.
Blodyavenger
Unregistered
Thanks for suggestion, I'm going to do that for sure.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Here's how to make music loop.
Code: Public Sub LoopMusic()
If DSPosition.CurrentPosition = DSPosition.Duration Then
DSPosition.CurrentPosition = 0
DSControl.Run
End If
End Sub
Just call CDX8.LoopMusic in your main loop to loop the music.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Robin Wrote:Here's how to make music loop.
Code: Public Sub LoopMusic()
If DSPosition.CurrentPosition = DSPosition.Duration Then
DSPosition.CurrentPosition = 0
DSControl.Run
End If
End Sub
Just call CDX8.LoopMusic in your main loop to loop the music. Awesome. Thanks.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Add a sound system.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Eh people just use my DX7 class to play WAVs.
Very nice, it adds a little professional touch to an amator game  Good job I Think this is very useful 8-)
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
GIAKEN Wrote:Eh people just use my DX7 class to play WAVs.
I'm not gonna run DX7 just for DirectSound.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
DirectX8 is too complicated just for people around here that want to just play WAVs...
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
GIAKEN Wrote:DirectX8 is too complicated just for people around here that want to just play WAVs...
It's hardly complicated. Just load a sound into an auto-purging array.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Robin Wrote:GIAKEN Wrote:DirectX8 is too complicated just for people around here that want to just play WAVs...
It's hardly complicated. Just load a sound into an auto-purging array.
Haha. Easy for you to say. I'm adequate when it comes to VB6, and I still have quite a few problems using DX7 and DX8. Then again, the learning curve for those two subjects are much higher than that of the regular VB6 syntax.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Nean Wrote:Robin Wrote:GIAKEN Wrote:DirectX8 is too complicated just for people around here that want to just play WAVs...
It's hardly complicated. Just load a sound into an auto-purging array.
Haha. Easy for you to say. I'm adequate when it comes to VB6, and I still have quite a few problems using DX7 and DX8. Then again, the learning curve for those two subjects are much higher than that of the regular VB6 syntax.
Good point. I literally woke up one morning and realised I could do whatever I wanted. That was a fun weekend.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
The reason it's overly complicated isn't because it's hard to implement, it's because there's way too much shit you have to do just to play a simple WAV file when DX7 does it much simpler...
Robin Wrote:Nean Wrote:Robin Wrote:GIAKEN Wrote:DirectX8 is too complicated just for people around here that want to just play WAVs...
It's hardly complicated. Just load a sound into an auto-purging array.
Haha. Easy for you to say. I'm adequate when it comes to VB6, and I still have quite a few problems using DX7 and DX8. Then again, the learning curve for those two subjects are much higher than that of the regular VB6 syntax.
Good point. I literally woke up one morning and realised I could do whatever I wanted. That was a fun weekend.
That's how I learned SadScript and got started on Visual Basic. I had attempted to learn SadScript numerous times, and then had to go on a seven day trip. Before going, I could hardly do the simplest of things, but when I came back I realized that all of it sort of made sense. The only way that I can think that something like this happened, is I heard that when you study something for a long amount of time, your body subconsciously repeats these actions through your head when you're sleeping. Of course, I can't verify that this is true, but it's the only thing that'd make this seem probable/possible.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Nean Wrote:Robin Wrote:Nean Wrote:Robin Wrote:GIAKEN Wrote:DirectX8 is too complicated just for people around here that want to just play WAVs...
It's hardly complicated. Just load a sound into an auto-purging array.
Haha. Easy for you to say. I'm adequate when it comes to VB6, and I still have quite a few problems using DX7 and DX8. Then again, the learning curve for those two subjects are much higher than that of the regular VB6 syntax.
Good point. I literally woke up one morning and realised I could do whatever I wanted. That was a fun weekend.
That's how I learned SadScript and got started on Visual Basic. I had attempted to learn SadScript numerous times, and then had to go on a seven day trip. Before going, I could hardly do the simplest of things, but when I came back I realized that all of it sort of made sense. The only way that I can think that something like this happened, is I heard that when you study something for a long amount of time, your body subconsciously repeats these actions through your head when you're sleeping. Of course, I can't verify that this is true, but it's the only thing that'd make this seem probable/possible.
It seems plausible. I've often woken up to find the answer to my problem in my head, after spending hours trying to work it out the night before.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Yeah I do that...I have dreams about how to code things sometimes.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
GIAKEN Wrote:Yeah I do that...I have dreams about how to code things sometimes.
Ah, you dream about coding when you're not dreaming about food?
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Robin Wrote:GIAKEN Wrote:Yeah I do that...I have dreams about how to code things sometimes.
Ah, you dream about coding when you're not dreaming about food?
Yeah about half and half.
|