# Illusion of camera zoom with new scaling?

**URL:** <https://forum.makecode.com/t/illusion-of-camera-zoom-with-new-scaling/12137>\
**Category:** Help\
**Tags:** graphics-and-math\
**Created:** [February 11, 2022, 5:37pm UTC](https://forum.makecode.com/t/illusion-of-camera-zoom-with-new-scaling/12137 "2022-02-11T17:37:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [February 11, 2022, 5:37pm UTC](https://forum.makecode.com/t/illusion-of-camera-zoom-with-new-scaling/12137/1 "2022-02-11T17:37:37Z")

</div>

With the new scaling blocks, I’m wondering if it is possible to make two sprites bigger or smaller the closer or farther away from each other they are to give the illusion of camera zoom. Does anyone have any idea if this is possible? This would make multiplayer games much more feasible.

---

<div class="post-metadata">

**Author:** ![personalnote](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personalnote/32/31359_2.png) [@personalnote](https://forum.makecode.com/u/personalnote)\
**Post date:** [February 12, 2022, 7:50am UTC](https://forum.makecode.com/t/illusion-of-camera-zoom-with-new-scaling/12137/2 "2022-02-12T07:50:13Z")

</div>

Theoretically, that would make sense. But only in FPS or TPS games. I don’t see how topdown games and platformers would use this feature though.

Anyways, onto my theory.  
for example  
if distance between mysprite and myenemy = 40, then scale myenemy -4  
else if distance between mysprite and myenemy = 50, then scale myenemy -5

---

<div class="post-metadata">

**Author:** ![hunters4658](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hunters4658/32/5766_2.png) [@hunters4658](https://forum.makecode.com/u/hunters4658)\
**Post date:** [February 14, 2022, 7:52pm UTC](https://forum.makecode.com/t/illusion-of-camera-zoom-with-new-scaling/12137/3 "2022-02-14T19:52:52Z")

</div>

Would it be possible to crunch the screen all together?

---

<div class="post-metadata">

**Author:** ![jackal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jackal/32/19506_2.png) [@jackal](https://forum.makecode.com/u/jackal)\
**Post date:** [February 14, 2022, 7:59pm UTC](https://forum.makecode.com/t/illusion-of-camera-zoom-with-new-scaling/12137/4 "2022-02-14T19:59:00Z")

</div>

So use your background that you made, and then take the image out, and put it in the sprite image.

---

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [February 14, 2022, 7:59pm UTC](https://forum.makecode.com/t/illusion-of-camera-zoom-with-new-scaling/12137/5 "2022-02-14T19:59:04Z")

</div>

you know how like in smash bros when the camera zooms out when two players are far away? that’s what I mean

but anyway that might work
