Camera zoom ???

GeminisLOL

  • Posts: 21
I want to make a shooting game and I need the camera to zoom in on my character, (as I do)?????

CmdrWhitey13

  • Posts: 503
You can check this out:

<a href="http://static.stencyl.com/games/33003-0.swf" target="_blank" class="new_win">http://static.stencyl.com/games/33003-0.swf</a>

http://community.stencyl.com/index.php?action=dlattach;topic=45775.0;attach=47647

This is my behaviour that allows a zoom type function.


GeminisLOL

  • Posts: 21
Thanks for the help

but I put it to the player or to the scene ??

CmdrWhitey13

  • Posts: 503
To the scene.  Once attached, you can check IsZoomed? his will make the display bigger.

GeminisLOL

  • Posts: 21
ou
but it's for the mause
what I want to do is that the camera follows the character, but also that zooms to limit the player's vision



CmdrWhitey13

  • Posts: 503
You can check this out as well. Apparently, there is an extension out now. Seems wicked.

http://community.stencyl.com/index.php/topic,50736.msg280436.html#msg280436

Hope it helps.

colburt187

  • *
  • Posts: 2369
You can check this out as well. Apparently, there is an extension out now. Seems wicked.

http://community.stencyl.com/index.php/topic,50736.msg280436.html#msg280436

Hope it helps.

That extension stopped working in stencyl 3.5 unfortunately.

squeeb

  • Posts: 1493
http://community.stencyl.com/index.php/topic,57123.0.html
 ive been working on a pinch to zoom.. you dont have to pinch it to make it zoom though.  all the code is there for zooming, theres a few bugs with zooming in stencyl though.... still being worked on