TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
error compiling game. Build 10838
Pages:
1
error compiling game. Build 10838
johnjanowskibsc
Posts: 158
November 13, 2021, 01:16:56 pm
Hi,
Just updated Stencyl and now have a bug that has never been a bug before. I have a rotating arrow that moves by assigning a value to itself. Now I can't compile my game
[haxelib] Source/scripts/ActorEvents_76.hx:78: characters 5-32 : Assigning a value to itself
johnjanowskibsc
Posts: 158
November 13, 2021, 02:17:29 pm
I seem to have fixed it - it wasn't what I first thought. I didn't like the updating event - see image below.
Strange how it would pass it through on a previous build
merrak
Posts: 2738
November 14, 2021, 07:47:07 am
Interesting. Out of curiosity, I looked up the error in the Haxe changelog. It was introduced in 2006. I'm not sure why it's an error. Maybe there was some code optimization process that would remove the line in previous builds of your game, but now fails to recognize the redundant code?
`/\=======/\"-
Website! -
http://www.anorthogonaluniverse.com
Facebook -
http://www.facebook.com/rlwatson
Twitter -
https://twitter.com/merrak
Justin
Posts: 4716
November 14, 2021, 04:10:08 pm
I haven't looked this up, but it's possible that in previous builds of Stencyl, it generated code like this:
Code:
[Select]
_animationno = "" + _animattionno;
Whereas Stencyl is currently a little smarter than that, and instead generates this code:
Code:
[Select]
_animationno = _animattionno;
I'm guessing something like that would cause the Haxe compiler to realize what's happening and throw the error.
For Live Support
: Join our
discord
server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)
Pages:
1