PDA

View Full Version : Infiltrator


ElectricKirby
05-25-2011, 03:02 PM
I have a lot of problems with Alice, it seems... It returns to me a lot of errors, and so my capabilities are limited. In the attached game, which is the End-of-Term Project for my Computer Programming class, I'm want to add a "hard" setting, where the enemies shoot back. However, when I start the world, and press ENTER at the Main Game Screen (This One (http://i53.tinypic.com/vox2u0.png)) it gives me the following error:
Error during simulation.




Alice version: 2.2 1/16/2009



Throwable that caused the error:

java.lang.ArrayIndexOutOfBoundsException: 1

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childPrologueIfNecessary(DoInOrder. java:51)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:97)

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.upd ate(CallToUserDefinedResponse.java:86)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childUpdate(DoInOrder.java:57)

at edu.cmu.cs.stage3.alice.core.response.ForEachToget her$RuntimeForEachTogether.childUpdate(ForEachToge ther.java:68)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:98)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childUpdate(DoInOrder.java:57)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:98)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childUpdate(DoInOrder.java:57)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:98)

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.upd ate(CallToUserDefinedResponse.java:86)

at edu.cmu.cs.stage3.alice.core.behavior.AbstractCond itionalBehavior.internalSchedule(AbstractCondition alBehavior.java:90)

at edu.cmu.cs.stage3.alice.core.Behavior.schedule(Beh avior.java:225)

at edu.cmu.cs.stage3.alice.core.Sandbox.scheduleBehav iors(Sandbox.java:70)

at edu.cmu.cs.stage3.alice.core.World.scheduleBehavio rs(World.java:444)

at edu.cmu.cs.stage3.alice.core.World.schedule(World. java:486)

at edu.cmu.cs.stage3.alice.core.clock.DefaultClock.sc hedule(DefaultClock.java:99)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l$11.run(AuthoringTool.java:698)

at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.simulateOnce(DefaultScheduler.java:115)

at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.run(DefaultScheduler.java:76)

at edu.cmu.cs.stage3.scheduler.AbstractScheduler.run( AbstractScheduler.java:45)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.Dialog$1.run(Unknown Source)

at java.awt.Dialog$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.awt.Dialog.show(Unknown Source)

at java.awt.Component.show(Unknown Source)

at java.awt.Component.setVisible(Unknown Source)

at java.awt.Window.setVisible(Unknown Source)

at java.awt.Dialog.setVisible(Unknown Source)

at edu.cmu.cs.stage3.swing.DialogManager.showModalDia log(DialogManager.java:60)

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(D ialogManager.java:128)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.play(AuthoringTool.java:5157)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$15.a ctionPerformed(Actions.java:168)

at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)

at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)





I don't understand. There's nothing wrong with the code that I can see...

I run Alice 2.2 on Windows 7.

DensetsuNoKaboom
05-25-2011, 04:54 PM
1/16/2009?!

Perhaps you should redownload Alice 2.2.

ElectricKirby
05-26-2011, 08:43 AM
So I redownloaded it, and got this error in the same situation as above:

Error during simulation.




Alice version: 2.2 02/10/2011



Throwable that caused the error:

java.lang.ArrayIndexOutOfBoundsException: 1

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childPrologueIfNecessary(DoInOrder. java:52)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:100)

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.upd ate(CallToUserDefinedResponse.java:89)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childUpdate(DoInOrder.java:58)

at edu.cmu.cs.stage3.alice.core.response.ForEachToget her$RuntimeForEachTogether.childUpdate(ForEachToge ther.java:74)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:101)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childUpdate(DoInOrder.java:58)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:101)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childUpdate(DoInOrder.java:58)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:101)

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.upd ate(CallToUserDefinedResponse.java:89)

at edu.cmu.cs.stage3.alice.core.behavior.TriggerBehav ior.internalSchedule(TriggerBehavior.java:70)

at edu.cmu.cs.stage3.alice.core.Behavior.schedule(Beh avior.java:233)

at edu.cmu.cs.stage3.alice.core.Sandbox.scheduleBehav iors(Sandbox.java:70)

at edu.cmu.cs.stage3.alice.core.World.scheduleBehavio rs(World.java:457)

at edu.cmu.cs.stage3.alice.core.World.schedule(World. java:499)

at edu.cmu.cs.stage3.alice.core.clock.DefaultClock.sc hedule(DefaultClock.java:99)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l$8.run(AuthoringTool.java:710)

at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.simulateOnce(DefaultScheduler.java:115)

