|
|
#1 |
|
Minimodder
Join Date: Jan 2007
Posts: 28
![]() |
Question about GUI Program Design
Hello,
I have a desire to find a way to create a small little program that shows your video games as graphics similar to the large icon view in steam... EXCEPT... It does nothing more than just launch the games themselves (Doesn't update or save games, etc...). A Game launcher if you will... How would I get started in doing that? Any help is greatly appreciated... I mean I don't know what code I should be looking at or if there is a "code tool" like dreamweaver that designs them (Graphically not functionally). Thanks
|
|
|
|
|
|
#2 |
|
How many wifi's does it have?
Join Date: Jan 2007
Location: Montreal, Canada
Posts: 11,545
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You have multiple options available.
(no orders) -> Java -> C# -> C/C++ using Windows Forms (MFC) -> C# using Microsoft XAML (.NET) - For Windows Presentation Foundation (WPF) or Silverlight -> Flash + Third party software to make 100% stand alone applications out of of a Flash project (it means no Flash plug-in required to run them). Third Party software also extends Flash to use many Windows API. -> Visual Basics Basically the more OS "native" you go, the more complicated and free it is. The fastest and easiest way, and I think, the way that can learn you the basis of programming including object oriented programing, all in a graphic environment like Microsoft Paint (coding is still required), working in a world where you don't care about window creation, memory management or anything like that, and you can do any wacky looks you want.. Zune, Steam, native Windows.... Flash + third party software is your biggest friend. However, you needs to purchase 2 software. My personally recommendation is this way, as you don't know coding, and I think Flash ActiopnScript 2.0 or 3.0 can give you a good start to programming. While other languages you want to work with command line programs to learn how to code first, (which can get people off) and then once a bit more comfortable venture in interface, Flash allows you to directly dig in doing a visual interface. You'll need to learn ActionScript which is close to Java-Script so it's not hard, and it's like learning 2 languages in one, as they are very similar. Also help you transition to Java, and even C++, in terms of how the code looks. Flash is very visual base. And I think it can be very helpful in learning procedural programming and how it works, as well as an introduction to Object Oriented programming in a visual way. Where Objects are actual objects, which you can work with and interact with. It's a shame that their isn't any free Flash editor to get started. But there is a 30-day trial. And of course for both software you have substantial student discounts. Second easiest way, involves more coding needed. But you can do it for free, using Virtual C# Express edition 2010 (http://www.microsoft.com/visualstudi...csharp-express) You'll need to learn C# and venture in .NET. While you need to ensure .NET compatibility with different version of Windows, you can make programs looks like native Windows ones, while with Flash.. you can't and have to recreate everything. C# is close to C++. Third easiest way is Java. You can developer Java using NetBeans editor or Eclipse. Java projects uses it's own interface, but easy to make. The downside is that your project will take time to load (much slower than method 1) Forth way, is to use C# + XAML. This method allows you to make interfaces like Zune software (it uses that), and do web base apps made in Silverlight. Doing a native Windows look-a like software is, like Flash, involves a bit more work though. You get to use Microsoft Expression Blend (not free) to do the layout, or/and use Visual Studio's (not sure if it's available for free) Fifth way, is C/C++ using MFC. You need to learn C/C++ first, be comfortable with it, as you need to know what pointers are, learn Windows specific data type, memory management, and object oriented programming, and of course MFC which on it's own is complicated. Also you'll need to find a way to decode and load pictures for specific formats and use them in your project. Also you MAY need to know how to work with libraries for your project. However, you can use Visual C++ Express to do this (free): http://www.microsoft.com/visualstudi...al-cpp-express, or other free compilers like GCC. Visual Basics uses a language that isn't close to C/C++ in any way. It kinda sits on it's own. You need Visual Basic Express. However you get to make Windows native. If you go or at least interested (you get the trial version of both) with the Flash + SWF Studio path , I can help A LOT. It's really easy to do.
__________________
Nv GPU Pro - Automate your graphic card overclock base on what you run, reduce power and noise. Designed for Laptops and Desktops. Filled with features. Core i7 930 2.8GHz | G.Skill Pi 6GB 1600MHz 7-5-7-24 1.5V | Gigabyte GA-X58A-UD5 | GeForce GTX 260 | W.D Caviar Black 1TB | Corsair AX750 | Noctua NH-U12P | Xonar Essence STX | Win8 Pro 64-bit | Dell U2410 - 1920x1200 | OCZ Vertex 4 250GB Last edited by GoodBytes; 17th May 2012 at 05:08. |
|
|
|
|
|
#3 |
|
Hypermodder
Join Date: Sep 2010
Location: Hawaii
Posts: 848
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Excellent post as always GB
.Personally, if you're trying to make this just for yourself, I would go with .NET. Easy to design stuff to integrate with Windows in there. You're going to need to set up functions that scan your computer for "games", and .NET can interact with the Windows file system easily. I say all this assuming you're working in the Windows environment xD. If I remember correctly, visual studio comes with a graphical GUI editor that you can use to design your window too. It'll take you a while to learn how to program in that environment though.
__________________
"I have lived on the lip of insanity, wanting to know reasons, knocking on a door. It opens. I've been knocking from the inside." -- Rumi |
|
|
|
|
|
#4 | ||
|
How many wifi's does it have?
Join Date: Jan 2007
Location: Montreal, Canada
Posts: 11,545
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks
Quote:
This is what I have in my head on how to this. * Use Access Database using ADO (Access Database is in built-in Windows since XP, so no extra stuff to install.. even though it's a bit excessive for such small program, finding better solutions later on can be made and it's a good start for him). This database will use 1 table (let's call it Games) with the following columns:1- Program starts, connects to the database (fairly straight forward), and execute the SQL command: SELECT * FROM Games (it means get everything on the table name "Games" that we created).- ID 2- Pass through the received results using a for loop, where for each entry (if any): create and position and object in a panel, which you will load the game picture that was stored using the GUID value stored, and set the path to the button that will make the game run. 3- Have a button on the program that when you click on it, you get an input box asking the name of the program, and then once clicked on OK, the Windows Open dialog box will show to select the game executable (the program will get the full path to the executable, once it's selected on that open dialog box), and followed by another one to select the picture to import and use. 3a- Once done, it generates a GUID code to be used right after. 3b- Copies the image file select to "AppData\Roaming\<Program Name>\Pictures" (let's assume a standard Windows configuration, local, no domain, nor use any special group policy which could change the path for now), with the <GUID code that was generated>.jpg (or .png or bmp, which ever you wish to support) as file name. 3c- Execute the SQL command to the already connected database: "INSERT INTO Games ([Name],[Path],[GUID]) VALUES ('"+gameNameEntered+"', '"+gamePathSelected+"', '"+guidCodeGeneratedForTheGame+"');"[/indent] 3d - Delete all objects, and execute code "#2" to refresh (let's not break our head with some optimizations for this first project) Quote:
__________________
Nv GPU Pro - Automate your graphic card overclock base on what you run, reduce power and noise. Designed for Laptops and Desktops. Filled with features. Core i7 930 2.8GHz | G.Skill Pi 6GB 1600MHz 7-5-7-24 1.5V | Gigabyte GA-X58A-UD5 | GeForce GTX 260 | W.D Caviar Black 1TB | Corsair AX750 | Noctua NH-U12P | Xonar Essence STX | Win8 Pro 64-bit | Dell U2410 - 1920x1200 | OCZ Vertex 4 250GB Last edited by GoodBytes; 17th May 2012 at 05:05. |
||
|
|
|
|
|
#5 |
|
I'm special...
Join Date: May 2008
Location: Aarhus, Denmark
Posts: 3,757
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I'd have a look at the Qt Framework as well. What the OP is interested in doing can be achieved in very short time, probably in under an hour. Does require some knowledge of C++, Java or JavaScript, though.
__________________
It's not the end of the world ...but you can see it from here. Xeon E3-1245 v2 3.4 GHz | ASUS P8C WS | 16GB Kingston ECC DDR3 | Samsung 830 256GB | eVGA GTX670 2GB | SB Audigy | Seasonic X-560 | Corsair Obsidian 550D | Dell 2209WA |
|
|
|
|
|
#6 |
|
How many wifi's does it have?
Join Date: Jan 2007
Location: Montreal, Canada
Posts: 11,545
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I had some free time a moment ago, so I made this to show off what you can do easily with Flash + SWF Studio.
I copied the Steam look ![]() Here what it looks like in Flash: Download: http://tinyurl.com/6q2ltzg (executable and full source code included) Give it a spin!
__________________
Nv GPU Pro - Automate your graphic card overclock base on what you run, reduce power and noise. Designed for Laptops and Desktops. Filled with features. Core i7 930 2.8GHz | G.Skill Pi 6GB 1600MHz 7-5-7-24 1.5V | Gigabyte GA-X58A-UD5 | GeForce GTX 260 | W.D Caviar Black 1TB | Corsair AX750 | Noctua NH-U12P | Xonar Essence STX | Win8 Pro 64-bit | Dell U2410 - 1920x1200 | OCZ Vertex 4 250GB Last edited by GoodBytes; 17th May 2012 at 18:53. |
|
|
|
![]() |
| Thread Tools | |
|
|