help appreciated

  1. L

    How to prevent an object from rotating after changing rooms?

    Hello! I have an issue with my project, i have an object that moves using physics, i made an event in "create" with the code "phy_fixed_rotation = true;" to avoid the object to rotate, but when the object warp into a different room the rotation is back. What should i do?
  2. R

    Windows Megaman X Game code help

    I'm trying to make a Megaman X Fan game, but i have no idea about how the code works. Can anybody help me figure out the secret, so i can make my game?
  3. Q

    Odd aiming

    Hello, GameMaker Community. I've come across an issue in my attempts to create something. I've been following a series of videos describing how to make a platformer game, (Here's the link to the video of interest for this post: ) Anyways, a large error is occurring with my code. Oddly enough, it...
  4. B

    GML Problems loading from ini file

    I'm not entirely sure why it doesn't work. So I've got a script that is supposed to load an ini file and then transfer some variables over to an object I have but it never seems to open the file. I want to use a variable name (since its a script for multiple different events) but that seems to...
  5. 7

    GameMaker Enemy movement?

    We've already gotten some help but we can't figure out what is messing up our enemy movement. If someone would be willing to try and re-create our problem that would be so helpful Enemy Step event: //Movement from another forum user if (instance_exists(player_obj)) { var dis =...
  6. S

    GameMaker How do I make my Object face the opposite way of my player

    Hey noob programmer here self teaching and I cant figure out how do you make an object face the opposite way of my player I don't know if I need to post any code here or not so if I do please say so! Thank you : ^)!
  7. S

    GameMaker My script is not persistant

    So my script is attached to my player object and it changes sprite animations. for example my player runs unarmed and picks up a gun that gun has different animations with it and of course the player can not fire. But when I leave the room the animation is back to unarmed animations. Any advice...
  8. S

    GameMaker 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...
  9. S

    GameMaker 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...
  10. S

    GameMaker 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 =...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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.
  16. 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
  17. C

    GameMaker 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?
  18. T

    GameMaker 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...
  19. T

    GameMaker 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...
Top