Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Messing around in Dx8


Robin
 Share

Recommended Posts

@[SB:

> Teh Adulese link=topic=51337.msg538295#msg538295 date=1251951951]
> See whenever you use "messing around" I tend to think, like ICT, that you have spent DAYS upon DAYS starring at your computer working in DX8\. But that may just be me.
>
> - Adulese

I only started programming this a few hours ago. >_>;

The slide in/out code and fade in/out code is just a few dozen lines.

```
            If tmr20 + 20 < .Tick Then

                'Shader
                If FadeDirection = 0 Then 'Fade in
                    If CurrentFade > 0 Then
                        CurrentFade = CurrentFade - 3
                    Else
                        FadeDirection = 2
                    End If
                ElseIf FadeDirection = 1 Then 'Fade Out
                    If CurrentFade < 255 Then
                        CurrentFade = CurrentFade + 3
                    Else
                        FadeDirection = 2
                    End If
                End If

                'Panorama
                If PanoramaX > 0 Then
                    PanoramaX = PanoramaX - 1
                Else
                    PanoramaX = 640
                End If

                'Logo slide in
                If logoTop < 40 Then
                    logoTop = logoTop + 5
                End If

                'Foreground slide in
                If foregroundTop > 50 Then
                    foregroundTop = foregroundTop - 5
                End If
                tmr20 = .Tick
            End If
```
Link to comment
Share on other sites

@[SB:

> Teh Adulese link=topic=51337.msg538301#msg538301 date=1251952757]
> Okay, I still see you hunched over at your computer coding. The only way to prove my point is for you to Hypercam your computer as you re-code this program. I challenge you goods sir.
>
> - Adulese

The DirectX8 class I use was programmed a good year ago. The actual project is just doing an early bind of that, loading up a form, and doing a basic loop with some rendering and that code I posted. xD
Link to comment
Share on other sites

Added some basic player movement.

Check it out. Once on the logo screen, click anywhere to fade out into the actual game environment.

[http://www.freemmorpgmaker.com/files/imagehost/pics/b3fdf560d31a07b7a8165c132d6ac223.rar](http://www.freemmorpgmaker.com/files/imagehost/pics/b3fdf560d31a07b7a8165c132d6ac223.rar)
Link to comment
Share on other sites

@[SB:

> Teh Adulese link=topic=51337.msg538295#msg538295 date=1251951951]
> See whenever you use "messing around" I tend to think, like ICT, that you have spent DAYS upon DAYS starring at your computer working in DX8\. But that may just be me.
>
> - Adulese

Unfortunately no he is just that quick :P
I was on MSN with him as he was programming it :P
Link to comment
Share on other sites

```
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"Z:\\home\\Desktop\\wn\\Wind's Nocturne.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\Desktop\\wn\\Wind's Nocturne.exe" failed, status c0000135

```yay! Time to install DLLs!

edit:
```
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x32f64c,0x00000000), stub!
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x157ad4), stub!
fixme:quartz:FilterGraphInner_QueryInterface unknown interface {7fd52380-4e07-101b-ae2d-08002b2ec713}
fixme:quartz:FilterGraphInner_QueryInterface unknown interface {37d84f60-42cb-11ce-8135-00aa004bb851}
fixme:quartz:MediaControl_RenderFile (0x192d6e0/0x192d6e4)->(L"Z:\\home\\Desktop\\wn\\music\\Broken Promise.mp3" (0x2187d4)): stub !!!
fixme:quartz:FilterGraphInner_QueryInterface unknown interface {df0b3d60-548f-101b-8e65-08002b2bd119

```WOOT! Moar fail!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...