at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.run(DefaultScheduler.java:76)

at edu.cmu.cs.stage3.scheduler.AbstractScheduler.run( AbstractScheduler.java:45)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.Dialog$1.run(Unknown Source)

at java.awt.Dialog$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.awt.Dialog.show(Unknown Source)

at java.awt.Component.show(Unknown Source)

at java.awt.Component.setVisible(Unknown Source)

at java.awt.Window.setVisible(Unknown Source)

at java.awt.Dialog.setVisible(Unknown Source)

at edu.cmu.cs.stage3.swing.DialogManager.showModalDia log(DialogManager.java:61)

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(D ialogManager.java:131)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.play(AuthoringTool.java:5182)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$16.a ctionPerformed(Actions.java:177)

at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)

at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)



Error during world stop.




Alice version: 2.2 02/10/2011



Throwable that caused the error:

java.lang.NullPointerException

at edu.cmu.cs.stage3.alice.core.Behavior$RuntimeStack .pop(Behavior.java:49)

at edu.cmu.cs.stage3.alice.core.Behavior.popStack(Beh avior.java:367)

at edu.cmu.cs.stage3.alice.core.response.LoopNInOrder $RuntimeLoopNInOrder.epilogue(LoopNInOrder.java:11 0)

at edu.cmu.cs.stage3.alice.core.response.CompositeRes ponse$RuntimeCompositeResponse.childrenEpiloguesIf Necessary(CompositeResponse.java:67)

at edu.cmu.cs.stage3.alice.core.response.CompositeRes ponse$RuntimeCompositeResponse.epilogue(CompositeR esponse.java:74)

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.epi logue(CallToUserDefinedResponse.java:98)

at edu.cmu.cs.stage3.alice.core.response.CompositeRes ponse$RuntimeCompositeResponse.childrenEpiloguesIf Necessary(CompositeResponse.java:67)

at edu.cmu.cs.stage3.alice.core.response.CompositeRes ponse$RuntimeCompositeResponse.epilogue(CompositeR esponse.java:74)

at edu.cmu.cs.stage3.alice.core.response.CompositeRes ponse$RuntimeCompositeResponse.childrenEpiloguesIf Necessary(CompositeResponse.java:67)

at edu.cmu.cs.stage3.alice.core.response.CompositeRes ponse$RuntimeCompositeResponse.epilogue(CompositeR esponse.java:74)

at edu.cmu.cs.stage3.alice.core.response.DoTogether$R untimeDoTogether.epilogue(DoTogether.java:85)

at edu.cmu.cs.stage3.alice.core.response.CompositeRes ponse$RuntimeCompositeResponse.childrenEpiloguesIf Necessary(CompositeResponse.java:67)

at edu.cmu.cs.stage3.alice.core.response.CompositeRes ponse$RuntimeCompositeResponse.epilogue(CompositeR esponse.java:74)

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.epi logue(CallToUserDefinedResponse.java:98)

at edu.cmu.cs.stage3.alice.core.Response$RuntimeRespo nse.stop(Response.java:116)

at edu.cmu.cs.stage3.alice.core.behavior.TriggerBehav ior.stopAllRuntimeResponses(TriggerBehavior.java:9 9)

at edu.cmu.cs.stage3.alice.core.Behavior.stopped(Beha vior.java:396)

at edu.cmu.cs.stage3.alice.core.Element.stopped(Eleme nt.java:1875)

at edu.cmu.cs.stage3.alice.core.World.stop(World.java :509)

at edu.cmu.cs.stage3.alice.core.clock.DefaultClock.st op(DefaultClock.java:58)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.worldStopRunning(AuthoringTool.java:5127)

at edu.cmu.cs.stage3.alice.authoringtool.dialog.Rende rContentPane.postDialogShow(RenderContentPane.java :226)

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(D ialogManager.java:132)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.play(AuthoringTool.java:5182)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$16.a ctionPerformed(Actions.java:177)

at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)

at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

arty-fishL
05-26-2011, 09:18 AM
Are you able to view the method called enemyFire (the one causing the above errors) without getting an error that says: An error occurred while creating the graphics component for this object. ?
If so, can you export the code as a webpage, zip it up and post it here???

ElectricKirby
05-26-2011, 02:57 PM
Oddly, the code is gone, but the Do Togethers are still there, with nothing in them...
http://i52.tinypic.com/11mf5vl.png


I'm going to try remaking the method to see if that works. The method is the same as the world.fire method, instead using [obj]'s part named [part] in place of the laser, and using a list that held all of the enemies' lasers...

