1
Ask a Question / Re: Camera/Character
« on: October 05, 2015, 03:51:35 pm »I did at first so I tried rescaling it but he stayed the same size :cYou cant resize sprites, you have to import it again and select the size before doing that.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I did at first so I tried rescaling it but he stayed the same size :cYou cant resize sprites, you have to import it again and select the size before doing that.
Your behavior "EnemyPursuit" is trying to use an attribute that has no value. the code block with "actor" inside of it should first be declared using custom code. Do you have that?Sure, you can check the full behaviour if you want. This was working BUT, attributes set on the actor/behaviors panel don't work (i might have corrupted the file) , that's why I had to use that many setters.
Also show us more of your behavior, because we can only see just that little bit, while there is more.
It doesnt work like that...Thats how the teacher wrotes it in the tutorial video, indeed it worked yesterday (I had to redo it because of corrupt files, but it worked).
You need to specify an actor using the Actor block.
How did you set the value of that small code block?I just wrote it there
Would you mind sharing that game in private?I remembered I had overwrite some of the files when trying to make it work in Stencyl 2.2. Of course it didn't work, but they seem to work in Stencyl 3 again so I didn't think it was a problem. But now I think that maybe the behaviour is corrupt because of that and that's why there are no attributes.