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

RMVP Sprites in DX8 Problem


WiseRock
 Share

Recommended Posts

try this:

```

Public Sub DrawShadow(ByVal Sprite As Long, ByVal X As Long, ByVal Y As Long)

If hasShadow(Sprite) Then RenderTexture Tex_Shadow, ConvertMapX(X), ConvertMapY(Y), 0, 0, 32, 32, 32, 32

End Sub

```

else

```

DrawShadow

```

search for it and change the x and y properties, i had to do the same to get my 32x64 sprites working
Link to comment
Share on other sites

> I tried it doesnt work. How do I edit the Shadow Code though?

It should work lol >.> or you don't know how to do that neither.

```

' render player shadow

RenderTexture Tex_Shadow, ConvertMapX(X), ConvertMapY(Y + 18), 0, 0, 32, 32, 32, 32, D3DColorRGBA(255, 255, 255, 200)

```

Instead ConvertMapY(Y + 18) you put Y + 5

Edit: ups this is on EA and EM
Link to comment
Share on other sites

Well I got it working Thanks to everybody that tried to suggest something thanks! ![:lol:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/laugh.png) ![:lol:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/laugh.png) ![:lol:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/laugh.png) ![:lol:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/laugh.png)
Link to comment
Share on other sites

On EM theres a thing where you can enable RMVX sprite format how but when i enable that the sprites start acting wierd even sprites that are in the rmvx format anyway to fix this?

EDIT: Never Mind fixed it ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)

Could som1 Lock this please
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...