Also the error that says: An error occurred while creating the graphics component for this object. pops up 24 times when I open the world:

An error occurred while creating the graphics component for this object.




Alice version: 2.2 02/10/2011



Throwable that caused the error:

java.lang.NullPointerException

at edu.cmu.cs.stage3.alice.core.question.PartKeyed.ge tValue(PartKeyed.java:40)

at edu.cmu.cs.stage3.alice.core.Property.evaluateIfNe cessary(Property.java:380)

at edu.cmu.cs.stage3.alice.core.Property.getValue(Pro perty.java:407)

at edu.cmu.cs.stage3.alice.core.property.ElementPrope rty.getElementValue(ElementProperty.java:37)

at edu.cmu.cs.stage3.alice.authoringtool.viewcontroll er.StringPropertyLabel.update(StringPropertyLabel. java:38)

at edu.cmu.cs.stage3.alice.authoringtool.viewcontroll er.PropertyLabel.<init>(PropertyLabel.java:43)

at edu.cmu.cs.stage3.alice.authoringtool.viewcontroll er.StringPropertyLabel.<init>(StringPropertyLabel.java:31)

at edu.cmu.cs.stage3.alice.authoringtool.viewcontroll er.FormattedElementViewController.refreshGUI(Forma ttedElementViewController.java:377)

at edu.cmu.cs.stage3.alice.authoringtool.viewcontroll er.FormattedElementViewController.setElement(Forma ttedElementViewController.java:185)

at edu.cmu.cs.stage3.alice.authoringtool.util.GUIFact ory.getGUI(GUIFactory.java:119)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.ComponentElementPanel.set(ComponentEle mentPanel.java:47)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.ComponentResponsePanel.set(ComponentRes ponsePanel.java:48)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.CompositeComponentResponsePanel.makeGUI (CompositeComponentResponsePanel.java:55)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeComponentElementPanel.updateG UI(CompositeComponentElementPanel.java:203)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeComponentElementPanel.set(Com positeComponentElementPanel.java:141)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementPanel.variableInit(Com positeElementPanel.java:141)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementPanel.set(CompositeEle mentPanel.java:108)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.CompositeResponsePanel.set(CompositeRes ponsePanel.java:47)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.SequentialResponsePanel.set(SequentialR esponsePanel.java:48)

at edu.cmu.cs.stage3.alice.authoringtool.util.GUIFact ory.getGUI(GUIFactory.java:79)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.CompositeComponentResponsePanel.makeGUI (CompositeComponentResponsePanel.java:50)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeComponentElementPanel.updateG UI(CompositeComponentElementPanel.java:203)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeComponentElementPanel.set(Com positeComponentElementPanel.java:141)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementPanel.variableInit(Com positeElementPanel.java:141)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.IfElseElementPanel.variableInit(IfElse ElementPanel.java:95)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementPanel.set(CompositeEle mentPanel.java:108)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.ConditionalResponsePanel.set(Conditiona lResponsePanel.java:43)

at edu.cmu.cs.stage3.alice.authoringtool.util.GUIFact ory.getGUI(GUIFactory.java:49)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.CompositeComponentResponsePanel.makeGUI (CompositeComponentResponsePanel.java:50)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeComponentElementPanel.updateG UI(CompositeComponentElementPanel.java:203)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeComponentElementPanel.set(Com positeComponentElementPanel.java:141)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementPanel.variableInit(Com positeElementPanel.java:141)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.IfElseElementPanel.variableInit(IfElse ElementPanel.java:95)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementPanel.set(CompositeEle mentPanel.java:108)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.ConditionalResponsePanel.set(Conditiona lResponsePanel.java:43)

at edu.cmu.cs.stage3.alice.authoringtool.util.GUIFact ory.getGUI(GUIFactory.java:49)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.CompositeComponentResponsePanel.makeGUI (CompositeComponentResponsePanel.java:50)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeComponentElementPanel.updateG UI(CompositeComponentElementPanel.java:203)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeComponentElementPanel.set(Com positeComponentElementPanel.java:141)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementPanel.variableInit(Com positeElementPanel.java:141)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.MainCompositeElementPanel.variableInit (MainCompositeElementPanel.java:87)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementPanel.set(CompositeEle mentPanel.java:108)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.MainCompositeElementPanel.set(MainComp ositeElementPanel.java:78)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.ResponseEditor.createElementTree(Respon seEditor.java:75)

at edu.cmu.cs.stage3.alice.authoringtool.editors.comp ositeeditor.CompositeElementEditor.updateGui(Compo siteElementEditor.java:201)

