gm2

  1. 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...
  2. 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...
  3. 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...
  4. 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.
  5. 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 ...
  6. 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...
  7. 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...
  8. 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 " +...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. S

    iOS GM Splash Screen isn't Disappearing

    Hello everyone! First off I'd like to mention that I have the desktop version of GameMaker 2 and that this wasn't an issue before around a month ago. The GameMaker splash screen only shows on my program when I'm running it on a mobile device. I looked in the iOS settings in the Options tab...
  19. D

    GML Inventory for a Drag and drop game. (Gamemaker 2 and GML)

    Had to make a game in gamemaker 2 for a school project. But our project needs some kind of Inventory that fits a Drag and drop game. Since im terrible at programming ive had some problems trying to figure out how to actually create a inventory system. Looking for help with finding some kind of...
  20. D

    GMS 2 Yet another camera problem

    Hey guys, I have a problem with my camera. I created the "between player and cursor" object, using "mean()" function: Step Event (object between player and cursor): meanX = mean(PLAYEROBJ.x, mouse_x) meanY = mean(PLAYEROBJ.y, mouse_y) x = meanX y = meanY Ok? So, the problem is speed of the...
Top