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

How to render a list in dx8??


santa-clause
 Share

Recommended Posts

  • 2 weeks later...
Loop through it and render it, multiply the x or y by an offset value * the loop counter and render whatever else you need to render around that area.
Link to comment
Share on other sites

Basically, you use: For….. Next

So according to the value of "i" for example, you change Y.

```
For i = 1 to 5

x = 50

y = 20 * i

Next
```

I hope I helped… ![:lol:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/laugh.png)
Link to comment
Share on other sites

I have to change everything in my project to be rendered in directx8 because of my fullscreen functionality, already 'updated' the auction system, but now I'm in the guild system

basicly I have a global for the CurSelectedMember which will tell from with number it will draw the list of members, if CurSelectedMember = 1 then it will render from 1 to 10, if 2 then from 11 to 20\. I Then added another global which is CurChoosenMember which is used in the key events to say which player is being hovered and clicks. I think that's all I did, here's a preview of how it went: (BTW the engine is translated to portuguese ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png))

>! ![](http://img19.imageshack.us/img19/3066/leguildmenu.png)
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...