gml 2

  1. L

    Help with Adding Instances to MP Grid

    Hello, I'm working on a simple tower defense styled project. In the room_create event, I establish a default grid for enemies to use, and add some basic objects to be avoided to it: global.nme_grid_ground = mp_grid_create(0, 0, room_width div 32, room_height div 32, 32, 32)...
  2. Dwighty4000

    GMS 2 How can I use the powerfull hardware for my GMS2 Game?

    My game has been online on Steam for a few days and there have been some negative reviews. A review rating was e.g. the problem that with a laptop, the computer does not recognize the game as a game and continues to run the game with the Intel HD Graphics GPU, which leads to strong performance...
  3. Dwighty4000

    GMS 2 How to make Steam Screenshots?

    I tried to incorporate the code from the wiki page but this is wrong when you insert it! What am I doing wrong here and what do I have to do so that I can take screenshots that are then saved on Steam? /// @description Making Steam Screenshot steam_send_screenshot(filename, width, height)...
  4. Cryptik

    GMS 2 Encoding HTTP_POST GML>PHP

    Good day to you, Let me start out by saying a massive thank you to the staff for their product GameMaker and their relentless drive and ambition to keep it going for all the years I've been using it. Feels like it's been over a decade. Thanks for your time keeping a community here too, It takes...
  5. Papa Doge

    GMS 2 [Solved] Resolution Issues

    Hello, The height of my game is being squished for an unknown reason. I'm having trouble tracking down the root cause of my game's resolution issues. I've watched the videos by Pixelated Pope and that didn't fix my issue either. I'm wondering if there's still something fundamental I'm missing...
  6. GGJuanPabon

    GML I might see my collisions, lines, invisible things.

    Hello friends how are you? First sorry for my English is not my native language, if someone expresses himself in Spanish, better for me. What I want to know is ... how do I see some invisible things like ... collision_line collision_circle distance_to_object collision Mask from player...
  7. Dwighty4000

    GMS 2 can I play .mp4 videos in GMS2 ?

    Can I play a video sequence in my game? something like an ".mp4" video file? The video that I want to play has a resolution of 1920x1080p...
  8. Dwighty4000

    GMS 2 how hard is it to puslih a game for linux to?

    I'm currently making a game that should come out for windows, but how complicated would it be to publish the same game for Linux and Mac with GameMaker Studio 2? In this case, would it be just a question of pressing a few buttons to export the same game made to the other platforms, or is that a...
  9. Dwighty4000

    GMS 2 Why do the "x" and "y" jump back?

    Why do the "x" and "y" jump back if the player ends to walk I have a player object and I have a flashlight object. When the player is walking, the coordinates are taken over by the player and expanded to their "x + 100" and "y + 20". But if the player is not walking, then it takes over the same...
  10. Dwighty4000

    GMS 2 How to find out the hz-rate and the resultion

    With which command command, you can find out how high the heart rate of the screen of the person using it is e.g. this will be used for a Vsync function. and another question: How can I find out the current screen resolution of the person using my game to be able to use these results in a variable.
  11. G

    GMS 2 Gamemaker Studio 2: Moving Platforms and One Way Platforms(All in One)

    GM Version: 2.2.5.378 Target Platform: Windows Download: N/A Links: Summary: First of all, happy new year to everybody! Hope you're having a great one. Just as the title mentions, this is an all in one tutorial video showing people how to handle jump through based static and moving...
  12. Dwighty4000

    GMS 2 "room_goto" problem (why do it crashs?)

    It says all the time that object from: "obj_Player_kneipenstrasse.x" cannot be found, but why is that? after all, the room is changed in time, where there is this obj_Player_kneipenstrasse? The "creation-code" of the object where this whole source code is located and which is in another room...
  13. AlexDerFerri

    GML How to create Game of Life in GMS1.4 / GMS2

    CONWAY'S GAME OF LIFE algorithm in GML GM Version: Studio 1.4 / 2 Target Platform: All Download: see code below Summary: A nice Game of Life algorithm using GML. This method uses the GML data structure called ds_grid to make the algorithm run faster. We will make two grids: one for the real...
  14. Dwighty4000

    GMS 2 I need Stereo sounds for a game object!

    I am using GMS2 with the GameMaker Language and I am currently working on a 2D game. I'm looking for a way to make an game-object in my game a ruse. Depending on the distance to the player becomes louder or quieter and in a stereo audio output, so that the player can hear from which side of his...
  15. xDGameStudios

    Question - IDE Extensions argument types

    Right now when building my own extension in the IDE I can only add arguments of type string and double. Is there a way to set an argument as an array? for example imagine I have an function: array_to_list(array, [output]) this function is supposed to receive an array as input and an optional...
  16. GonerBits

    GML [Textbox System] Help changing text color mid string / shake effects?

    (I'm a total beginner to this, and this is my first time posting to here, so sorry if the formatting / code is kind of messy... I don't know what i'm doing haha) I'm trying to make a text box system that allows for shaking text and changing text colors (preferably in a gradient) kind of like...
  17. xDGameStudios

    GML Question regarding a pooling system

    Hi everybody!! I have a question regarding the use of pooling systems. The idea behind a pooling system is to avoid the need of massively creating and destroying instances. For that we have to rely heavily on activation and deactivation of said instances. I’ve read that activating and...
  18. M

    GMS 2 Alpha issues with gpu_set_blendmode_sepalpha?

    Alright can someone tell me what I am missing here? I have a surface being draw to the application surface. The surface being drawn is cleared black with a .5 alpha. If I draw this surface without blend modes the black region looks as it should. Basically it darkens the screen a little. Now...
  19. Divinik

    GMS 2 [SOLVED] Keep Sprite in Same Position Relative to Obj Scale?

    So I have a simple scale calculator used for scaling active actors relative to their horizontal position on the screen during the battle sequences of the game. The code for that is: battleScale = (distance_to_point(x, camera_get_view_y(camera)))*0.0025; image_xscale =...
  20. T

    GML Player Instance Destroyed When Switching States

    I've been handling my player's different attacks with a state machine, but I've encountered a recurring issue where if the player initiates an attack in midair at a certain close distance from the ground, the player object is destroyed and their hurtbox is left behind and it's occurring before a...
Top