Joystick Compile Error on Crash Course

nedac

  • Posts: 1
Hi everyone. I got Stencyl for Christmas and I'm following the crash course lesson.  When I go and test my game, I get the following error.

Die in Pit and Reload: Type not found : com.stencyl.models.Joystick
   from scripts.Design_7_7_DieinPitandReload
   line: 22
   columns: 7-34

Line 22 in the code is:

Code: [Select]
import com.stencyl.models.Joystick;   
So I guess it can't find the joystick model.

Can someone help me so I can begin using the program?

thanks

« Last Edit: December 25, 2015, 09:18:40 am by nedac »

iii

  • Posts: 194
The private build (8862) is missing a file named Joystick.hx ,
that supposed to be in "Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\models\Josytick.hx"

To fix this, just copy that file from previous build and just paste it there.

Or download and paste the one I attached below.

captaincomic

  • *
  • Posts: 6108
This is fixed in build 8863.