working

  1. kureoni

    pathfinder mp_potential_step_object kinda not working

    hello im new to developing with gmstudio 2 anyway, i was trying to make the enemy sprite follow the player using the mp_potential_step_object, but everytime the player would touch the enemy, i would not be able to move anymore the player's sprite and the enemy's sprite would be running the...
  2. zendraw

     Q: Game Maker 2

    so im updatin my setup with a better PC and i was wondering is GM2 ready to be used without worrying about bugs and things not working and stuff. as far as i remember people complain about gm2 that it has bugs and stuff and if its not ready yet i wuldnt want to waste my time with it on a serious...
  3. matharoo

    Windows Generic Gamepad Doesn't Work Half The Time

    I have one Xbox controller and a generic one. The former works fine, but the latter is not detected half the time. It seems like it starts and stop working at random (not while the game is on, it just either detects it at the beginning or it doesn't). This is the code in my Async System event...
  4. D

    Question - Code Key down event stop working.

    [EDIT] Whatever the problem was, has been fixed in a later update of GMS. Hi. I'm trying to make a simple Pong game in GMS2 using GML. What I would like to do is when the ball collide with the paddle I want to take in to account if the paddle moving and which direction when the ball bounce off...
  5. Crossoni

    Legacy GM file_exists not working

    I am having a really strange bug with loading my options. It loads the default values from my script loadOptions even though the file does not exist.What makes it even more strange is that if I type: if (!file_exists("options.ini")) then it does not load the default values from my script. This...
  6. P

    Legacy GM (HELP) 'With' Function Only Working On First Instance of an object???

    For some reason, the 'with' function is only working on the first instance of multiple of the same instances i have in my game room, and I cant really figure out why. I'm sure I could find a work-around, but it would be much easier to do it this way. And here's the kicker. The 'with' function...
  7. J

    Randomizing text [NOT SOLVED]

    I have a code that will randomize lines of text said by an npc, problem is the randomize function seems to only work when the game is restarted or the room is changed. Is there any way to randomize without changing rooms or restarting? here's my code just in case: randomise(); subLine =...
  8. GregFroning

    HTML5 Mobile Resizing - Partially Working Extension

    I am working on getting a javascript extension together and some ingame code so I can resize appropriately for mobile devices and go full screen. My example works on refresh and first hitting the page in GMS2. Any suggestions to get it working on window resize? I can't seem to get it working by...
  9. H

    Legacy GM Making collision that applies for this object only

    Hi! I'm trying to make The Legend of Zelda in Game Maker Studio, but I am having some trouble with the tektite enemies (spiders that jump around everywhere, see the video below) and their collision. Tektites in the original game With previous, simpler enemies (oktoroks) I've been using code...
  10. H

    Legacy GM Having issues with this collision code

    Hi! I am having some trouble with my collision code for the enemies in my game. This is the current setup: if (check_collision_obj(vx, vy, obj_wall)) { facing = choose(enum_facing.up, enum_facing.right, enum_facing.left, enum_facing.down); } It basically says that if there is collision...
  11. Shadowblitz16

    GMS 2 code not running causing crash

    can someone tell me why this code skips line 6 when it executes the second time? basically it runs fine the first time but then it seems to execute the event again but this time it skips line 6 completely leaving depth_lowest undeclared. I also have this code in the mouse pressed and mouse...
  12. Misu

    Particle effect not working

    Im using GMS2 and I cant get my particle effects to work (they dont show up). Can anyone tell what might be the problem with my coding? CREATE EVENT: ss = surface_create(1280,960) stream = part_system_create() part_system_depth(stream,1000) p_type = part_type_create()...
  13. C

    Windows "With" construction not working.

    I am trying to open a door when the player is standing next to it. To prevent all doors from opening in one room, I tried to use the "with" construction. But it doesn't seem to work. Create event OBJ_DOOR: dooropen = false; Step event OBJ_DOOR: if dooropen = true { sprite_index =...
  14. johnwo

    What are you working on?

    So, what are you working on at the moment? Post a screenshot and show us! I'm working on a game that uses a GML-implementation of spriter that I wrote. I have a bunch of scripts that load the scon (spriter JSON), parses it, loads the sprites on-the-fly, loads animations, ect. Spriter...
  15. Thijs Hof

    Legacy GM Extensions not working

    I can't add extensions anymore... :bash: What i do: Right click "Extensions" Click "Import extension from library" Goto "My Library" Click "Add to project" next to the extension i want to install (Google Play Services -Nothing happens- :( I also tried using "import extension" and selecting...
  16. Ayziak

    GMS 2 {SOLVED} Issues with scripts...

    So I've been working on some misc useful scripts to share here, yet this one isn't working, and it's driving me crazy. What am I doing wrong here? /// @description Ayziak's Two Value Variable Toggle /// @param variable Which variable /// @param val1 value 1 /// @param val2 value 2 variable =...
  17. Shadowblitz16

    (RESOLVED) Jsonion jso_decode_string returning wrong value

    does anybody know why jso_decode_string in the jsonion extension is returning "name" out of my string, instead of a map? here is my code Edit: I forgot to mention I AM using GMS 1.4
  18. Shadowblitz16

    Error on load, Uable to find function List.gml

    can someone explain how to get my extension working? I currently was just testing to see if I could make a simple extension, however it seems when I call the function "List" it can't find it even though it gets highlighted in the script editor I wanted to make an extension that does not add...
Top