help a noob

  1. H

    Screen suddenly shrinks when game restarts or room switches?

    My game is supposed to be in a 16:9 aspect ratio and 1920 by 1080 screen, but everytime I use the game_restart() function or switch to another room, my screen suddenly shrinks to the top left corner of my screen. Why is this and how can I fix this? Btw, I'm using pixelated pope's method for the...
  2. H

    How do I create a simple random room generator?

    Currently in a 48 hour game jam, so I'm a bit in a rush to create a quick and simple room generator. I just need a 1920 by 1080 room generated, then random patches of collidable objects are littered over the room. I need there to be much more space then there is walls because the it's a bullet...
  3. I

    I want to create a Turn Based RPG game in Gamemaker 2

    Hello! I'm kind of new on this programming stuff. I started with GameMaker Studio 1, I did learn a lot of stuff but I got stuck because of my lack of knowledge in GML, so I gave up there. Some time later, I got kinda hyped up with GameMaker Studio 2 and this time, I had learnt much more than...
  4. R

    camera help

    hello, I have an interesting idea when it comes to the camera following the player, but I have no idea how to implement it. so, basically the player will be on one side of the screen such as this. and note the camera follows the player in this positions already. and what I would like to do is...
  5. A

    GML Can I use the same font with 2 different sizes in the draw gui?

    I searched on google and found no way to change the font size Help me pls, i'm noob xd
  6. A

    GML How do I stop my character for 1 second when it collides with an object?

    I wanted to stop my character for 1 second after it crashed into a wall. I've seen several videos of alarms but it's not working. Can someone help me? Sorry ... I'm new here and on Game Maker Studio 2 too xD
  7. S

    Bug that freezes my game

    I've recently changed the move code in my player. The animation code used to work fine, but now it's kinda... broken. I posted a video that shows exactly what's happening, as well as the code. To resume it, if the Player is between two walls, go to the left one, touch it and then look right, he...
  8. i_am_virgo

    GMS 2 the size of my sprite changes when i flip the image - can anyone help out?

    context: so i'm currently working on a princess peach themed game as a birthday gift for my sister, and i am quite new to programming. i've been following the general Shaun Spalding platformer tutorial to get a feel for GML, and i've run into a problem when trying to flip the sprite when the...
  9. H

    How to make a pathfinding AI?

    I'm making a top down crawler that needs enemies which can travel in certain paths towards the player. Previously on my own, I tried to make one by myself by simply telling the enemy to increase the speed to the player but it kept getting stuck in walls. So I searched online and found...
  10. TreysterGames

    GMS 2 PowerPoint Resolution Scenario

    So, when I was working my project I realized that one of my rooms rendered into the project at a very low resolution level, despite the fact that outside of GMS2, it has higher quality. I was kinda confused by this, I wasn't sure if it was because my friend made it in PowerPoint or if it has to...
  11. H

    Player mask gets stuck inside wall

    So I'm making a top down dungeon crawler. So far, the player moves with WASD and aim with the mouse pointer, but because my mask is a rectangle and the image angle of the player is set to point_direction(x,y,mouse_x,mouse_y) everytime I point in a direction that isn't 0, 90, 180 or 270, and...
  12. F

    Windows Chasing player character

    Hello, I need a chase system. it doesn't have to be complex, just want something to chase my character, and when I touch him, the character dies. PLS HELP ME
  13. B

    Windows Debugging not showing anything

    Hi guys, Very new user to any sort of coding here (10days old o_O), I am having trouble using the debugging mode in the sense that graphs are showing zero output at all times when I have games running. Is that possible even possible for the most basic of games? My laptop certainly gets hot, so...
  14. H

    GMS 2 Game maker 2 to GameJolt api help

    I'm now to using the api in gamejolt. I've looked at the gamejolt api Manuel, I've downloaded the giveapps gamejolt api extension, and ive tried to use the api based off of instructions telling you what the api extensions functions do, but is still don't fully understand how to implement or...
  15. S

    Apply shader on specific layer or object?

    Hey i'd like to know how to apply shaders only on specific layers or objects. Thanks for the help! :D
  16. Y

    game_end() on IOS... help

    the function game_end() does not work on mobile devices. with which function do I achieve that when a button is pressed the game is also ended on ios
  17. Y

    Fill out the screen

    hello how can I fill out the complete screen of my iphone x mobile phone in gamemaker? If i use "Adjust to the screen" in the settings the game does not work. need help. thank you
  18. H

    How do I make a hurt indicator pop up on screen?

    I'm new to GMS2 and I'm making a platformer. There are spikes in the game, to tell the player they've been hit, I added a sound effect, but I also want the screen to shine red for a split second when the player touches the spike. I've tried using: if(place_meeting(x,y,oSpike)) or...
  19. mikke

    GMS 2 Can't get my player sprite to move horizontally

    So I'm SUPER new to GMS2, and all game programming really, so I'm probably making a rookie mistake. I'm following Shaun Spalding's complete platformer tutorial and have copied the code character for character to add movement to the player object, albeit with adjustments for the numbers in his...
  20. Y

    Buttons in GMS

    Hi. I have different buttons as text e.g. "> START" or "> OPTIONS" as a sprite. which is the best way if you press the button that the text gets a kind of click animation to make it optically better Thank you