This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//package scripts; | |
/* | |
import com.stencyl.Engine; | |
import com.stencyl.models.Font; | |
import com.stencyl.graphics.G; | |
import com.stencyl.behavior.SceneScript; | |
*/ | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//package scripts; | |
/* | |
import com.stencyl.behavior.Script; | |
import com.stencyl.behavior.Script.*; | |
import com.stencyl.Engine; | |
import com.stencyl.models.Font; | |
import com.stencyl.graphics.G; | |
import com.stencyl.behavior.SceneScript; | |
import com.stencyl.behavior.TimedTask; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert("Hello world"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("Hello world"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts; | |
import com.stencyl.graphics.G; | |
import com.stencyl.graphics.BitmapWrapper; | |
import com.stencyl.behavior.Script; | |
import com.stencyl.behavior.Script.*; | |
import com.stencyl.behavior.ActorScript; | |
import com.stencyl.behavior.SceneScript; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts; | |
import com.stencyl.graphics.G; | |
import com.stencyl.behavior.Script; | |
import com.stencyl.behavior.Script.*; | |
import com.stencyl.behavior.ActorScript; | |
import com.stencyl.behavior.SceneScript; | |
import com.stencyl.behavior.TimedTask; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts; | |
import com.stencyl.graphics.G; | |
import com.stencyl.behavior.Script; | |
import com.stencyl.behavior.Script.*; | |
import com.stencyl.behavior.ActorScript; | |
import com.stencyl.behavior.SceneScript; | |
import com.stencyl.behavior.TimedTask; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Use Scripts.get(actor, behaviorName) to get the behavior | |
IMPORTANT: You must cast it! | |
Ex: var b : MyBehavior = cast Scripts.get(actor, behaviorName); | |
*/ | |
package scripts; | |
import com.stencyl.Engine; | |
import com.stencyl.models.Actor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts; | |
import com.stencyl.graphics.G; | |
import com.stencyl.behavior.Script; | |
import com.stencyl.behavior.Script.*; | |
import com.stencyl.behavior.ActorScript; | |
import com.stencyl.behavior.SceneScript; | |
import com.stencyl.behavior.TimedTask; |
OlderNewer