1. For Scene Switch Button and for Mute Button of Actor Behavior - One more option to add image on mouse hover (Mute would need 2 for both states)
2. This is a way out there suggestion. But for my games, hidden objects, which works awesome but for one thing. My list of objects to show the player to find is normally 50 total and they can see 5 at any given time. These objects are image outlines. Can we have some functions for addining all these objects to list, randomly picking one and deleting that one from the list. I tried to code this, gave up and just made it simple with a lot of hard coding. Something dynamic would be awesome.
getActorTypeByName(_Name);
[self getActorTypeByName:_Name];
Yeah, that's exactly the kind of situation you can solve with the code posted above.Create an actor type attribute, let's call it "Type" then the internal name will be "_Type" (if you call it differently, you can look up the internal name in the attributes tab, it's the name without special characters preceded by an underscore.)Then instead of all the if-statements put this:
When I created a new actor,add it to the scene and test the game, it does not always show the image of the newly added actor. I always restart stencyl when this happens and the image of the actor will show up when I test the game.I don't know if other stencyl users experienced this problem.It's better if it would be fix in the coming scene designer update .
I know that when testing the game, it will save first.