Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DirectX8 Class Demonstration :) ver1.3
#26
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.
Reply
#27
Thanks for suggestion, I'm going to do that for sure.
Reply
#28
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?
Reply
#29
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.
Reply
#30
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?
Reply
#31
Eh people just use my DX7 class to play WAVs.
Reply
#32
Very nice, it adds a little professional touch to an amator game Smile Good job I Think this is very useful 8-)
Reply
#33
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?
Reply
#34
DirectX8 is too complicated just for people around here that want to just play WAVs...
Reply
#35
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?
Reply
#36
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.
Reply
#37
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?
Reply
#38
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...
Reply
#39
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.
Reply
#40
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?
Reply
#41
Yeah I do that...I have dreams about how to code things sometimes.
Reply
#42
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?
Reply
#43
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)