Making a prettier GUI
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Making a prettier GUI
by Rob Cashwalker » 16 Mar 2011, 15:15
I just felt like messing with the ManaSymbols and the Mana Pool:
Haven't done extensive tests, but it should place normal mana and snow mana into two columns x 6 rows (for each color).
Haven't done extensive tests, but it should place normal mana and snow mana into two columns x 6 rows (for each color).
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Making a prettier GUI
by Sloth » 16 Mar 2011, 15:28
It's definitely an improvements to see at a glance how much mana is stored. I don't care very much for the ordering.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Making a prettier GUI
by Rob Cashwalker » 16 Mar 2011, 15:33
Do you mean you don't care which order it's in, or you think it should be ordered differently?
Here's a more thorough test:
Here's a more thorough test:
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Making a prettier GUI
by jendave » 07 Jul 2011, 17:19
Resurrecting an old thread....
I have been trying to clean up the code base lately and see that there is a lot of code for the "old GUI". Does anyone still use that? Is everyone using the "new GUI". On the startup screen, does anyone uncheck the "Use new GUI" checkbox? If you use the old GUI, is there a feature that the new GUI is missing?
I hope to remove all of the old code so it will be easier to update the current GUI.
Thanks
Dave
I have been trying to clean up the code base lately and see that there is a lot of code for the "old GUI". Does anyone still use that? Is everyone using the "new GUI". On the startup screen, does anyone uncheck the "Use new GUI" checkbox? If you use the old GUI, is there a feature that the new GUI is missing?
I hope to remove all of the old code so it will be easier to update the current GUI.
Thanks
Dave
Re: Making a prettier GUI
by DennisBergkamp » 07 Jul 2011, 18:58
I think there are still people that have trouble with the new GUI (GuiDisplay4.java), and use the old one (GuiDisplay3.java). I think it should be ok though to remove the ones that are even older.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Making a prettier GUI
by Chris H. » 07 Jul 2011, 19:06
I switched to the new GUI once the launchers were set up to increase the java heap space. Without the increase to the java heap space the new GUI became unplayable for me.
I have not used the old style GUI recently. I now only use the new GUI.
I have not used the old style GUI recently. I now only use the new GUI.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Making a prettier GUI
by jendave » 07 Jul 2011, 19:09
I also noticed that in the source, there are Look and Feel dependencies (napkin, nimrod and substance). They have not been included in the latest builds. Are these still needed?
Re: Making a prettier GUI
by Chris H. » 07 Jul 2011, 19:17
I remember Snacko suggesting that the LAFs could provide some improvement to the spartan and basic default OS LAF. Dennis spent a couple of weeks adding the LAFs that he could find.
Some were buggy and caused error exceptions. Dennis removed the worst of them. The LAFs I imagine do not come with much by way of support from their authors.
Some were buggy and caused error exceptions. Dennis removed the worst of them. The LAFs I imagine do not come with much by way of support from their authors.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Making a prettier GUI
by jendave » 07 Jul 2011, 21:12
Thanks for the feedback. I am in the process of removing the cloudgarden code. I will then start pruning down the old GUI code. I'll pay special attention to the heap and see if I can make any improvements in the new GUI. I'll keep the LAF's in mind but won't focus on those. For the time being I am not going to change any functionality. I am just trying to focus on making the current stuff more manageable.
Re: Making a prettier GUI
by Chris H. » 07 Jul 2011, 21:36
At one point in the past some added the jl1.0.1.jar (?) for the purpose of having in-game sounds. People noticed some java heap space issues in reference to the HQ pics that had been recently added. The tapping sound that was added at that time may have caused additional heap space issues.
Dennis turned off or detached the sound code, can't remember which. He recently stated that the jl1.0.1.jar lib is primarily for music. I guess that this one can also go.
I'm not sure if we should add in-game sounds via another lib at some point. It is an interesting feature but most people would agree that heap space issues are more important.
Dennis turned off or detached the sound code, can't remember which. He recently stated that the jl1.0.1.jar lib is primarily for music. I guess that this one can also go.
I'm not sure if we should add in-game sounds via another lib at some point. It is an interesting feature but most people would agree that heap space issues are more important.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Making a prettier GUI
by jendave » 07 Jul 2011, 21:41
Yes. The heap size is the priority. I will most likely remove all of the LAF and jl libs for the time being. They are probably out of date at best.
Re: Making a prettier GUI
by Braids » 08 Jul 2011, 00:47
what minimum size screen do we officially support or recommend? i tried on a 1024x600 netbook, but i couldn't read the stack or phase information. basically unplayable. i didn't consider choosing a different GUI . . .jendave wrote:. . . I will then start pruning down the old GUI code. I'll pay special attention to the heap and see if I can make any improvements in the new GUI. I'll keep the LAF's in mind but won't focus on those. For the time being I am not going to change any functionality. I am just trying to focus on making the current stuff more manageable.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: Making a prettier GUI
by Chris H. » 08 Jul 2011, 00:58
`Braids wrote:what minimum size screen do we officially support or recommend? i tried on a 1024x600 netbook, but i couldn't read the stack or phase information. basically unplayable. i didn't consider choosing a different GUI . . .
1024 x 768 is the minimum.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Making a prettier GUI
by friarsol » 08 Jul 2011, 02:48
There is an issue regarding sizes of Windows: http://code.google.com/p/cardforge/issues/detail?id=67 It may end up waiting until a new generation of UI is built for Forge.Braids wrote:what minimum size screen do we officially support or recommend? i tried on a 1024x600 netbook, but i couldn't read the stack or phase information. basically unplayable. i didn't consider choosing a different GUI . . .
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Making a prettier GUI
by DennisBergkamp » 08 Jul 2011, 14:59
The reason the sounds were causing heap space errors was because it would create a new "MP3Player" object every single time a sound was playedChris H. wrote:At one point in the past some added the jl1.0.1.jar (?) for the purpose of having in-game sounds. People noticed some java heap space issues in reference to the HQ pics that had been recently added. The tapping sound that was added at that time may have caused additional heap space issues.
Dennis turned off or detached the sound code, can't remember which. He recently stated that the jl1.0.1.jar lib is primarily for music. I guess that this one can also go.
I'm not sure if we should add in-game sounds via another lib at some point. It is an interesting feature but most people would agree that heap space issues are more important.

-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 50 guests