question

  1. P

    Legacy GM [Solved] Does an IF loop run in the create event?

    I tried including an IF loop in my create event for an object, but I think GameMaker just skips the loop ? Edit: GameMaker DOES run an if block in the create event.
  2. Phoebe Klim

     Question about terminology

    Hi, fellow devs! Last week I've been working on item sets for my game (item sets like from Diablo/Torchlight) and I came up with two sets: Ultranid's Damnation and Ultranid's Salvation. Damnation gives player benefits, but player constantly loses a lot of health. Salvation makes it that player...
  3. A

    Problem with finding the replacement for tile_add

    Hi. Firstly i must say that i am just a begginer in GM, so perhaps i overlooked smth or what more likely, smth didn't understand, so I apologize in advance for my stupidity). Ok, I import my project, which is random level generator from heartbeast), from 1.4. GMs2 as usual create compatibility...
  4. D

    GameMaker [Help] Relatively new to GMS, need some help with a few systems.

    Howdy, I've recently decided to pursue an idea I've had for a while with game development. Things to know: I have completed a "Tutorial" game following the official top-down shooter tutorial provided by YoYoGame's YouTube channel. I also have Spine (Essential) and will be using it for most if...
  5. B

    GameMaker [SOLVED] Help with enemy AI in a platformer

    Hi all, Currently using GMS2 to create a 2d platformer. I have found a way for the enemies to follow the player based on the players direction compared to the enemy using: var dir if (obj_player.x = x) dir = 0 if (obj_player.x < x) dir = -1 if (obj_player.x > x) dir = 1 if...
  6. S

    GameMaker My game mechanics not working, need help please

    What I am trying to do is have my sprite face where my mouse is. Because it is pixel art, I did this by having the sprite turn when mouse_x or y was greater/lesser than x/y. Also when you did turn around, you would be walking backwards, so movement speed would go down. This is what it looks...
  7. P

    [Solved] Game does not run when syntax is incorrect?

    I'm curious as to why the game does not run when I add this code? I'm fairly certain that it's because of this part: if (xp > (i*10)) {i+=1} for (i=1; i<5; if (xp > (i*10)) {i+=1}) { if (xp > (i*10)) { lv = i; maxxp = (i*10); xp = 0; } }; If the syntax is...
  8. R

    How does || work

    I am wondering how the or statement computes if a > b || c will this check if a is bigger than b or c or will this do something different?
  9. M

    Windows Clarity on layers & depth?

    I'm trying to wrap my head around the difference between layers and depth. It appears to me that layers are manageable while depth is not, being automatically determined by the engine, or something? I've read the manual but I'm still confused. I know what a layer is, like Photoshop layers mind...
  10. F

    GameMaker Stopping only if feet are touching the ground.

    Am still very new to Game Maker Studios, and have minimal experience with programming altogther, but thought i would give it a try. I'm Currently trying to make a game similar to Mario (something i know that can show me a lot of the basics), but have come across a problem with my collisions on...
  11. BlueHarrier

    Windows [SOLVED] Problem with in-game FPSs

    For some reason, my game slows down the FPS counter to 45-50 and stay there for some minutes. Then it comes back to 60, but it takes 5 minutes of more. I tryed setting the FPSs to 120 and then it stopped in 60-65. Do you have any idea about what could be happening?
  12. M

    Legacy GM For Loops and Break: a Question

    Hello, all. I've been learning how to use Gamemaker Studio 1.4 lately, and I've run into a problem I haven't been able to find the answer to by google-ing it or watching tutorials. I've been working with for loops using the basic for loop format: for (i=-45; i<=45; i+=1) { if...
  13. T

    GML Question about Enumerators

    I'm trying to use enumerators to make my arrays more readable. However I'm running into an issue of sorts; (the fix for which seems like a bunch of manual editing of enum fields, gross lol) the question is whether different enumerators of the same "slot" are different from each other. So for...
  14. Shawn Basnett

    Forum Game Question Everything

    This game is rather simple! The first person will ask a question, then the next person will answer with another question. This will continue until someone either can't come up with a question, or end up breaking a rule. RULES You cannot ask the same question that someone else has asked. The...
  15. xDGameStudios

    GML Something about memory leaks [SOLVED]

    I have a question I have to ask regarding memory leaks if I have a game and I create a list as (a global variable ) that I'll be needing during the whole game... must I destroy it in the end of the game. Or is it taken care as I close the game? I'm sorry if this is a dumb question... but I...
  16. Conbeef

    How do I go about changing collision mask to go under obstacles?

    Like the Topic say, how do you guys do it? Take for instance my player is 100 by 100 pixels in his normal mask and he needs to be 100 by 50 pixels to go under a block or obstacle; How do I change the collision without much errors like stucking etc.... If changing the collision might stuck it...
  17. G

    GML SOLVED question about global variables

    i am new to GML and am trying to learn i have tried looking at the manual and looking online for a answer idk if its because i'm just not understanding it or i am not finding the answer but i am curious if something like this would work and if not how would i get it to work key_enter =...
  18. X

    Legacy GM [SOLVED] View and Port Not Behaving Consistently

    Hey. I'm on Studio 1.4, and I'm building for Android. In my room, when I set the parameters for: View in Room x = 0, y = 0, w = 320, h = 180 Port on Screen x = 0, y = 0, w = 2560, h = 1440 It displays correctly in the correct aspect ratio, 16:9. I used "show_debug_message", and got the...
  19. S

    player crouching issues

    Hey everyone, I'm a relatively new programmer and learner in the game maker community. I am making a simple platformer game, and so far I've gottten the basics down, like walking to both sides, jumping and even double jumping. I also have animations set to these actions and it works like a...
  20. V

    Why is game maker considered to be "bad" tool?

    Yeah, it does have cheesy name and it's easier to use then c++ or javascript, but it's for making games, does it really matters which program is harder to use when all it really matters is the quality of the product. So why so many people think game maker is 💩💩💩💩ty? Hyperlight drifter, Deaths...
Top