This site requires JavaScript, please enable it in your browser!
Greenfoot back
teikkhim
teikkhim wrote ...

2012/6/2

Error in my game

teikkhim teikkhim

2012/6/2

#
error: java.lang.IllegalStateException: Actor not in world. An attempt was made to use the actor's location while it is not in the world. Either it has not yet been inserted, or it has been removed. at greenfoot.Actor.failIfNotInWorld(Actor.java:656) at greenfoot.Actor.getX(Actor.java:157) at Bad_Guy.directionToTarget(Bad_Guy.java:24) at Bad_Guy.act(Bad_Guy.java:14) at greenfoot.core.Simulation.actActor(Simulation.java:507) at greenfoot.core.Simulation.runOneLoop(Simulation.java:470) at greenfoot.core.Simulation.runContent(Simulation.java:204) at greenfoot.core.Simulation.run(Simulation.java:194) how to solve this? thank you
SPower SPower

2012/6/2

#
Without code, we can't do anything
davmac davmac

2012/6/2

#
There is some information here.
You need to login to post a reply.