It is currently 27 Apr 2024, 05:29
   
Text Size

Slow performance

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Slow performance

Postby Snacko » 20 Feb 2010, 19:37

Ah I didn't test those out, it's now fixed.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Slow performance

Postby DennisBergkamp » 20 Feb 2010, 19:56

Works great now, thanks =D>

EDIT: Also, I guess there's no need for specifying any type of blur radius, this looks great both in LQ and HQ images :mrgreen:
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Slow performance

Postby Huggybaby » 20 Feb 2010, 23:11

Is the slow performance fixed?

I'm really looking forward to the next release. I want to see if any of the testers can make this baby crash, what the memory requirements are, and of course get a look at the new scaling.
User avatar
Huggybaby
Administrator
 
Posts: 3207
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 701 times
Been thanked: 594 times

Re: Slow performance

Postby DennisBergkamp » 20 Feb 2010, 23:34

It looks good now, I think, with this new scaling it looks a bit more polished.
In terms of performance, it should be fine again... the slowdown I had earlier today was probably due to cards not tapping, but Snacko fixed that :mrgreen:
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Slow performance

Postby silly freak » 21 Feb 2010, 00:20

i also couldn't see slowdown... except with the --GWSaproling, you know^^
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Slow performance

Postby DennisBergkamp » 21 Feb 2010, 17:45

Loads of tokens still kill the game :mrgreen:

Now, I'm wondering if it would be easy to put back in the full size view of HQ images in the Deck Editor (using GUI_PictureHQ).
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Slow performance

Postby silly freak » 21 Feb 2010, 18:58

I guess that's not too hard, but I've not played forge at the time that feature was around, so I don't know what it's supposed to do...
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Slow performance

Postby DennisBergkamp » 21 Feb 2010, 20:23

If HQ images are used, when hovering over an image in the deck editor, it should show a full size version of the card.
When hovering out, it will show the smaller image again.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Slow performance

Postby silly freak » 21 Feb 2010, 20:25

okay, i'll try it
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Slow performance

Postby silly freak » 21 Feb 2010, 21:57

done it ;)
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Slow performance

Postby DennisBergkamp » 21 Feb 2010, 21:59

Nice, thanks =D>
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Slow performance

Postby Chris H. » 22 Feb 2010, 00:40

I no longer get the java heap error when I mouse over a large number of HQ images in the Deck Editor. I like this. :D

I came across a small error. If you hover the mouse pointer over the area where the card image would be displayed (LQ or HQ) and you do not have the appropriate image file in your pics folder, you get this error exception:

Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


null


Version:
Forge -- official beta: $Date: 2010-02-15 14:21:36 -0500 (Mon, 15 Feb 2010) $, SVN revision: $Revision: 398 $

Detailed error trace:
java.lang.NullPointerException
   at forge.Gui_DeckEditor$26.paintComponent(Gui_DeckEditor.java:692)
   at javax.swing.JComponent.paint(JComponent.java:1017)
   at javax.swing.JComponent.paintChildren(JComponent.java:852)
   at javax.swing.JComponent.paint(JComponent.java:1026)
   at javax.swing.JComponent._paintImmediately(JComponent.java:5086)
   at javax.swing.JComponent.paintImmediately(JComponent.java:4870)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:829)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
   at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
   at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
`
If you mouse over a LQ image you will get a 2nd overlapping LQ image.
User avatar
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

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 93 guests


Who is online

In total there are 93 users online :: 0 registered, 0 hidden and 93 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 93 guests

Login Form