1. Architheutis

    GMS2 (WIN) can´t connect with my MacBook (via GMS2s device detection)

    Hello everybody, I´m working on publishing my game app on App Store, too. But as the headline already says: Game Maker Studio 2 cannot detect my MacBookPro. Following conditions are given: - Gamemaker Studio 2 runs on my PC (WINDOWS 10 Pro) - MacBook Pro is running Catalina 10.15.6 - Both...
  2. D

    GML gamepad detection problem at room change gms 2

    Hello to all and all, before all sorry for my English I use a translator. I come to you for help, I use the joystick detection function :,%20keyboard%20and%20other%20controls%2Fkeyboard%20input%2Findex.html...

    Legacy GM problem changing sprite

    hey yall, imhaving a problem with a sprite change and collsion detection my code is down below and was wondering if anyone could help. basiclly the problem is when a drop of oil falls from the ceiling and lands in my players bucket, it should set the my score which is global.throwbucket to += 1...
  4. Nabil Kabour

    Place Meeting and Mask Index

    I'm using place_meeting to do collisions for a side scrolling platformer. When I set the mask_index of one of the platforms to -1, the collision is still registered. What is going on?
  5. Y

    GamePad not Working

    Hello, I have a PS1 and PS2 devices with USB adaptor. I play all games and emulators with them but I'm not able to use PS1 controller on GameMaker. PS2: It works perfectly in GameMaker using Joystick functions. PS1: Not Working - It works perfect on Windows 10 Control Panel. - It works with...
  6. Y

    Legacy GM Text not showing up

    So I'm currently setting up a system that should let players use a controller in my game. however some text isn't showing up I'm using this code inside a mouse left pressed event: if(!searching && global.gamepad = -1){ searching = 1 } else if(!searching && !global.gamepad = -1){...
  7. B

    Collision Detection

    How do I detect if an object is touching another object?
  8. N

    GMS 2 Bullet collision issue!

    Hi guys, i'm making a sort of roguelike game and i'm struggling with an annoying issue about bullet collisions. My game has a resolution of 1280x720 and view is set with 640x360. My sprites are 32x32, 16x16 or 64x64. I have a player that can shoots bullets with this code: I have also two solid...
  9. R

    GML [SOLVED] Help Detecting solids

    Im doing a sideview platformer, trying to get the character to walk up a slope, but the issue im having with the place_free command, if im testing for collisions on the right side of the play, place_free(x+1,y) checks the entire players right side, from top to bottom, so i decided to use the...
  10. Coded Games

    GML Hit detection not working.

    So after taking a few month break from using GameMaker to using Java instead I'm having trouble figuring why objDamagable's hp is not being decreased. objDamagable DOES have hp defined in it's create event but for some reason, it's not going down. //Trance Max Distance while (distance <...
  11. Y

    doesn't detect place_meeting

    so i'm using this script to check for the Obj_Stone. if (keyboard_check_pressed(vk_up) && Jumping == false){ physics_apply_impulse(x, y, 0, -500) Jumping = true show_debug_message("true") } if (place_meeting(x,y+1, Obj_Stone) && !place_meeting(x+1,y, Obj_Stone)){ Jumping =...
  12. X

    Legacy GM [SOLVED] Line of sight bug

    I have this really weird bug where my collision lines only sometimes detect properly. If the player is visible to the enemy, the shooting animation should be playing. I made a short video showing the bug: I can't figure out why jumping...
  13. J

    Legacy GM [SOLVED] Simple problem with RTS game.

    I'm creating a RTS Sci-fi game and I've run into a little problem. I've been working on the enemy AI and I need a variable that is set to 1(true) when the enemies enemy(the player) has a fighter ship in the range of one of the enemy ships, and its set to 0(false) when there are no...
  14. S

    Help with drawing detection

    I was trying to do something like the Halloween 2016 doodle of google but i dont get how to do the drawing detection. There you have the example Thanks in advance:).
  15. S

    Enemy Detection

    I'm trying to figure out enemy detection mechanics but can't get it quite right. I have it where if the player is within a certain distance and there is no wall or obstructions, then the enemy will follow if (distance_to_object(oPlayer) <= 256) { if...
  16. D

    GML [SOLVED] Collision detection not working

    Hi! I have a problem with collision checking. I have a grid based game on which every grid cell can contain only one object. I have a player and enemies. Enemies by now are not moving and the player can move only one cell at once, either horizontally or vertically. My problem here is with...
  17. S

    Windows Make an object create an object and follow it

    I am trying to implement a vision mechanic in my game (not using distance_to_object) by using an object with the sprite of a vision cone. This is the current code for creating the cones at the start of the game. //Check if we have vision HaveVision = instance_place(x,y,oVision) if...
  18. XirmiX

    Legacy GM Ricochet Paths

    So, I've certainly seen this in certain games and you might have as well; ricochet paths. This is basically a path that a shot projectile can travel, but which is calculated by the game itself, based on the code provided (at least that's what I'm guessing it is) and the projectile obviously can...