Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / reading rubik's cube formulas with dark gdk?

Author
Message
study
15
Years of Service
User Offline
Joined: 12th Dec 2008
Location:
Posted: 29th Jun 2010 11:22
Hi friends
I want to design a rubik's cube software, i should convert rubik's notation to graphical moves, can i do this by means of dark GDK? i need reading text ( formulas ) from a file or text, can i read txt file and wirk with it in dark GDK?
Regards
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 29th Jun 2010 11:44
GDK have nothing to do with reading files, to read a file, this is one way of loading a file


study
15
Years of Service
User Offline
Joined: 12th Dec 2008
Location:
Posted: 29th Jun 2010 12:14
What about reading from text box? can i have text box or something like it in my game? i should read formulas from a place to do them in graphic mode.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 29th Jun 2010 12:21 Edited at: 29th Jun 2010 12:21
i don't really know what you are trying to do, and what you have done till now, what text box? windows api text box? if it's a resource use GetDlgItemText ( ), if it's a custom text box that you have made, then you should have the text already stored in a buffer, and you can easily parse it like:


what is graphics mode?

study
15
Years of Service
User Offline
Joined: 12th Dec 2008
Location:
Posted: 29th Jun 2010 12:37
Thanks Hassan
I think i should study more about it and come back again
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 29th Jun 2010 15:58
@Hassan
I think he is wanting to show this kind of notation using GDK:
Rubik notation

@study
Is that correct?
The basic answer to your question is 'yes'. You can do anything you can think of with GDK, I would say GDK/DBPro would be a good choice for this kind of project.

Login to post a reply

Server time is: 2024-11-19 20:22:22
Your offset time is: 2024-11-19 20:22:22