solved

  1. S

    GameMaker Runtime Feed problem

    First time ever using GameMaker. When trying to start up a error message appears saying "Unable to access the Runtime Feed and no local Runtime installed. Please check your internet connection and start GameMaker again.". I tried reinstalling it and installing on Steam but nothing worked. I am...
  2. austinmalcolm

    SOLVED Inventory System: Checking if object is the same as selected item in Array

    Hi! So I'm looking to build upon GameMaker's "Little Town" Adventure game tutorial. In the tutorial, you are able to pick up an object, move it around and then set it down wherever you'd like. What I'm looking to add to this is the ability to pick up multiple items at once and switch between...
  3. MSquirrel

    GML Problem when Programming Tiles

    So first, let me explain what I'm trying to accomplish. In my game, there is a gate that when the player interacts with it the gate animates and opens. And when the player interacts with it again the gate animates and closes. During this opening and closing, I want collision tiles (that I have)...
  4. mveed

    SOLVED Getting sprite name and position of all assets on asset layer? (looping through array of layer_get_all_elements)

    Hello! I am trying to get all the sprites I have placed on an asset layer, and retrieve their x and y coordinates. So far I am doing this: var grassAssets = layer_get_all_elements(layer_get_id("grass")); for (var i = 0; i < array_length(debrisLayer); i++){ // var...
  5. U

    SOLVED <unknown object> not set before reading it

    Hello, This is probably very simple, and I think I lost my mind or something... I haven't done anything in gamemaker for a few months, and I just picked back up a very simple project I had been working on. Anyway, I have a persistent game controller in my first room and from it I am trying to...
  6. OK_Boom

    SOLVED Help with surface shadows

    Hi Im a noob, I'm making a low-res point and click game. Im trying to create shadows using surfaces to fix the issue with opacity overlap. When I create the surface I get this slight delay/jitter when the shadow sprite follows the player_object, specifically when moving diagonally. Game...
  7. hans

    SOLVED Storing multiple variables into one position in a list

    I am making a card-based game where I want to store the position of the cards in the player's hand in relation to the GUI. I've tried saving structs with all of the relevant information in them to a list however I can't seem to populate the list with them and retrieve them later. Is there a...
  8. Overlord90098

    SOLVED Trying to make a projectile move

    I'm trying to make an arrow object move, in context it's supposed to be fired from a ground-mounted crossbow that the player fires by pressing the up key however once the object spawned it doesn't move despite having similar code to the enemy movement and moving platforms. Create event vsp =...
  9. J

    GameMaker having trouble with the bullets

    I'm having trouble getting a bullet to go in the direction I'm facing. right now it will only go right, Here's my code: firedir = 180;
  10. S

    SOLVED image_xscale does not scale when mouse is slightly next to object

    Hi! I am making a Nuclear throne inspired rogue-like, and I have it so the sprite's image_xscale reverses if the mouse is behind the player object(obj_nomad). The problem here happens when the mouse is next to the player on the right side(yes only the right) The image xscales prematurely. Here...
  11. Overlord90098

    SOLVED Need help with states for boss fight

    I'm new to game maker studio in general and I'm currently making a boss fight for a platformer using state machines however I'm running into some issues as I get this error. Error in action number 1 of Step Event0 for OBoss_Attack_1: Push :: Execution Error variable Get 100411.state(100009...
  12. O

    GML How to use test["elementName"] like in javascript?

    I would like if possible to call my values as a string as is possible in js. Is this possible with gml? Thanks for any help you can give me
  13. A

    error trying to run chatterbox

    I'm fairly certain this is a novice question but im trying to set up chatterbox and I cant get the script to load. For context chatterbox loads an included file of a language created for storytelling. here's what I'm trying to do This is the error I'm getting: Variable...
  14. P

    GML Object sprite duplicating whenever it moves behind the background after sizing player object down

    I created a character controller and it seemed to work like a charm! However, one of the room backgrounds was too small to be stretched, so I just sized the player down on the room editor. Then, on accidentally going outside the background(which I have made a fix for), the sprite seems to...
  15. P

    GML Unable to find any instance for object index '0' name 'obj_Textbox' when doing instance_create_layer function

    So basically, here is my code inside a collision event in the player: instance_create_layer(319,451, "textlayer",obj_Texbox,Room1.container.struct.textthing) dialogueon = true instance_destroy(other) What this code is supposed to do is on colliding with the wall, create a textbox object and...
  16. N

    Bullets do not behave independently

    if sprite_index == spr_hero_withGpistol { if mouse_check_button_pressed(mb_left) { instance_create_depth(obj_player.x+lengthdir_x(21, obj_player.direction + 90),obj_player.y + lengthdir_y(21, obj_player.direction + 90), obj_player.depth + 1, obj_bullet_pCal); with...
  17. TheCheeseMaster

    SOLVED Wrapping One's Head Around Changes to Scripts in 2.3 - And the Read Only Variable Related Issue

    Hello, I'm very far into a large project but discovered that I have to update to GMS 2.3 (something that I was holding off in case it messed up the project). I know I'm late to the party when it comes to changes included in 2.3 but I'm having a bit of trouble wrapping my head around some of the...
  18. EvyDevy

    SOLVED audio_recorder functions not working

    I was trying to make it so Gamemaker could change a sprite/instance when it detecting someone was speaking into their microphone but it isn't working properly. I downloaded an extension to detect microphone volume and have the code ready but the audio recorder syntax doesn't work...
  19. G

    SOLVED Moving instance based on position in prompt

    Hi, I'm trying to make a promt that contains buttons pressed by player. Prompt can contain 4 buttons and when player will try push another, first button gonna be destroyed and rest will switch position by one filed. this what im trying to make: here is what I've got so far: Prompt creation...
  20. GarbageHaus

    SOLVED Instances Not Respecting Each Other's Step Events

    I've been scratching my head at this one and I can't figure it out. It seems like all "Step" events for an Object that has multiple Instances are being evaluated with each other. I'm honestly kind of baffled since this code seems so rudimentary. Use-case: I have a "dialogue" system where...
Top