Projects / Pac Defence / Comments

Comments for Pac Defence

10 Sep 2009 02:13 slogsweep

Yeah, I found that problem too, the day after uploading, so changed like 2 lines of code to fix it and uploaded the new version, without making a new release because it was so trivial. So it should be fixed now.

Thanks for letting me know of the bug though.

09 Sep 2009 15:47 galukalock

Hi,

quite an addictive game. Good work.

I get a partial crash on (apparently) any map.

Traceback:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Radius cannot be negative
at logic.Circle.setRadius(Unknown Source)
at logic.Circle.<init>(Unknown Source)
at sprites.AbstractSprite.draw(Unknown Source)
at gui.GameMapPanel.drawUpdate(Unknown Source)
at gui.GameMapPanel.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5147)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)
at javax.swing.RepaintManager.paint(RepaintManager.java:1145)
at javax.swing.JComponent._paintImmediately(JComponent.java:5095)
at javax.swing.JComponent.paintImmediately(JComponent.java:4905)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:740)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:696)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:676)
at javax.swing.RepaintManager.access$700(RepaintManager.java:57)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1550)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Hopefully it's not too hard to fix.

My java packages are as follows:

java-1.6.0-openjdk-1.6.0.0-20.b16.fc10.x86_64
java-1.5.0-gcj-1.5.0.0-23.fc10.x86_64 (compatibility package for other programs)

Thanks!

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.