help a noob

  1. L

    GMS 2 Weird player sprite collision boxes glitch help

    hi im fairly new to GMS, and im currently following Shaun Spalding's tutorials on a complete platformer (currently on ep 3 but i got this issue back in ep 2). well, the player sprite is doing some pretty weird things, basically, the idle and running animation flickers back and forth every frame...
  2. DevilKap

    NPC sprite direction (need help)

    I have this test NPC, but it wont change its sprite direction. I think it has to do with the fact that I'm using an image_index based on direction: direction = point_direction(x,y,other.x,other.y); image_index = CARDINAL_DIR How would I format/structure this into a switch statement...
  3. L

    SOLVED crashing while trying to assign dead state

    While trying to assign the state 'ps.DEAD' the game crashes saying the event is not defined. Except when I created the health bar, it worked and displayed correctly. hp is defined within the variable definitions.
  4. N

    SOLVED help! why is it saying that error?

    hi, i have this error: ___________________________________________ ############################################################################################ ERROR in action number 1 of Draw Event for object Obj_pack: Trying to draw non-existing sprite. at gml_Object_Obj_pack_Draw_0 (line...
  5. André Luiz

    GMS 2 help!

    I want to make the character's life bar follow the camera, but I can't do that, so i need your help to send me some toturial or write some code that helps me. here's my camera code: { #region Movimentação da câmera halfViewwidth = camera_get_view_width(view_camera[0]) / 2; halfviewHeight =...
  6. L

    GMS 2.3+ Collision bugs help

    Hi again everyone. As the title suggests I've started coding collision for my game and could use some help. I'm using the place_free method for collision and one of the bugs I've encountered is that the player sometimes spawns inside the collison mask and so cant move anymore. For now I've...
  7. DevilKap

    SOLVED Key Logic for NPC interaction just crashes the game, don't know how to fix it.

    The program for the "Key Logic" related to NPC interaction is in my PlayerStateFree right now, whenever I actually "use" it, the game crashes. Program below: // Script assets have changed for v2.3.0 see // https://help.yoyogames.com/hc/en-us/articles/360005277377 for more information function...
  8. D

    idle_to_run run _to_idle Animation transition

    Hello everyone, I have 2 transition animations I prepared it to be more procedural when switching from idle to running state, but I'm not sure how to use it, I'll be glad if you help. Please Help me Example on Katana Zero attached:
  9. DevilKap

    SOLVED keyRun, hSpeed, and vSpeed are mysteryously "undefined" in PlayerStateFree

    The h and v speed are clearly defined in the player create event (seen below): and keyRun is also clearly defined in the player step event (seen below): However when I test my game, this happens: When I re-define keyRun in PlayerStateFree, this happens:
  10. S

    hi can someone help me with the collisions my character he can hold on the wall and after he gives the game stops working and i am a beginner why i ha

    se precisar dos meus codigos me fale por favor if you need my codes please tell me Translation added ~Tsuk
  11. L

    SOLVED Save feature problems and help

    As the thread title suggests I've tried programming a save feature into my game and need some help. I've tried using both the json method and ini_write_real + ini_write_string. The first issue is I have only a rudimentary understanding how these work and so have mostly copy-pasted the code with...
  12. R

    GMS 2 need help with collisions!

    So I'm totally new to Gamemaker, and I've been having issues with collisions. The code I'm currently using doesn't work because it causes the player to move slowly behind it (like friction) instead of actually colliding with the object. I don't want to use collision events because it makes the...
  13. ohdudehelpme

    SOLVED Help with url_open()

    Hello and sorry for my dumb question.... The thing is that i have a button, and when its clicked, opens a Facebook Page Link, and when I click the link, the browser adress looks like: %22http//www.facebook.com/Example Here´s the button code: if (mouse_check_button_pressed(mb_left)) {...
  14. DevilKap

    SOLVED The Game I'm making isn't successfully launching?

    When i press the "play" button on the UI, it compiles the game (at least I think it does) and then it just stops? Output Below:
  15. FlatulenzaFiamm

    How to load and unload resources in GameMaker 8.0

    Greetings people! I wanted to know if there is any way to avoid the default option of GameMaker in which all the game assets are always loaded at startup. This causes performance problems, usually leading to the classic "An error has occured" or sometimes even "Lack of memory". Sadly, I have...
  16. J

    GMS 2.3+ Is my graphics card good enough?

    I'm new to programming/coding, and am unsure whether my laptop's graphics card will handle any of the high-end graphics for GameMaker. My graphics card information is attached to this thread. I would appreciate it if I knew more about this, recommendations for better graphics cards, etc. I would...
  17. RGBCGAMES

    I need help with buffer_seek error

    I have been trying to fix this all day but I can't figure it out! Every time I hit enter on my create a server button on my game I get the following error ___________________________________________ ############################################################################################...
  18. F

    I need help, please.

    I'm making a flappy bird royale (¯\_(ツ)_/¯ ). I need that when i click the play button, it chooses between 2 numbers. If the number is 1, the game will start by day, if it is 2, it will be by night. I searched but found no good commands. I just need one that chooses between 2 numbers
  19. I

    GML How can i change the sprite angle of the enemy when he's falling (<3)

    So, i making a game plataform and my enemies can walk on objects and fall. However, I would like that while they were falling, change their angle (to be more realistic) and when it touches the ground again, stay with the same starting angle. This is the code i was using: //gravity system if...
  20. T

    Name not appearing on leaderboards?

    Hi, First time programmer, definite newbie, trying to make the most out of what little I learned at university :P I started making a game where you avoid things falling from the sky and, when you lose, you submit your score to the leaderboard. And yet, for some reason, my high-score table...
Top