"Auto-Scale Collision Bounds" not working

Play

  • Posts: 165
While growing an actor, the collision bounds do not scale properly in iOS (it seems to work fine in flash, however). Making sure "Auto-Scale Collision Bounds" is turned on doesn't help.

Is there any way to get collision bounds to scale in iOS? I'm planning on using the scaling feature for the majority of my actor sprites so that I can fit in lots of small pixel art into my game.

Edit: Also, I don't know if this helps, but I am also using the grow feature to inverse my images horizontally. Whenever I do so, it seems to mess up the origin of the actor, because the camera I've got set to follow the actors position jumps to the left a bit. This doesn't happen if I only grow the actor with positive percentages, however.

« Last Edit: March 04, 2012, 02:36:45 am by Play »

toml2003

  • Posts: 351
Sorry I cant answer your question, just to say I'm having this problem to.

Play

  • Posts: 165
Any word on if this feature will be available for iOS? It would make many things a whole let easier... as it is there isn't really a way of growing an actor for iOS games apart from just a visual effect.

Syndicate Games

  • Posts: 12
Well my work around for growing actors would be:
Changing the Animation of this Actor. You can adjust the Collision bounds individually for each animation.
Hope this helps.

Play

  • Posts: 165
The problem with simply adjusting the collision bounds is that currently collision bounds cannot be set as anything which exceeds the dimensions of the uploaded graphic... something which I find rather annoying as there are cases when I want the collision bound to be larger than the appearance of the actor.

Currently, I would like to be able to grow my actors and have their collisions expand with them. To replicate this effect with the above mentioned method, I would have to upload graphics for every size for the actor... which isn't realistic considering the limitations of using atlases.

Syndicate Games

  • Posts: 12
Ok, if the actor grows multiple times it would be very ineffective having a new animation for each size. I thought you just needed some effect for something similar to "Mario gets a mushroom and grows"

marcwilhelm

  • *
  • Posts: 88
There are multiple threads about this issue. It'd be good if they got consolidated (and even better if the bug is fixed)

Here are all the threads I could find on this issue, hope this helps:

http://community.stencyl.com/index.php/topic,6729.0.html
http://community.stencyl.com/index.php/topic,3458.0.html
http://community.stencyl.com/index.php/topic,6538.0.html
http://community.stencyl.com/index.php/topic,8234.0.html
http://community.stencyl.com/index.php/topic,6006.0.html

Is the only workaround to set-up deferent animations or frames to correlate the scaling of collision on iOS for an actor?