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 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...
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...
GM Version: GMS2
Target Platform: All
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...
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...
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...
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...
Available for GMS 2
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...
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);
var view_h = camera_get_view_height(view_camera);
//Set the rate of interpolation
var rate = 0.2;
//Get new sizes by...
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...
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...
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...
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...
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...
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.
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...
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...
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...
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...
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...