Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Worlds (http://www.alice.org/community/forumdisplay.php?f=6)
-   -   Sonic the Hedgehog Game (Download) (http://www.alice.org/community/showthread.php?t=8143)

Nitrous3 02-27-2012 08:57 PM

Sonic the Hedgehog Game (Download)
 
1 Attachment(s)
Okay so here's a Sonic the Hedgehog "Special Stage" I made myself. Credit for the model does not belong to me.

It's based on the 3 layer 3rd person running that started in Unleashed. The objective is to [COLOR="Red"]sidestep[/COLOR] and [COLOR="Cyan"]jump[/COLOR] to avoid box obstacles for the entire song to be awarded the [COLOR="Lime"]Chaos Emerald[/COLOR]

sfunk 02-28-2012 06:55 AM

Good job with this game

Nitrous3 03-15-2012 03:16 PM

thanks

DeathxKiller 03-19-2012 07:39 AM

Error
 
Error during simulation.




Alice version: 2.2 8/1/2009



Throwable that caused the error:

java.lang.NullPointerException

at edu.cmu.cs.stage3.alice.core.question.SubjectObjectQuestion.getValue(SubjectObjectQuestion.java:97)

at edu.cmu.cs.stage3.alice.core.question.SubjectQuestion.getValue(SubjectQuestion.java:35)

at edu.cmu.cs.stage3.alice.core.Property.evaluateIfNecessary(Property.java:379)

at edu.cmu.cs.stage3.alice.core.Property.getValue(Property.java:406)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.getValue(BooleanProperty.java:33)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.getBooleanValue(BooleanProperty.java:45)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.booleanValue(BooleanProperty.java:48)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.booleanValue(BooleanProperty.java:56)

at edu.cmu.cs.stage3.alice.core.response.IfElseInOrder$RuntimeIfElseInOrder.prologue(IfElseInOrder.java:51)

at edu.cmu.cs.stage3.alice.core.response.DoTogether$RuntimeDoTogether.prologue(DoTogether.java:53)

at edu.cmu.cs.stage3.alice.core.response.DoTogether$RuntimeDoTogether.prologue(DoTogether.java:53)

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

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

at edu.cmu.cs.stage3.alice.core.response.CallToUserDefinedResponse$RuntimeCallToUserDefinedResponse.update(CallToUserDefinedResponse.java:86)

at edu.cmu.cs.stage3.alice.core.behavior.TriggerBehavior.internalSchedule(TriggerBehavior.java:69)

at edu.cmu.cs.stage3.alice.core.Behavior.schedule(Behavior.java:226)

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

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

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

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

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool$7.run(AuthoringTool.java:704)

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

at edu.cmu.cs.stage3.alice.authoringtool.util.DefaultScheduler.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.pumpOneEventForHierarchy(Unknown Source)

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

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

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

at java.awt.Dialog$2.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 edu.cmu.cs.stage3.swing.DialogManager.showModalDialog(DialogManager.java:58)

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(DialogManager.java:126)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.play(AuthoringTool.java:5091)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$16.actionPerformed(Actions.java:175)

at javax.swing.AbstractButton.fireActionPerformed(Unknown 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.mouseReleased(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(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown 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.pumpOneEventForHierarchy(Unknown Source)

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

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

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

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






So yeah, this is what happened when i tried playing :(

Nitrous3 03-20-2012 06:52 PM

[QUOTE=DeathxKiller;47474]Error during simulation.




Alice version: 2.2 8/1/2009



Throwable that caused the error:

java.lang.NullPointerException

at edu.cmu.cs.stage3.alice.core.question.SubjectObjectQuestion.getValue(SubjectObjectQuestion.java:97)

at edu.cmu.cs.stage3.alice.core.question.SubjectQuestion.getValue(SubjectQuestion.java:35)

at edu.cmu.cs.stage3.alice.core.Property.evaluateIfNecessary(Property.java:379)

at edu.cmu.cs.stage3.alice.core.Property.getValue(Property.java:406)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.getValue(BooleanProperty.java:33)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.getBooleanValue(BooleanProperty.java:45)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.booleanValue(BooleanProperty.java:48)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.booleanValue(BooleanProperty.java:56)

at edu.cmu.cs.stage3.alice.core.response.IfElseInOrder$RuntimeIfElseInOrder.prologue(IfElseInOrder.java:51)

at edu.cmu.cs.stage3.alice.core.response.DoTogether$RuntimeDoTogether.prologue(DoTogether.java:53)

at edu.cmu.cs.stage3.alice.core.response.DoTogether$RuntimeDoTogether.prologue(DoTogether.java:53)

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

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

at edu.cmu.cs.stage3.alice.core.response.CallToUserDefinedResponse$RuntimeCallToUserDefinedResponse.update(CallToUserDefinedResponse.java:86)

at edu.cmu.cs.stage3.alice.core.behavior.TriggerBehavior.internalSchedule(TriggerBehavior.java:69)

at edu.cmu.cs.stage3.alice.core.Behavior.schedule(Behavior.java:226)

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

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

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

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

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool$7.run(AuthoringTool.java:704)

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

at edu.cmu.cs.stage3.alice.authoringtool.util.DefaultScheduler.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.pumpOneEventForHierarchy(Unknown Source)

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

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

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

at java.awt.Dialog$2.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 edu.cmu.cs.stage3.swing.DialogManager.showModalDialog(DialogManager.java:58)

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(DialogManager.java:126)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.play(AuthoringTool.java:5091)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$16.actionPerformed(Actions.java:175)

at javax.swing.AbstractButton.fireActionPerformed(Unknown 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.mouseReleased(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(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown 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.pumpOneEventForHierarchy(Unknown Source)

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

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

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

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






So yeah, this is what happened when i tried playing :([/QUOTE]

Woah.. Umm.. Maybe it has something to do with the fact that I composed it on a Mac? Not really sure; I don't know much about all the error lingo and stuff that you posted. I'm using 2.2 so I don't think that's the problem :confused:

beachbum111111 03-20-2012 07:06 PM

[QUOTE=DeathxKiller;47474]Error during simulation.




Alice version: 2.2 8/1/2009



Throwable that caused the error:

java.lang.NullPointerException

at edu.cmu.cs.stage3.alice.core.question.SubjectObjectQuestion.getValue(SubjectObjectQuestion.java:97)

at edu.cmu.cs.stage3.alice.core.question.SubjectQuestion.getValue(SubjectQuestion.java:35)

at edu.cmu.cs.stage3.alice.core.Property.evaluateIfNecessary(Property.java:379)

at edu.cmu.cs.stage3.alice.core.Property.getValue(Property.java:406)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.getValue(BooleanProperty.java:33)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.getBooleanValue(BooleanProperty.java:45)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.booleanValue(BooleanProperty.java:48)

at edu.cmu.cs.stage3.alice.core.property.BooleanProperty.booleanValue(BooleanProperty.java:56)

at edu.cmu.cs.stage3.alice.core.response.IfElseInOrder$RuntimeIfElseInOrder.prologue(IfElseInOrder.java:51)

at edu.cmu.cs.stage3.alice.core.response.DoTogether$RuntimeDoTogether.prologue(DoTogether.java:53)

at edu.cmu.cs.stage3.alice.core.response.DoTogether$RuntimeDoTogether.prologue(DoTogether.java:53)

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

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

at edu.cmu.cs.stage3.alice.core.response.CallToUserDefinedResponse$RuntimeCallToUserDefinedResponse.update(CallToUserDefinedResponse.java:86)

at edu.cmu.cs.stage3.alice.core.behavior.TriggerBehavior.internalSchedule(TriggerBehavior.java:69)

at edu.cmu.cs.stage3.alice.core.Behavior.schedule(Behavior.java:226)

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

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

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

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

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool$7.run(AuthoringTool.java:704)

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

at edu.cmu.cs.stage3.alice.authoringtool.util.DefaultScheduler.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.pumpOneEventForHierarchy(Unknown Source)

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

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

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

at java.awt.Dialog$2.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 edu.cmu.cs.stage3.swing.DialogManager.showModalDialog(DialogManager.java:58)

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(DialogManager.java:126)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.play(AuthoringTool.java:5091)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$16.actionPerformed(Actions.java:175)

at javax.swing.AbstractButton.fireActionPerformed(Unknown 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.mouseReleased(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(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown 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.pumpOneEventForHierarchy(Unknown Source)

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

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

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

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






So yeah, this is what happened when i tried playing :([/QUOTE]

Redownload Alice 2.2. You have a older version. By 3 years

room14 03-21-2012 02:12 AM

3 years! woah.


All times are GMT -5. The time now is 12:25 AM.

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