• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

solved

  1. T

    GameMaker Runner.exe hard freezing on 'Hero' death

    Hello world. My game is the definition of humble beginnings, but seems to run into a brick wall right away. Mind you I started GM 2 weeks ago. Player is in a dungeon looking room, with a torch and sword, also a rat. When I get close to rat, rat gets pissed, rat bites a couple times and...
  2. P

    GML Having issues with jagged jumping

    When I copy down the basic 2D platformer, the jumping and gravity for my player object doesn't seem to work properly. The jump shoots the player up to a set height instantaneously before falling down slowly at a constant rate. In my code I copied down the function for accelerating gravity so...
  3. Bentley

    GML SOLVED: Organizing player states, avoid skipping a frame

    I've been trying to organize player states and this is what I have. It's all in the Step Event in this order: 1. Run state scripts 2. Move and collide 3. Check for state changes. So it would look something like this: Step Event // States switch (state) { case PSTATE.IDLE...
  4. Bentley

    Discussion SOLVED Cant login to my YoYo account. Is the update the reason?

    Edit: Solved. I'd really like to thank Kevin at the help desk for his help. Thanks to Claire and everyone else who posted below : ) I read that there's an update going on right now. Is that the reason I can't login and is this temporary? Thanks for reading.
  5. Bentley

    SOLVED: "ds_grid_get" to check if the next move is on the grid

    I'm moving the player on a ds_grid. I want to keep him inside the grid. I saw the function ds_grid_get and thought it could work: "If you pass invalid grid coordinates, then the value returned will be 0." I'd use what ds_grid_get returns to check if the player's planned move is on the board...
  6. Bentley

    SOLVED: Qix for Atari. How do you know when a section is "claimed"?

    I understand that Qix is an obscure game (it was for me anyway). So the odds are against my post being answered, but I'll try anyway. I've been thinking about this for a while. How do you know when the player has sealed off an area? I've thought about tracking when the player turns and creating...
  7. G

    Am I not using path_get_x correctly?

    I'm trying to change a variable once my object hits the halfway mark on a specific path. Right now my code looks like: if x = path_get_x(path_dashMove, 0.5) { dash = 2 } It won't change the dash variable to 2. What am I doing wrong?
  8. S

    Legacy GM [SOLVED] Top down rpg, how to efficiently check if a player is not on the ground.

    I've got another method using collisions with objects, state system and alarms. But the player slides across the object instead of falling off. Notice, this is not a platform game. What I need help with specifically, is detecting the players physical x and physical y variable. Checking if the...
  9. Bentley

    SOLVED draw_sprite_part: drawing from bottom to a rising top

    When the player is spawned, I want draw_sprite_part to draw the player 1 pixel at a time. I want it to start at his feet, and rise until his head is drawn. In other words, I want to draw a 1 pixel high rectangular area at his feet (the bottom of the sprite), and increase the size of that...
  10. Xor

    Shaders [Solved] MRTs in HLSL 11

    Hello! I'm trying to write a Multiple Render Target shader for our game, Xodusse, and I'm having trouble figuring out the HLSL 11 syntax. I am currently using HLSL 9, but I want to rewrite the shader for GameMaker Studio 2. I can't find any information on the syntax so I'm kind of just guessing...
  11. S

    Legacy GM [SOLVED] Saving a moving objects coordinate as a constant

    Hi, the problem im having at the currenr moment is. As you've read from the title, saving a moving objects x and y coordinate in that moment as a constant. I plan to save this coordinate as the enemy objects next location, as it dashes toward that point. E.g. Step 1: find player if player...
  12. C

    Windows [SOLVED] My new computer will compile game, but particles do not display.

    Hi guys. I bought a new computer and created a new user on it, but I am experiencing a very annoying, mystifying, and aggravating issue. When I compile my game using my new computer (simply run it from the IDE, or export using VM or YYC) my particle effects do not display. The standard...
  13. Bentley

    SOLVED: Getting children to inherit this line from parent's draw

    Hello, I have a parent object with two children. I want the children to inherit this line from the parent's draw event: draw_sprite_ext(sprite_index, image_index, x, y, xscale * facing, yscale, image_angle, c_white, image_blend); // Children become invisible When they inherit the above, the...
  14. L

    GameMaker SOLVED : Sprites animations and bullets

    Hi guys, I facing an issue since yesterday and I can't figure out how to solve it ... I hope someone will be able to help me :) I would like to say that I'm a a beginner with Game maker. This is my problem : My player have multiple states set by enum in its create event. One of my state is...
  15. Bentley

    SOLVED: instance_activate/reactivate for movement. Reactivation not working

    The game I'm attempting to make is weird, so I apologize if my explanation is bad: There are two things about the player's ship: 1. The ship is made out of a bunch one pixel-sized instances. 2. A main ship is invisible and acts as a controller for all the ship pieces. obj_bullet: collision...
  16. Bentley

    SOLVED: Space Invaders: slide aliens and how GM handles the order of their step events

    Edit: I doubt anyone cares, but this is what I did: I combined what Obscene and Icuurd said: I handle all aliens in a control object. I use obj_control's End Step to ensure that every alien moved (as their movement occurs in their Step). The important part was to use a break in the with...
  17. Bentley

    SOLVED: Keypress and Subpixel Movement

    I'm working on my first-ish platformer. I've got it set up where variables for speed are calculated in the Step, and then the End Step moves and collides. I've noticed a problem: if the player presses the right or left key, the character doesn't move. Step if (keyboard_check(vk_right)) {...
  18. K

    2 speed animation..

    I just recently bought sprite sheets for a project I've been working on for awhile and the pack came with animations that need two separate speeds and I have no idea how to go about doing so. There is 4 frames and I need the speeds of each frame to be different. Sorta like 1 = 80ms 2=640ms...
  19. S

    Android [SOLVED] Button not working

    So I created a very simple game that is a Space Shooter, and there are 3 buttons: left, right and fire. All the 3 have codes for "Left Pressed" The problem is I don't know how I can press Left (or Right) and Fire at the same time. It will only recognize the first input, so, if I press Left, then...
  20. Bentley

    SOLVED sprite_delete. Is it needed here. If so, where w/o causing problems

    I'm working on a Space Invader's-like shield where an enemy bullet creates a hole and the shield's bbox changes to match. At the moment, I draw a circle on the shield where the hit occurred. I create a temporary surface and use sprite_create_from_surface to copy the area where the shield is. I...
Top