• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!

solved

  1. Z

    Legacy GM [Solved] Game decided to break for no reason

    Hi, I've spent a few months on and off working on a game, and I decided to edit it today for the first time in a month. I haven't touched it since the last time I worked on it, and no one else has either. So something caused the car object to break. Everything else is fine, the player...
  2. W

    Collision line instance id's

    Using collision_line_list for first time for a laser beam, only need the closest instance id. This always returns -4, as the instance Id, whatever the mouse is over. Probably an elementary mistake, help welcome. var list = ds_list_create(); var num = collision_line_list(x, y, mouse_x...
  3. Rydon_Star

    GML Basic code to arc an object from point 1 to point 2

    Hey everyone I have been looking around for code to just have an object move in an arc between two points. I know there are a lot of forum post out there on this topic but a lot of them are using gravity, etc. which I don't really need. I just need to be able to have an object move from...
  4. P

    Windows Fullscreen startup issue on some PCs

    Hi, I have a game coming out in a week so I've been sending out builds for testing. Sometimes a person reports that the game is starting in some weird non-windowed, non-fullscreen mode and the only solution is to ALT-ENTER twice (which most people don't know how to do). It looks like this...
  5. Dorsal

    GML Calculating 9 points on a rotating grid

    I am having trouble wrapping my head around this problem. I have a square that is 120x120 that I have divided into a 3x3 grid. I don't have a problem getting the mid points of each of the nine squares and placing objects at those points. The issue is when I rotate the grid I can't seem to figure...
  6. M

    GMS 2 Tactics screen with waypoints for a manager game.

    I'm creating a manager game where a part of the game will focus around the creation of tactics using a waypoint system for the "players" you control. I've successfully experimented with making the "player" move from their starting position to a set of coordinates by letting them create their own...
  7. M

    GMS 2 mp_potential_step_object (with multiple objects)

    Hi all, Just a quick question hopefully. I have been working on my pathfinding system and so far everything seems to be mostly working. Sometimes my "units" are unable to find a path within the mp_grid I have setup and so I have them using mp_potential_step_object as I have no "Solid" objects...
  8. D

    GML A question about movement

    I was wondering about the different ways to do player movement in GML, many of the Game Maker tutorials from YoYo like breakthrough or space rocks have you use the key down event while on forums people say to use keyboard_check(ord()) instead so I'm curious if there are differences about the...
  9. Alloi

    GMS 2 [SOLVED] Physics_Test_Overlap

    I have a parent object named oBlock. Then I have 2 children objects, one named oPlayer1 and the other oPlayer2. I am trying to have it so collision is detected if the other jumps onto their head. My issue is that when using "physics_test_overlap(x,y,image_angle,oBlock)" a collision is always...
  10. P

    GMS 2 If Statements Breaking Eachother (SOLVED)

    I am attempting to work through the code of making the Breakout Game before I actually open the tutorial and I've begun to notice an odd behavior. If statements are interfering with each other, and I can't for the life of me understand why. I've gotten all the rebound directions to work except...
  11. Stranger

    [SOLVED]Referencing variables from deactivated instances

    Hello everyone. I'm having trouble pulling variables from deactivated objects. It could simply be a matter of order placement. I'm new to the community but have been working with GameMaker for a few years now. This is my very first post! I'm still rather unskilled with the coding. I'm making a...
  12. D

    GML Connecting Sprite to Moving Characters

    I am trying to connect a helmet on top of my player. This way I can change out the helmets for the player and not have to make a walking animation for each type of helmet. The problem I have is when the character moves the helmet slides to the side. I would just make it move both objects at the...
  13. M

    GMS 2 Can you make an "if and if" type of code (dnd)

    Might sound a bit confusing, but can you make something like this. If left not pressed, AND if right not pressed, AND if up not pres... e.t.c. In DnD please! Bit of a noob question. Whatever. (Edit: if you need more context don't be afraid to ask :D) (Edit 2: never mind figured it out)
  14. 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...
  15. 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) ))...
  16. 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...
  17. 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...
  18. 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 *...
  19. 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...
  20. 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...
Top