solved

  1. H

    Android Can't connect with 4G connection.

    Hi, I've trying around with networking system between Android and Windows. The strategy is this : Server.exe is in my computer and constantly running, then player (only Android app, not Windows) can connect to it. The connection with Wi-fi (in Android) worked fine, declaring Server side local...
  2. S

    Legacy GM [SOLVED] How to find which tile at a position

    I would like to know what tile is at a given position. if (mouse_check_button_released(mb_left)) { //d is defined as depth of tiles var tile = tile_layer_find(d, mouse_x, mouse_y); if (tile != -1) { show_debug_message(string( tile_get_background(tile) ))...
  3. Adam Mansour

    Mac OSX Can't open GM2 after I had to shutdown my Macbook

    EDIT: It's solved. @Nocturne was right. It was just a server issue. Hey, so I try to open Gamemaker 2 but this is what I get: 1.) 2.) 3.) And after the 3rd screenshot, when I click on "retry" it throws me back to what you see on the 2nd screenshot. Haaaaalp XD EDIT: It's solved...
  4. M

    Windows Black Screen on Launching Game

    I've been trying to get used to GMS 2 after using GMS 1 for a while, and every time I try to test the objects I've made and run the game, all I get is a black screen. I've created the room, applied the sprite to the object, placed the object in the room and layered it accordingly. But no matter...
  5. JohnSebek

    Character dodgerolling code fixing

    Hi so, I have my character doing the dodge roll, but I have an issue. When he rolls he can go through the wall and get stuck. CODE OF MOVEMENT AND ROLLING IN STEP EVENT //Player Movement hspeed = walkingSpeed * (keyboard_check(ord('D')) - keyboard_check(ord('A'))); vspeed = walkingSpeed *...
  6. F

    Question - IDE Unable to Find Game!! Error

    I recently opened up GMS2 after not using it for a few weeks. I tried to run one of my old games and got the following error: Unable to find game!!: Comeon.win I looked online and found another thread which suggested I restart my computer. That didn't work. I then tried uninstalling GMS2 and...
  7. Chris Smith

    GMS 2 Persistent Objects De/Activation in Room Start and Room End

    Hey guys, so I've been doing a game jam, and naturally some stupid stuff got me all kinds of stuck for almost a whole day now. I've been finding little things because of this, but not making any progress. But I've gotten my main issue down to an issue regarding activating objects. So here's the...
  8. andulvar

    Legacy GM Solved! Determining attack quadrant (front, side, back)

    For some reason this seems like a simple thing, but I'm having trouble with an elegant solution. If I have an object facing a particular direction 0-359, and another object attacks that object I'd like to get the attack direction relative to the attacked object to be able to apply modifiers for...
  9. M

    GMS 2 [SOLVED] Help with RTS style game - tracking "selected units"

    Hi everyone, I am trying to build a quick prototype game for learning purposes without the need for tutorials to encourage free based thinking, however, I have been stuck the last few days trying to find a solution to checking multiple units being selected and following mouse input commands...
  10. B

    GMS 2 [Solved]DoAdd :2: undefined value?

    hello, I am trying to set up a level up step event, I have a ds_grid I have added all the values to and use it to display the weapon stats I have called it eqip_inventory and is defined as global using globalvar. in the player step event I have some code: if (ds_grid_get(eqip_inventory,13,0) >...
  11. K

    GMS 2 How do I detect where an object is moving? (SOLVED)

    I have an "enemy" object with a point direction set torwards the player and I want to change the sprites attached to the object depending on if the object is moving up, left, down, et cetera. How would I detect this with the general direction it's moving isn't set on anything?
  12. M

    GMS 2 Error message in GM2 (new to GM)

    I followed along with a tutorial to create scripts for grid based movements, and have just tried to put place_meeting collisions in my move script. I am getting this error message. I was able to get collisions to work when the movement is not grid based, but this is posing a problem...
  13. V

    GML Instance_place checks only 1 object ?

    Hi, i am making a save script for my game using instance_place. var inst = instance_place(xx,yy,all); if(inst) { var instIndex = inst.object_index; ini_write_string("Map0", string(ntp(xx))+","+string(ntp(yy)), instIndex); } Everything was okay till time that i...
  14. G

    GML if else statement error

    not sure what i am doing wrong here i tried making the alarm its own object because i want it to do this for only certain rooms but it did not work i am not trying to do it in the player object just to see if i can get it working i also been trying to set it up so the alarm shows up in the...
  15. M

    Legacy GM [SOLVED] Warp/Door Bootup Variable player_x Read Error

    I've been following the instructions of a video on YouTube for coding in doors that warp the player to other rooms, and after following his exact instructions I've run into an error. In the build process when loading the game, an error appears...
  16. VentKazemaru

    GMS 2 What's the template for bitmasking autotiles?

    I've been looking all over for the answer to this. I got my code set up for bitmasking. specifically getting 8-bit masking. 47 tiles. But I have no idea how to set up the tileset. I've poured over a lot of articles. they explain a lot how bitmasking works. but nothing on how to actually draw...
  17. ricardo1996

    GMS 2 camera_set_view_size changes view position

    Im trying to implement a zoom effect but having issues with my gui also being zoomed in on. i thought using 2 viewports would solve the issue but to avail. any help please.
  18. J

    GMS 2 A simple networking issue is driving me crazy! I'd love some help.

    Hey everyone! I have been struggling for hours trying to get a simple websocket connection to work and it's driving me crazy. Any help would be immensely appreciated. There is a WSS connection at https://www.websocket.org/echo.html and it literally just takes whatever you send to it, and...
  19. N

    GMS 2 [SOLVED] Code from GMS 1.4 doesn't work?

    I decided to finally give GMS2 a try today by transferring a small project over to get familiar with the layout but it is not working and i'm not sure why. It's just supposed to draw polygons using primitives given randomized values when I click, but nothing happens. Occasionally a very thin...
  20. S

    [SOLVED] Alarm Firerate Issue

    Hello everyone, i have a shooting mechanic i'm trying to get down for game, and i'm trying to use an alarm to do what i want. I'm having a hard time, was wondering if someone could maybe explain what i'm doing wrong, or explain how to fix what i'm doing. Also, it is my first time posting, i...
Top