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

need help

  1. A

    Need help with getting sprites intop my battle screen

    Following a tutorial on turn based battle by shaun spalding, and i am stumped on why i keep getting the error as my code is the same as his except for the sprites and its giving this error _________________________________________...
  2. GyphonGoofyGamer

    can get the 'Get Alarm Countdown' to work.

    First, I sorry if I make any mistakes typing. I was injured while working on a power pole for a communications company. Now on disability with brain damage. I been having a lot of problems using the 'Get Alarm Countdown' in GM Visual. It doesn't seem to work. Its very possible i am using it...
  3. T

    GML Push :: Execution Error

    Hi! I am currently using a tutorial video for day-and-night shaders; and I am currently going through some problems at the moment... I copied this from the video by the way, I am only making the change that it would go by a slider in the video to it being affected by an alarm thingy. (There are...
  4. I

    Help needed for room change

    Im trying to check what room i am in and change the room when i press left click accordingly so simply a room changes to the next room when i press left click but when i get to the last room i dont want that code to be active here is my code: if (room == RomCutscene1){ if...
  5. I

    Need help makin projectiles

    Im trying to make a characther that throws shurikens towards the cursor when i press left click, but when i press left click shurikens appear on the top left of the window. Here is my code for the player: if keyboard_check(ord("A")) { x = x - 3; } if keyboard_check(ord("D")) { x = x +...
  6. M

    How do you switch between 2 weapons? (Somewhat Novice coder)

    I recently got into GameMaker and I'm trying to make a top-down game. I have two different guns that both work but I don't really know how to switch between them. Here is the code for both Guns var assult_rifle { if (mouse_check_button(mb_left)) && (cooldown < 1) {...
  7. jackapap

    What is the best way to code an enemy spawning AI?

    Hi all, I have been working on a roguelike platformer and I have started working on an "AI" to spawn enemies at random on the level, based on a point system the AI has to spend. but the issue I'm faced with is how to get the ball rolling for this AI, I'm not 100% sure on where to exactly start...
  8. jackapap

    How do I store item's the player has picked up?

    Hi all, I have been working on a platformer roguelike game and I need help figuring out how to display items the player has picked up. An example is, the player unlocks a chest and an item drops out, the player picks up that item when the collision mask meet, then (I want the item to be...
  9. Marquitos3000

    Windows COLLISION PROBLEM

    Hi, I´m making a plataformer game and I have this script for the player step event: var hor = keyboard_check(vk_right) - keyboard_check(vk_left); if (hor != 0) { if place_free (x + hor*2.5, y ){ x += hor * 4 } image_xscale = hor } if (keyboard_check_pressed(vk_up) &&...
  10. E

    [SOLVED] C++ pthread (an attempt to do a multithreading function)

    Hello, i don't know what is happening right now... because i'm doing a dll function that should be doing a task in another thread. My actual attempt is to make it work after compile, because yes, it compiles... but it throws me an error "LoadLibraryA failed with error code 126" and this only...
  11. N

    Windows GMS2 thinks there's a problem with the code but there isn't.

    So I followed a tutorial on how to make a parallax system in my game (GML), and it was going well until I tried to run my game and it wouldn't. Here's the error: Object: parallaxControl Event: Step at line 9 : got '[?' expected ')' Here's the code: var _cx =...
  12. O

    GML Highscore Table

    Hi! I'm an absolute noob at GML, so please make your answers simple or well explained. I finished the Space Rocks tutorial, and am trying to add on to the game with my own twists, such as multiplayer and a highscore table. Does anyone know how to make a highscore table, that will save after...
  13. I

    how to make a Agar By GMS2

    well, I try a lot of methods But the effect is poor。。。 The biggest problem is the impact of multiple balls I use the motion_add() , but there's going to be a crazy bounce between the balls Even though I've adjusted the details In the official game, the ball to ball is handled smoothly...
  14. R

    Windows Need help

    I would like to know how to make an object be destroyed after a time like 5 seconds
  15. G

    How to go to More Than one Room From one Room

    I'm having issues getting into more than one room starting in one room. i have 4 doors i need to all go into different rooms how would I do this? Thanks for any answers.
  16. T

    I'm making a platformer, and I'd like the player to be able to attack

    Okay, so I've never programmed before, and I've been trying to make a very simple and short game so I can learn, and see if I should keep learning. It's a platformer, and so far I've been able to allow the player to move. I've been following Shaun Splading's Complete Platformer tutorial, so I...
  17. F

    Windows After the dialogue with the character, the NPC needs to move

    After the dialogue with the character, the NPC needs to move in a given direction to another room. I don’t understand how to implement it. Help
  18. T

    Game Maker isn't working properly...

    I bought Game Maker for $39, but most of the options (aka the options that I need to do everything) are gray and can't be selected: Anyone know how to fix this? Am I still using the free version?
  19. F

    How can I make a physics-based drawing game?

    In my physics-based-game you should be able to draw a line or any figure you want (per touchscreen or mouse) to block falling boxes. It`s also very important that some sections of the drawn line can be deleted by special projectiles. But i can`t get it to work :( - I have tried to use...
  20. L

    Error When trying to remove remove an item from a grid

    The Error Code is ___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Draw Event for object obj_smelteryGUI: draw_sprite argument 1 incorrect type (undefined) expecting a...
Top