at edu.cmu.cs.stage3.alice.authoringtool.editors.resp onseeditor.ResponseEditor.setObject(ResponseEditor .java:61)

at sun.reflect.GeneratedMethodAccessor88.invoke(Unkno wn Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at edu.cmu.cs.stage3.alice.authoringtool.util.EditorU tilities.editObject(EditorUtilities.java:177)

at edu.cmu.cs.stage3.alice.authoringtool.TabbedEditor Component.editObject(TabbedEditorComponent.java:10 0)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.editObject(AuthoringTool.java:1258)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.editObject(AuthoringTool.java:1254)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.loadTabs(AuthoringTool.java:2726)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.loadWorld(AuthoringTool.java:2031)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.loadWorld(AuthoringTool.java:1928)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.showStartUpDialog(AuthoringTool.java:1346)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.openWorld(AuthoringTool.java:1378)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$2.ac tionPerformed(Actions.java:92)

at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)

at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.AbstractButton.doClick(Unknown Source)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unk nown Source)

at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mou seReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

ElectricKirby
05-26-2011, 04:24 PM
There's no rule against double posts, right?

Remaking the method worked. But thanks for the help. The current progress is below. I am working on adding the boss, then I'll get the mechanics down.

arty-fishL
05-26-2011, 04:34 PM
So its fixed then? If it is then great!
I will look at it in a minute.

EDIT - take a note that SPOILER tags don't work :( (their hidden, but I noticed them in a subscription email)

ElectricKirby
05-28-2011, 07:09 PM
Improvements:


Boss added
Boss attacks
Hard mode improved
"Recycling" enemies
Super Lasers (Grab the blue sphere when it appears)
and some other things...


All I need to do is make the boss go left/right, so it's not always centered, and add in the collisions and health, then it's all set. At the moment, you can fly through enemies, and the boss can't hurt you, but your lasers won't kill anything either ;)

arty-fishL
05-29-2011, 06:23 PM
This game looks like it has some super potential to be a really good game when it is finished, especially for a newbie to the forums.

zero00
06-06-2011, 06:29 PM
This looks great! I think this will be a great game, when you finish it! :D

I've made a few games (sort of), maybe I can work with you on this game!

ElectricKirby
06-07-2011, 06:27 PM
Update attached.
Improvements:

Score shown.
Enemies can be shot
Enemies can shoot you (in Hard Mode)
Cheat Codes added
BGM Added

Known/Existing Bugs:

Enemies don't always die when you shoot them
When the boss attacks, it returns the width. Doesn't affect the game.
Using the "rave" cheat disables the cheat dialog.

zero00
06-07-2011, 07:10 PM
The game's looking great! Good job! :D
Edit: BTW, where did you get the UFO model from? Did you make it yourself?

ElectricKirby
06-12-2011, 11:54 AM
The game's looking great! Good job! :D
Edit: BTW, where did you get the UFO model from? Did you make it yourself?
I found it floating around in the Share Objects section

Anyway, as per normal:

Improvements/Additions:

More BGM's added
Sound effect when shooting

Known Existing Bugs/Glitches

Using the UFO and Cyberspace cheat together causes lag. This is because Alice can't handle the polygon count of the UFO as a wireframe.
Shooting enemies won't always kill them. Still.
"Rave" cheat still disables the cheat dialog.


EDIT: For some reason, it won't let me attach the file, telling me a "security token" is missing?
http://i52.tinypic.com/2dwavx4.png

ElectricKirby
06-13-2011, 10:15 AM
The game is now playable completely!

However, it's nowhere near done ;P

Improvements/Additions:

Boss can hurt you now!
You can hurt the boss
Crashing into enemies hurts you.
More BGM's
Primitive "Game Over" sequence


Bugs/Glitches:

Shooting enemies still doesn't always kill them
Rave glitch
Can only be opened in the latest version of Alice.


To Do List

More BGM's, of course.
Better title screen
Death Sequences for Boss and Player.
Post-Game Cutscene
PreGame Cutscene
More bonuses and cheats



Here it is: http://www.4shared.com/file/-bDAP5Xq/InfiltratorGamev05.html

zero00
06-13-2011, 11:21 AM
Couldn't you use an online hosting site like Mediafire and post a download link for your game? That's what I used to post some of my games on here.

David B
06-13-2011, 01:51 PM
There's no rule against double posts, right?

There is no rule against double posting, but it is recommended that you avoid it to prevent cluttering of the forums.