Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Infiltrator
Old
ElectricKirby
Senior Member
 
ElectricKirby's Avatar
 
Status: Offline
Posts: 164
Join Date: May 2011
Location: Dreamland, Planet Popstar
Default Infiltrator - 05-25-2011, 02: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) it gives me the following error:
Quote:
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.
Attached Files
File Type: a2w InfiltratorGame.a2w (1.09 MB, 8 views)
   
Reply With Quote
Old
DensetsuNoKaboom
Senior Member
 
DensetsuNoKaboom's Avatar
 
Status: Offline
Posts: 1,188
Join Date: May 2010
Location: e4eaf2
Default 05-25-2011, 03:54 PM

1/16/2009?!

Perhaps you should redownload Alice 2.2.


Thank you for taking the time to read this signature. This signature loves you.
   
Reply With Quote
Old
ElectricKirby
Senior Member
 
ElectricKirby's Avatar
 
Status: Offline
Posts: 164
Join Date: May 2011
Location: Dreamland, Planet Popstar
Default 05-26-2011, 07:43 AM

So I redownloaded it, and got this error in the same situation as above:

Quote:
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)


Quote:
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)


   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Arrow 05-26-2011, 08: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???


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬
   
Reply With Quote
Old
ElectricKirby
Senior Member
 
ElectricKirby's Avatar
 
Status: Offline
Posts: 164
Join Date: May 2011
Location: Dreamland, Planet Popstar
Default 05-26-2011, 01: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:

Quote:
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)



Last edited by ElectricKirby; 05-26-2011 at 01:58 PM. Reason: Spoilers don't work here. I didn't know that...
   
Reply With Quote
Old
ElectricKirby
Senior Member
 
ElectricKirby's Avatar
 
Status: Offline
Posts: 164
Join Date: May 2011
Location: Dreamland, Planet Popstar
Default 05-26-2011, 03: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.
Attached Files
File Type: a2w InfiltratorGame.a2w (4.37 MB, 9 views)

Last edited by ElectricKirby; 05-26-2011 at 03:26 PM. Reason: Forgot attachment
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 05-26-2011, 03: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)


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬

Last edited by arty-fishL; 05-27-2011 at 11:05 AM.
   
Reply With Quote
Almost done...
Old
ElectricKirby
Senior Member
 
ElectricKirby's Avatar
 
Status: Offline
Posts: 164
Join Date: May 2011
Location: Dreamland, Planet Popstar
Default Almost done... - 05-28-2011, 06: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
Attached Files
File Type: a2w InfiltratorGamev0.2.a2w (1.79 MB, 11 views)
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 05-29-2011, 05: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.


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬
   
Reply With Quote
Nice Work!
Old
zero00
Senior Member
 
zero00's Avatar
 
Status: Offline
Posts: 300
Join Date: Oct 2009
Default Nice Work! - 06-06-2011, 05:29 PM

This looks great! I think this will be a great game, when you finish it!

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


==============Some of my Games and Ideas===========

Sky Warrior: http://www.alice.org/community/showthread.php?t=6291
Health Bars: http://www.alice.org/community/showthread.php?p=36968#post36968
Sky Warrior: Dual Force: http://www.alice.org/community/showthread.php?t=7174

Want to make your own space game? http://www.alice.org/community/showthread.php?t=6389
   
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.