help appreciated

  1. S

    GMS 2 I have problems with animation and keeping my item persistent

    Ok so I have two problems and decided to post it to one thread My first and most important problem is I have my player pick up a gun by colliding with it that works perfectly fine BUT when i leave that room and go to the next the gun is no longer with my player I already tried making the object...
  2. S

    GMS 2 2 problems D:

    Ok so I have two problems and decided to post it to one thread My first and most important problem is I have my player pick up a gun by colliding with it that works perfectly fine BUT when i leave that room and go to the next the gun is no longer with my player I dont know what code to put with...
  3. S

    GMS 2 Help with my switch statement plz

    So this is my first time coding anything and I think its going really well... but i do have a problem. Switch statements- I made one successful switch but now im really stuck with the statement im using right now here it is create //weapons enum WEAPONS_MODE { HANDS, PLASMA } weapons =...
  4. S

    Every time my eneimes die they spawn elsewhere from where they died plz help:D

    Here is my code and stuff if ( hp <= 0) { instance_create_layer(x,y,layer,OEdead); instance_destroy(); } every time an enemy dies there death animation is spawned somewhere else plz help (p.s newbie starting programmer anyone with experience that would like to help me out would be...
  5. Tiago Carvalho

    Debugger Call Count Increasing with time

    Hello all. Since I am new to game development, and to this forum, let me thank all in advance for help/feeback. My snake like game gets slower over time. I consulted the debugger and found to be a step event on an parent object, not used itself in game. Shouldn't the call count average be...
  6. B

    Putting variable in a variable?

    Hello, I'm new and just looking for some help. I'm wondering if its possible to put a variable in a variable? Example: skin_stand_down = spr_stand_down[global.skin]; I'm trying to get skin_stand_down to be read as spr_stand_down0 etc. If this isnt possible is their any other solution for...
  7. D

    Question - Code FAILED:Run Program Complete

    :eek: C:\WINDOWS\system32\cmd.exe exited with non-zero status (1) elapsed time 00:00:08.1467032s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.218/bin/Igor.exe" -options="C:\Users\********\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run started at...
  8. C

    Objects that hold value dont stay the same when I switch rooms

    Objects that hold value dont stay the same when I switch rooms. So when I move between two rooms, objects like ammo and health dont stay the same when I switch between two rooms. I have already tried persistent for the object but it only keeps the score value the same and resets the other. Pls help.
  9. C

    All the enemies die when I kill one in the room. Pls help

    When I kill one of the enemies, all the enemies in the room die. How do I make the one I'm shooting die and not the others? Pls Help
  10. C

    GMS 2 Making Varied Hitboxes from one Hitbox object

    I am trying to program a system where I can create one instance of a hitbox object and vary its image_xscale and image_yscale to make varied hitboxes. However, I am having trouble approaching the programming side of this problem. How would I approach programming a system like this?
  11. T

    GMS 2 An Unlockable Door in Game Maker

    I have looked on youtube: and other sources for the Mechanism. But I couldn't really find an updated version of it for Game Maker Studio 2. I could only find really old ones about the topic. That is why I am asking you guys for help and I really appreciate it that you guys help me out...
  12. T

    GMS 2 Day/Night Cycle fails

    I want to make a simple day and night cycle in my game but the code fails when I run it. I don't know what is wrong with my code and I am looking for help to fix it. Feel free to ask for more information if necessary. I appreciate the help from you guys and I thank you for helping me. It gives...
  13. M

    GML Rotating one object around another?

    So, I've been at this for a few hours and i can't seem to get it working. In the game i'm making, i want the sword to rotate around to the front of the player when they attack and then return to behind the player after the attack is done.
  14. F

    GMS 2 I need help with sprite animation.

    I have a vary complex running sprite, on the sprite editor the animation is set to loop, but in the game its set to ping-pong. and don't know to how to change it to loop, please help me. ps. I'm using DND, and I'm new.
  15. T

    GMS 2 Camera Problem after Room Transition

    I have a problem with the camera when the Player goes to another room. The player looks really weird and stretched. The player has to look the same regardless of the room size. For example if I walk into a house. The room will probably be smaller than a room for a forest. Normally the game...
  16. R

    GMS 2 [Solved] How can i set a variable collison mask by code?

    Hey I could really appreciate some help with that problem and please excuse all style problems it's my first post. Gamemaker Version: 2.1.4.288 How it should work: I have 2 points that I can move through a grid and when I press a key an object is created at the top left position of an...
  17. T

    GMS 2 Environment Transparency

    I have made a map with multiple layers. The red color is the collision object. You can't move inside of it. I want to make the tile of the second and third layer of the house transparent. So you will be able to see the character. I can do it with an object. For example a tree. When the...
  18. T

    Camera Control Problem

    I have problems with getting my Camera Control working. I think my movement control code interferes with my Camera Control. :) My movement uses W, S, D and A to move around and shift to walk faster. if(keyboard_check(ord("D")) && place_free(x + collisionSpeed, y)) { x +=walkSpeed...
  19. D

     GM2 Not Opening Despite Multiple Uninstall/Reinstalls

    First time posting for help so hello GameMaker troubleshooters! I hope this ends up in the right place. The problem: GM2 does not open... at all... even when I'm looking at task manager. Last known time it did work: I was able to open it last week. I was of going through one of Heartbeast's...
Top