gm2

  1. LanderMiskolczi

    GMS 2 Camera_get_view_x / y only returning 0

    So i've been trying to get my buttons to follow the camera, and to do this, I need to get the camera x and y, but using the object it makes it lag behind. But when I use this function it only ever returns me a 0. Here's a gif to show you what I mean. If you look to the left, that is printing...
  2. T

    Help with ropes

    Well i'm trying to understand how to work with inverse kinematics, so i serched how to do it and found a code that explain how to make, and i ended up with this: So i was trying to use gravity in the rope, and i was coing to try collisions, but i found a problem, when the botton of the rope if...
  3. M

    place_meeting vs other collision functions? player falls into wall object

    I have been using this tutorial by Yoyo led by Shaun Spalding: I tried a more advanced platformer tutorial by him and got an issue where my player lands halfway through the wall object rather than sitting nicely on the top of the object, and it also keeps the player in the falling image rather...
  4. T

    Collision Issues in 2.5D topdown platformer

    I'm testing some features to add to my future games, and decided to try adding fake 3d platforms where all objects would have a Z axis. Until now everything was working, i added an depth sorting system and added a better movement code to the player, but some collisions don't work so well, some...
  5. aristhemage

    Windows [GM2] How to convert frames into individual sprites.

    Hi! I have a tile set, and I have converted it all into frames using the convert to frames thing, but I would like to take every frame and make them all separated, I could do image_index = x but I fear that it will lag the game, so what is the best thing to do? Edit: I'd prefer to make it so I...
  6. Carloskhard

    GMS 2 How to move phy_position without breaking the simulation of physics? GM2[HALF-SOLVED]

    I'm making an space game where there are planets(circular planets) with platforms attached to them that spin with them by changing his phy_position and phy_rotation manually(GIF BELOW). Works perfect BUT physics simulation gets broken: collisions work but friction between the ship and the...
  7. conman06

    Changing Room when object clicked?

    I'm trying to make the room change when an object is clicked. Note: I am new to the software. If you could explain it I would appreciate it.
  8. S

    iOS Is the iOS Export Working for Anyone else?

    Whenever I try to export to my Mac, I'm getting the error: Renci.SshNet.Common.ScpException: scp: error: unexpected filename: at Renci.SshNet.ScpClient.CheckReturnCode(Stream input) at Renci.SshNet.ScpClient.Upload(DirectoryInfo directoryInfo, String path) at ..(String , String ...
  9. T

    Zoom Out Distorting Sprites

    I've started a project of a local multiplayer shooter, where the cameras will work like this: - 1 player : the camera will only focus the player , without zoom - 2 player: the camera will calculate a zoom and it will add to the camera size but i have a problem, when the camera add the zoom out...
  10. T

    Help with Z axis depth sorting

    So i was trying to make a top down platformer where the platforms have a z position which the player can jump on the platform or go under the platform, but the problem is the depth sorting, i'm using FriendlyCosmonaut's depth sorter instead of the "depth = -y", but my player sprite is always in...
  11. Papa Doge

    SOLVED Issues with mod function in for loop

    I'm definitely scratching my head with this one and not sure why it's failing: for (var l=1; l<((bc*br)+1); l++;) { biome_grid_positions_list[| l] = [bx, by]; if (l mod bc == 0.00) { bx = x; by += cell_size; show_debug_message("Wrapping here at column " +...
  12. T

    GMS 2 Zooming out problems

    I've started a project of a local multiplayer shooter, where the cameras will work like this: - 1 player : the camera will only focus the player , without zoom - 2 player: the camera will calculate a zoom and it will add to the camera size but i have a problem, when the camera add the zoom out...
  13. T

    Help with Zooming Camera view

    I've started a project of a local multiplayer shooter, where the cameras will work like this: - 1 player : the camera will only focus the player , without zoom - 2-4 player: the camera will calculate a zoom and it will add to the camera size but i have a problem, when the camera add the zoom...
  14. T

    Lightning System goes too dark with many Instances

    Well, i was trying to make a light system where i could manipulate to use on my project, so i seached for some tutorials, and then i found the Mike Dailly's tutorial. here is part 1:https://www.yoyogames.com/blog/419/realtime-2d-lighting-in-gamemaker-studio-2-part-1 and part 2...
  15. A

    A "How To" Guide for DND

    I'm a Game Maker neophyte and was wondering if there is a "how to" guide for DND. The manual is a great resource, but I am looking for something more along the lines of a resource in which I can search for a particular feature I want to add (i.e. a text box where the player can put in their...
  16. T

    Problems with boucing objects collisions

    I'm making a top down shooter that when you shot it create a bulletshell, and that bullet shell will rotate and move to a certain direction, and if it collide with an wall it will change the movement to the opposite direction. The problem is that when it collide with the wall the image flickers...
  17. Carloskhard

    GMS 2 Scaling Guide from GM2 page is wrong

    In THIS TUTORIAL they tell you to use this code to do a full screen scaling: The idea seems ok exept the fact that they use "min", so if the width of the screen is less than the base width(in a portrait way in this case), the camera view size will use the width of the screen which will not...
  18. T

    Help with the Z-Axis and the its depth

    Well i was thinking in adding to my top-down game a system with plataform which use the z-axis, where i can walk below it, and also be able to do other things like: - create instance in the same z position. - be able to put specific tiles on it. - use a depth manager to organize the...
  19. T

    Help needed with npc moving from a room to another

    Well i was thinking in adding a way that npc would be changing rooms in certain time of the day and you would be able to follow them during this process, like in games as Stardew Valley. Like the npc would exit from somewhere in a room, reach the trigger to go to the next room, and in the other...
  20. S

    GMS 2 path_delete not working 100%?

    I have a game that I am working on and recently started to play around with paths. I however, noticed that my game started to stutter over time and it just get worse and worse. I think I have narrowed down the issue to the path_delete function. At first I was creating paths in a list using...
Top