Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to create a zooming effect?
- Sunky-mpegx
-
Scratcher
8 posts
How to create a zooming effect?
Hi, im creating a shooting game, i need a zooming effect like a aim pls help
- WindowsAdmin
-
Scratcher
1000+ posts
How to create a zooming effect?
Change the size of every single sprite to something big
when I receive [zoom v]
set size to (...) %
- Sunky-mpegx
-
Scratcher
8 posts
How to create a zooming effect?
Change the size of every single sprite to something big<img src="https://i.redd.it/iqa9yyjogin81.jpg“ alt=”Know any games with ADS where aiming only magnifies image through scope and not the entire screen? (like Insurgency) : r/gaming"/>when I receive [zoom v]
set size to (...) %
will it work like in the image?
- MasterofTheBrick
-
Scratcher
1000+ posts
How to create a zooming effect?
I don’t see any way of doing that without switching to pen and generating a new scan for each frame - otherwise you’ll have to be content with only being able to zoom in on a sprite if it falls within range of the crosshair’s coordinates while the background remains stationary.
- NIKI-KOLCHAGOV
-
Scratcher
500+ posts
How to create a zooming effect?
If you make it this realistic then it will probably get removed shooting games are kind of allowed on scratch but not really as for how to achieve a zooming effect you will need to change the size of mostly everything thats close to the player
Last edited by NIKI-KOLCHAGOV (Dec. 6, 2023 14:57:52)
- Epsilon_3
-
Scratcher
500+ posts
How to create a zooming effect?
Change the size of every single sprite to something bigNot only that, you need to store every node's position in a list and change their positions based on a formula to make it look 3d.when I receive [zoom v]
set size to (...) %
- Discussion Forums
- » Help with Scripts
-
» How to create a zooming effect?