DarkDino Posted May 2, 2014 Author Share Posted May 2, 2014 Hi Eclipse.My DX8 Render ListBox:![](http://i1070.photobucket.com/albums/u492/darkdino2d/btp_zps0bffd46c.png)I want to save the value of Quest, when i click in a Quest of my list.My Engine is Eclipse FF. Link to comment Share on other sites More sharing options...
Helladen Posted May 2, 2014 Share Posted May 2, 2014 When asking people for help, you need to communicate better.This typical response is what people who do not speak English frequently give, which is why I suggest if you want help you improve the clarity and context of what you are asking for. Link to comment Share on other sites More sharing options...
DarkDino Posted May 2, 2014 Author Share Posted May 2, 2014 Sorry. I fix my post now. Link to comment Share on other sites More sharing options...
abhi2011 Posted May 3, 2014 Share Posted May 3, 2014 What you could do is create a texture which is basically the "selection". When an item in the list is hit say item number 7 you can just render the texture at that location. Link to comment Share on other sites More sharing options...
DarkDino Posted May 3, 2014 Author Share Posted May 3, 2014 I make a Texture behind the fonts, but how to when click in the Texture this SELECT? Link to comment Share on other sites More sharing options...
abhi2011 Posted May 4, 2014 Share Posted May 4, 2014 Loop through the each and every option and check whether the x and y is within the text area. Something like this```for i = 1 to 10if (text is not empty) thenif x > textX and x < textx + textwidth thenif y > texty and y < texty + textheight thendrawselectionboxend if end if end ifnext ``` Link to comment Share on other sites More sharing options...
DarkDino Posted May 6, 2014 Author Share Posted May 6, 2014 Thanks Abhi2011 to help here :). Slasher help me to complete the system! this solved. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now