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

Item Description Image


Guest
 Share

Recommended Posts

Edit: Ok again on this topic

Symphony didn't figured it out how to do that on Eclipse 3.0 Event System DX8 , but thanks anyway…

So who can help me ? :(
Someone who have some time to edit a fresh copy of Eclipse 3.0 event system dx8 then PM it to me or post it here...

Hello there !

I want to know if it's possible to have at item description a bigger image than 32x32,if it is possible then how can i do it?
A member here told me about a sub but i'm kinda stupid at programming stuff and formulas.

There are 2 squares of 32x32 image ,1 for ground and 1 for inventory,i think…
The thing is that i want the ground item image to be the same 32x32 the inventory too 32x32 but when i hover with the mouse pointer to show me a 56x68 image or whatever size but to not be smaller than that

Because for example i want to hover over an item and to show me this card.
![](http://www.freemmorpgmaker.com/files/imagehost/pics/7da96a56ab3af1e195a347fd70c48f46.png)

Note: i  use Jcsnider's DX8  engine so maybe there are easier ways than in EO v2.0

I'm such a noob at this… :( sorry

What do i need to change here in this Sub

>! Public Sub BltItemDesc(ByVal itemnum As Long)
Dim rec As RECT, rec_pos As RECT, srcRect As D3DRECT, destRect As D3DRECT
Dim itempic As Long
>!     ' If debug mode, handle error then exit out
    If Options.Debug = 1 Then On Error GoTo errorhandler

    'frmMain.picItemDescPic.Cls

    If itemnum > 0 And itemnum <= MAX_ITEMS Then
        itempic = Item(itemnum).Pic
>!         If itempic = 0 Then Exit Sub

        Direct3D_Device.Clear 0, ByVal 0, D3DCLEAR_TARGET, D3DColorRGBA(0, 0, 0, 0), 1#, 0
        Direct3D_Device.BeginScene
>!         With rec
            .Top = 0
            .Bottom = .Top + PIC_Y
            .Left = Tex_Item(itempic).Width / 2
            .Right = .Left + PIC_X
        End With
>!         With rec_pos
            .Top = 0
            .Bottom = 64
            .Left = 0
            .Right = 64
        End With
        RenderTextureToDC Tex_Item(itempic), rec, rec_pos, frmMain.picItemDescPic, False
>!         With destRect
            .X1 = 0
            .Y1 = 0
            .Y2 = 64
            .X2 = 64
        End With

        Direct3D_Device.EndScene
        Direct3D_Device.Present destRect, destRect, frmMain.picItemDescPic.hWnd, ByVal (0)
        'Engine_BltToDC DDS_Item(itempic), rec, rec_pos, frmMain.picItemDescPic, False
    End If

And when an item is on ground i want the little card image to be there and when i pick it up and hover it with mouse pointer to show me the bigger image in the right.

![](http://www.freemmorpgmaker.com/files/imagehost/pics/100651d643607de868c47afa17e528b3.png)

The Card image is 56x68

![](http://www.freemmorpgmaker.com/files/imagehost/pics/1de15baabf7c41a5993a37417b47f696.png)
Link to comment
Share on other sites

@ZeroX8:

> yes it is possible, just change ths size of the picturebox for it

That's not helping me…

Hmm can somebody suggest me the exact subs where should i edit to get what i want ? Please T~T
Link to comment
Share on other sites

You need to edit Sub BltItemDesc in modDirectDraw7.

Edit. Oh! I've just noticed the _"Note: i  use Jcsnider's DX8  engine so maybe there are easier ways than in EO v2.0"_. Sorry what i've just said was for EO. I haven't downloaded jcsnider version so I can't help for now. Sorry  :embarrassed:
Link to comment
Share on other sites

@Symphony:

> That has absolutely nothing to do with what she wants, silly <3
> And like you know Lumi, I'm working on it for you. c:

I love you Symphony <3

And Alatar thank you anyway i appreciate that you read this.
Link to comment
Share on other sites

  • 3 weeks later...
Ok again on this topic

Symphony didn't figured it out how to do that on Eclipse 3.0 Event System DX8 , but thanks anyway…

So who can help me ? :(
Someone who have some time to edit a fresh copy of Eclipse 3.0 event system dx8 then PM it to me or post it here...

:s
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...