• Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!

zoom

  1. JeanSwamp

    GMS 2 Zoom Centered To Player

    I'm trying to make a zoom for my player on a sidescrolling platformer. Currently everything works flawlessly expect when switching from zooming in to out, since the pos is relative to the top left corner and not the center, there's a quick repositioning on switch that looks very ugly. I've...
  2. T

    How can I limit a space in my room where the view can move? / fixating a view in a specific spot on

    Hello everyone! I am making a mobile platform fighter (using GMS 1.4) that looks like this: So, the idea is to have a big square in the center where the action takes place and on the top and bottom we have each player’s controller. I made a prototype and got a few feedbacks from my friends...
  3. FoxyOfJungle

    GMS 2 [SOLVED] How to get mouse position relative to surface area?

    The main problem: As you can see in that GIF, I can scale it so that It will always stay 1:1. But I want to zoom in and out, and this is the problem. I will explain next: I created a surface instead of using the Draw GUI event (I need to, because later I'll need to copy that created GUI...
  4. matharoo

    GMS 2 Smooth Camera + Pan/Zoom [YouTube]

    GM Version: GMS2 Target Platform: All Download: https://www.dropbox.com/s/6npeyqa27jj8tvv/cameras.yyz?dl=0 Links: Below Summary: A tutorial that covers creating a smooth camera and implementing panning and zooming. I mainly made this tutorial to let people know that they don't have to use...
  5. M

    Windows How do I scale my textures and/or room in GMS2?

    Hello, I am fairly new to Game Maker and wanted to know how I can scale my room size and textures. I looked into doing it though code, but obviously I don't want to do that for every single object, it would also cause problems because 1. like I said, I would have to do this for everything, and...
  6. Didjynn

    problem with viewport zooming

    Hello everyone, I have a viewport zooming in and out. The thing is (and I don't find why that's why I'm here), zooming in or out teleports the center of my view to the bottom right corner of the room. Always. And I have absolutly no idea why. Tell me if I mistake but the position of the view...
  7. remka

    GMS 2 Center + clamp camera on zoom

    Hello all, I am fairy new to GameMaker, and I am playing around, trying to create my first platformer following Shaun Spalding's tutorials, especially this one regarding player camera tracking. I am using GameMaker Studio 2 on a Mac. I am trying to use a similar approach to allow smooth...
  8. samspade

    Asset - Project Camera Asset Pack

    Available for GMS 2 Description This project contains a simple to use and flexible camera system that adds several important camera features such as zoom, shake, rotational shake, shake that works in delta time, resolution control, and more. It is designed to be easy to use. In addition to...
  9. R

    Zooming in on background in specific area

    I'm trying to make a magnifying glass in my game. I've programmed the camera to zoom using this code. //Get current size var view_w = camera_get_view_width(view_camera[0]); var view_h = camera_get_view_height(view_camera[0]); //Set the rate of interpolation var rate = 0.2; //Get new sizes by...
  10. noé cambou

    Android / Amazon Fire Android versions fonctionalities

    Hi :D To complete my game, i just need to make a zoom. I just want to make the possibility of zooming with 2 fingers as many other games. But unfortunaly, i Don't manage to do that with my Windows version… I will bye the android version if it's possible to do this with this version. So do you...
  11. noé cambou

    Drag and drop : How to zoom ?

    hi :D Do you know how can i zoom in my game ? i would try to make a zoom as many other games (such as clash of clan, garden scapes etc...). With 2 fingers which are going to extremities of the screen. Do you know if i can make it easily with free version of Gamemaker or if i have to pay...
  12. N

    Question - IDE Increasing the font size in the Code Editor

    The title pretty much says it all. I just want to increase the font size in the code editor, so the text is a bit larger. There doesn't seem to be any setting for this in the preferences. If I click the zoom buttons on the toolbar, it makes the text blocky and pixelated (like when you zoom in...
  13. doopus

    Legacy GM Camera System - Help with Maximum Zoom?

    Hi everybody, First off, my question involves a free extension from the marketplace - Multiple-Object Camera by NAL. The extension is essentially just a script. If this is against the rules at all, please let me know and I will remove the post. The extension allows for a Super Smash Bros-style...
  14. G

    [Solved] Zoom in Effect on Map

    Hey Folks! I have a Worldmap with different Lands ( I uploaded an Image. This is a test Map, just for realize ) where the Player can choose a Land and then a Mission. At the moment, when the Player clicks on a Land a windows is shown with 3 different Buttons: Mission 1 , Mission 2, Mission 3...
  15. R

    Zoom in drag and drop GM2

    Hi everybody. I am not able to find out how to make work zoom in gamemaker 2 drag and drop, with mouse wheel. Is here anybody who can help me with this? There is Set view variable and get view variable but I am trying anything but still not works. Thank you for help.
  16. Nathan Laing

    Legacy GM [SOLVED] On zoom, re-size/re-position surface

    Greetings all, Perhaps someone might assist me? I create a surface, its width and height the size of the view (1920x1080). I then draw a sprite to that surface, taking into account the position of the view, before finally drawing the actual surface. surface = surface_create(view_wview...
  17. Consuming Octorocks

    GMS 2 Help with smooth camera zoom perhaps?

    So I'm not every good with math (at all) and im trying to get a gentle zoom with my camera system. Basically its a 2D platformer and whenever I go into a large room (like a boss fight or something of that nature) I need the camera to zoom out. I already have a pretty good camera system set up...
  18. Felipe Rybakovas

    Legacy GM Camera is not Zooming out after lightning surface

    Hi Folks, I´m working with a isometric ARPG and in this game we have a local coop for 2 players. I´ve got the camera zooming out when a player get away from the other, but since I implemented a Lightning system the zoom out is not working anymore. I know that maybe is something related to to...
  19. Nathan Laing

    Legacy GM Sprite shimmer on view zoom and pan

    Hi everyone, When the view has been zoomed, and is then panned around, sprites 'shimmer', especially ones with lines. It's extremely jarring and looks entirely unprofessional. What's up with this? EDIT: Enabling the "Interpolate colours between pixels" option in the global game settings...
  20. Mytchall Bransgrove

    Legacy GM How to scale a sprite by an offset?

    Hi guys, I'm trying to replicate the scaling on the iOS camera roll when you open a photo. You can scale the image up, pan around the image and rotate it. I have all of those working on a sprite when you use two fingers, except it always scales from the center of the sprite where I've set the...
Top