• 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!

progamming

  1. K

    \n works buggy

    I was working on dialogue system and I wanted to make a system, where every time symbol "*" appears, string goes to the next line. I asked this question before on forum and they adviced me to use \n. I tried it and it works kinda buggy: I guess that's beacuse I used this diallogue system...
  2. M

    why does onwall = place_meeting(x+1,y,oBlock) - place_meeting(x+1,y,oBlock); not work

    I am trying to do a wall jump and this should check to see if on or next to wall. it doesn't work after doing all the rest of the code for the wall jump
  3. L

    GML Visual How can I make the camera shake?

    Hello, I would like to know if there is a way to vibrate the camera with GML Visual or with code
  4. L

    GML Visual animation that plays in a loop

    hello everyone I am trying to make an object play one animation or another according to the variable I give it, but it plays in a loop and I would like it to stop playing when the animation is finished. That's what I've done. any advice?
  5. F

    How to make the fog effect in GameMaker?

    hi guys, how can I make this fog effect in gamemaker, I want to make a level in a mountain full of snow and I need the fog effect to be more "realistic".
  6. A

    GML doesn't create a path

    help me find the error does not create a path I think there may be an error when I call the function for finding neighbors. maybe I originally sent the wrong data to find the path var _room_width_cells = room_width div 32; var _room_height_cells = room_height div 32; var _map =...
  7. A

    GML Dijkstra's algorithm for path finding

    Please help me implement Dijkstra's algorithm for finding paths in gml. I need to implement my own algorithm and not use a ready-made function mp_grid_path
  8. A

    GML mp_grid_path function without using it

    I need to create a function like mp_grid_path to also find the path but I don’t know how, if anyone knows if they could share the code or ideas on how this can be implemented
  9. P

    GML Guards resuming patrol after investigating

    Hi, I am trying to create Metal Gear Solid style stealth mechanics. Currently I have guards who follow a patrol through a list of steps telling them what x and y position to go to next. When they hear a noise, or catch a glimpse of the player, they break this patrol to investigate (using...
  10. B

    How to stop sprite from looping with animation?

    And when killing an enemy in my game, the player also dies and is transformed into another sprite that should play the animation only once and freeze on the last frame. However, the animation keeps looping and doesn't stop. I've tried several ways and nothing works. This is how it is now...
  11. orbitoborat

    SOLVED How to change sprite for 8 directions

    Wanting to make a game with sprites that have 8 directions (like earthbound or mother 3), i already can move in 8 directions but i need to code the sprite to change (or code so i even move at all) I followed the Action RPG guide from Shaun Spalding (go watch hes really good) but I can't work out...
  12. T

    Why am i struggling with this?

    I keep trying to find a way to make one of those fire bars in Mario, i keep trying but it doesn't seem to work. //create spin_angle = 0; fireballs = 8; //step spin_angle += 0; direction += 1.5; depth = 1; var coll_X = lengthdir_x( 16 * fireballs, image_angle); var coll_Y = lengthdir_y( 16...
  13. Cheap Shampoo

    Stacking objects in top down 2.5D z axis

    I am dipping into jumping and and the z axis with my game. I also want to be able to build in my game. I'm not sure if it is even possible to do it with GameMaker. I want to be able to stack objects on top of objects to make walls for houses and stuff. I guess it would be similar to Dragon Quest...
  14. AlanTalan

    Opera GX a one idea that needs help

    :duck:hello everyone and thanks for reading this, the idea that I have that for example in a game I can change the "theme" of colors of your Gx opera (this would only apply if you are playing in Gx.games) how could I implement it in my game ?
  15. T

    I can't get my character to fall slowly.

    I am trying to make my player fall slowly, but i can't get it to work properly. The code: if (PropellerPU) and !place_meeting(x, y + 128, GrassObj) { vsp = 0.001; }
  16. Overlord90098

    SOLVED Moving platform has player sprite sink from top or sides

    The player spite can hit the bottom of the moving platform sprite but if it touches the top or sides starts sinking, when the player sprite has sunk through the moving platform the game freezes ( has to be force closed by the task manager). /// create code //Platform code hsp = 0; moving_speed...
  17. joshua:)

    SOLVED help with image_speed

    so in my game if you press space you the background moves faster here is my code for that right now but it doesnt work key_jump = keyboard_check(vk_space); if key_jump = true { image_speed=5; } else { image_speed=2; } i just dont know how to fix it :)
  18. Eliander Gomes

    How do I can move a NPC from a room to another?

    So, I'm making a game where all the NPCs in there are organic and have they own routines. Every NPC will be unique. There will not be any NPC without a name. So no matter what the player's do or where he goes, the NPC will still doing they own things. Therefore even if the player decide to...
  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...
Top